layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x584
      RenderBlock {P} at (0,0) size 784x36
        RenderText {#text} at (0,0) size 784x36
          text run at (0,0) width 784: "This tests for a bug that caused the parent of an active frame to paint as though it were active when its window becomes key."
          text run at (0,18) width 776: "To run manually, make another window active and then make this window active. Only the subframe should appear active."
      RenderBlock (anonymous) at (0,52) size 784x177
        RenderTextControl {INPUT} at (2,2) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
        RenderBR {BR} at (152,16) size 0x0
        RenderPartObject {IFRAME} at (0,23) size 304x154 [border: (2px inset #000000)]
          layer at (0,0) size 300x150
            RenderView at (0,0) size 300x150
          layer at (0,0) size 300x150
            RenderBlock {HTML} at (0,0) size 300x150
              RenderBody {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
        RenderText {#text} at (0,0) size 0x0
        RenderText {#text} at (0,0) size 0x0
layer at (13,65) size 142x13
  RenderBlock {DIV} at (3,3) size 142x13
    RenderText {#text} at (1,0) size 18x13
      text run at (1,0) width 18: "foo"
selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 3 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
selection end:   position 3 of child 0 {#text} of child 0 {DIV} of child 3 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
