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 784x582
      RenderBlock {P} at (0,0) size 784x17
        RenderText {#text} at (0,0) size 324x17
          text run at (0,0) width 324: "Test :nth-child() when dynamically adding siblings."
      RenderBlock {P} at (0,33) size 784x17
        RenderInline {A} at (0,0) size 305x17 [color=#0000EE]
          RenderText {#text} at (0,0) size 305x17
            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=26362"
      RenderBlock {DIV} at (10,66) size 764x199 [border: (1px solid #000000)]
        RenderBlock {P} at (11,6) size 747x17 [color=#FF0000]
          RenderText {#text} at (0,0) size 60x17
            text run at (0,0) width 13: "P "
            text run at (13,0) width 47: "red text"
        RenderBlock {DIV} at (6,23) size 752x17
          RenderText {#text} at (0,0) size 29x17
            text run at (0,0) width 29: "DIV"
        RenderBlock {P} at (11,40) size 747x17
          RenderText {#text} at (0,0) size 9x17
            text run at (0,0) width 9: "P"
        RenderBlock {DIV} at (6,57) size 752x17 [color=#FF0000] [bgcolor=#9999FF]
          RenderText {#text} at (0,0) size 131x17
            text run at (0,0) width 33: "DIV "
            text run at (33,0) width 51: "red text "
            text run at (84,0) width 47: "blue bg"
        RenderBlock {P} at (11,74) size 747x17
          RenderText {#text} at (0,0) size 9x17
            text run at (0,0) width 9: "P"
        RenderBlock {DIV} at (6,91) size 752x17
          RenderText {#text} at (0,0) size 29x17
            text run at (0,0) width 29: "DIV"
        RenderBlock {P} at (11,108) size 747x17 [color=#FF0000]
          RenderText {#text} at (0,0) size 60x17
            text run at (0,0) width 13: "P "
            text run at (13,0) width 47: "red text"
        RenderBlock {DIV} at (6,125) size 752x17
          RenderText {#text} at (0,0) size 29x17
            text run at (0,0) width 29: "DIV"
        RenderBlock {P} at (11,142) size 747x17
          RenderText {#text} at (0,0) size 9x17
            text run at (0,0) width 9: "P"
        RenderBlock {DIV} at (6,159) size 752x17 [color=#FF0000]
          RenderText {#text} at (0,0) size 80x17
            text run at (0,0) width 33: "DIV "
            text run at (33,0) width 47: "red text"
        RenderBlock {P} at (11,176) size 747x17
          RenderText {#text} at (0,0) size 9x17
            text run at (0,0) width 9: "P"
      RenderBlock {DIV} at (10,275) size 764x216 [border: (1px solid #000000)]
        RenderText {#text} at (6,6) size 262x17
          text run at (6,6) width 262: "child 0: PASS: found color rgb(255, 0, 0)"
        RenderBR {BR} at (268,20) size 0x0
        RenderText {#text} at (6,23) size 246x17
          text run at (6,23) width 246: "child 1: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (252,37) size 0x0
        RenderText {#text} at (6,40) size 246x17
          text run at (6,40) width 246: "child 2: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (252,54) size 0x0
        RenderText {#text} at (6,57) size 262x17
          text run at (6,57) width 262: "child 3: PASS: found color rgb(255, 0, 0)"
        RenderBR {BR} at (268,71) size 0x0
        RenderText {#text} at (6,74) size 246x17
          text run at (6,74) width 246: "child 4: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (252,88) size 0x0
        RenderText {#text} at (6,91) size 246x17
          text run at (6,91) width 246: "child 5: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (252,105) size 0x0
        RenderText {#text} at (6,108) size 262x17
          text run at (6,108) width 262: "child 6: PASS: found color rgb(255, 0, 0)"
        RenderBR {BR} at (268,122) size 0x0
        RenderText {#text} at (6,125) size 246x17
          text run at (6,125) width 246: "child 7: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (252,139) size 0x0
        RenderText {#text} at (6,142) size 246x17
          text run at (6,142) width 246: "child 8: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (252,156) size 0x0
        RenderText {#text} at (6,159) size 262x17
          text run at (6,159) width 262: "child 9: PASS: found color rgb(255, 0, 0)"
        RenderBR {BR} at (268,173) size 0x0
        RenderText {#text} at (6,176) size 254x17
          text run at (6,176) width 254: "child 10: PASS: found color rgb(0, 0, 0)"
        RenderBR {BR} at (260,190) size 0x0
        RenderText {#text} at (6,193) size 283x17
          text run at (6,193) width 283: "div 1: PASS: found color rgb(153, 153, 255)"
        RenderBR {BR} at (289,207) size 0x0
