layer at (0,0) size 800x600
  RenderCanvas 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 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x18
        RenderText {TEXT} at (0,0) size 380x18
          text run at (0,0) width 380: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,34) size 784x60
        RenderText {TEXT} at (0,0) size 264x45
          text run at (0,0) width 264: "P:first-line {font-weight: bold;}"
          text run at (0,15) width 256: "P.two:first-line {color: green;}"
          text run at (0,30) width 256: "P:first-line.three {color: red;}"
      RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,125) size 784x36
        RenderText {TEXT} at (0,0) size 784x36
          text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
          text run at (339,0) width 445: "This test is included simply to establish a baseline for the following"
          text run at (0,18) width 571: "tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
      RenderBlock {P} at (0,177) size 784x36
        RenderText {TEXT} at (0,0) size 755x36
          text run at (0,0) width 556: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
          text run at (556,0) width 199: "If this is not the case, then the"
          text run at (0,18) width 565: "user agent may have failed to properly parse the selector, or it may simply not support the "
        RenderInline {TT} at (0,0) size 88x15
          RenderText {TEXT} at (565,20) size 88x15
            text run at (565,20) width 88: ":first-line"
        RenderText {TEXT} at (653,18) size 107x18
          text run at (653,18) width 107: " pseudo-element."
      RenderBlock {P} at (0,229) size 784x72
        RenderText {TEXT} at (0,0) size 766x72
          text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
          text run at (339,0) width 415: "If it is red, then the user agent has violated the specification in"
          text run at (0,18) width 431: "allowing pseudo-elements at a point other than the end of a selector. "
          text run at (431,18) width 335: "If neither is the case, then the user agent has correctly"
          text run at (0,36) width 750: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
          text run at (0,54) width 87: "failed the test."
      RenderTable {TABLE} at (0,317) size 784x212 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x210
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
              RenderInline {STRONG} at (0,0) size 163x18
                RenderText {TEXT} at (4,4) size 163x18
                  text run at (4,4) width 163: "TABLE Testing Section"
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
              RenderText {TEXT} at (4,4) size 4x18
                text run at (4,4) width 4: " "
            RenderTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x36
                RenderText {TEXT} at (0,0) size 718x36
                  text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
                  text run at (339,0) width 379: "This test is included simply to establish a baseline for the"
                  text run at (0,18) width 636: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
              RenderBlock {P} at (4,56) size 762x36
                RenderText {TEXT} at (0,0) size 755x36
                  text run at (0,0) width 556: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
                  text run at (556,0) width 199: "If this is not the case, then the"
                  text run at (0,18) width 565: "user agent may have failed to properly parse the selector, or it may simply not support the "
                RenderInline {TT} at (0,0) size 88x15
                  RenderText {TEXT} at (565,20) size 88x15
                    text run at (565,20) width 88: ":first-line"
                RenderText {TEXT} at (653,18) size 107x18
                  text run at (653,18) width 107: " pseudo-element."
              RenderBlock {P} at (4,108) size 762x72
                RenderText {TEXT} at (0,0) size 759x72
                  text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
                  text run at (339,0) width 415: "If it is red, then the user agent has violated the specification in"
                  text run at (0,18) width 431: "allowing pseudo-elements at a point other than the end of a selector. "
                  text run at (431,18) width 276: "If neither is the case, then the user agent has"
                  text run at (0,36) width 759: "correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered"
                  text run at (0,54) width 137: "to have failed the test."
