| layer at (0,0) size 785x2253 |
| RenderView at (0,0) size 785x600 |
| layer at (0,0) size 785x2253 |
| RenderBlock {HTML} at (0,0) size 785x2253 |
| RenderBody {BODY} at (8,16) size 769x2189 [bgcolor=#FFFFFF] |
| RenderBlock {P} at (0,0) size 769x17 |
| RenderText {#text} at (0,0) size 165x17 |
| text run at (0,0) width 165: "This page is part of the " |
| RenderInline {A} at (0,0) size 73x17 [color=#0000EE] |
| RenderText {#text} at (165,0) size 73x17 |
| text run at (165,0) width 73: "CSS3.info" |
| RenderText {#text} at (238,0) size 4x17 |
| text run at (238,0) width 4: " " |
| RenderInline {A} at (0,0) size 131x17 [color=#0000EE] |
| RenderText {#text} at (242,0) size 131x17 |
| text run at (242,0) width 131: "CSS selectors test" |
| RenderText {#text} at (373,0) size 133x17 |
| text run at (373,0) width 133: ". See more info on " |
| RenderInline {A} at (0,0) size 111x17 [color=#0000EE] |
| RenderText {#text} at (506,0) size 111x17 |
| text run at (506,0) width 111: "CSS3 selectors" |
| RenderText {#text} at (617,0) size 4x17 |
| text run at (617,0) width 4: "." |
| RenderBlock {DIV} at (0,33) size 769x0 [bgcolor=#009900] |
| RenderBlock {OL} at (0,33) size 769x2156 |
| RenderListItem {LI} at (40,0) size 616x241 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000] |
| RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900] |
| RenderBlock {PRE} at (16,53) size 584x106 [bgcolor=#FFFFFF] |
| RenderListMarker at (-37,6) size 17x18: "1" |
| RenderText {#text} at (7,9) size 144x91 |
| text run at (7,9) width 144: "div :first-child {" |
| text run at (151,9) width 0: " " |
| text run at (7,25) width 8: "}" |
| text run at (15,25) width 0: " " |
| text run at (7,40) width 0: " " |
| text run at (7,55) width 40: "<div>" |
| text run at (47,55) width 0: " " |
| text run at (7,70) width 112: " <div></div>" |
| text run at (119,70) width 0: " " |
| text run at (7,85) width 48: "</div>" |
| RenderBlock {P} at (16,175) size 584x34 |
| RenderText {#text} at (0,0) size 572x34 |
| text run at (0,0) width 572: "The CSS selector should match the inner div element, because it is the only child" |
| text run at (0,17) width 165: "of the outer div element" |
| RenderListItem {LI} at (40,289) size 616x256 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000] |
| RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900] |
| RenderBlock {BLOCKQUOTE} at (0,24) size 584x0 |
| RenderBlock {PRE} at (16,53) size 584x121 [bgcolor=#FFFFFF] |
| RenderListMarker at (-37,6) size 17x18: "2" |
| RenderText {#text} at (7,9) size 224x106 |
| text run at (7,9) width 144: "div :first-child {" |
| text run at (151,9) width 0: " " |
| text run at (7,25) width 8: "}" |
| text run at (15,25) width 0: " " |
| text run at (7,40) width 0: " " |
| text run at (7,55) width 48: "<div> " |
| text run at (55,55) width 0: " " |
| text run at (7,70) width 112: " <div></div>" |
| text run at (119,70) width 0: " " |
| text run at (7,85) width 224: " <blockquote></blockquote>" |
| text run at (231,85) width 0: " " |
| text run at (7,100) width 48: "</div>" |
| RenderBlock {P} at (16,190) size 584x34 |
| RenderText {#text} at (0,0) size 567x34 |
| text run at (0,0) width 567: "The CSS selector should match the inner div element, because it is the first child" |
| text run at (0,17) width 165: "of the outer div element" |
| RenderListItem {LI} at (40,593) size 616x273 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000] |
| RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900] |
| RenderBlock {PRE} at (16,53) size 584x121 [bgcolor=#FFFFFF] |
| RenderListMarker at (-37,6) size 17x18: "3" |
| RenderText {#text} at (7,9) size 208x106 |
| text run at (7,9) width 144: "div :first-child {" |
| text run at (151,9) width 0: " " |
| text run at (7,25) width 8: "}" |
| text run at (15,25) width 0: " " |
| text run at (7,40) width 0: " " |
| text run at (7,55) width 48: "<div> " |
| text run at (55,55) width 0: " " |
| text run at (7,70) width 208: " <!-- Just a comment -->" |
| text run at (215,70) width 0: " " |
| text run at (7,85) width 112: " <div></div>" |
| text run at (119,85) width 0: " " |
| text run at (7,100) width 48: "</div>" |
| RenderBlock {P} at (16,190) size 584x51 |
| RenderText {#text} at (0,0) size 567x51 |
| text run at (0,0) width 567: "The CSS selector should match the inner div element, because it is the first child" |
| text run at (0,17) width 169: "of the outer div element " |
| text run at (169,17) width 358: "Comments are not elements, so they should not be" |
| text run at (0,34) width 307: "considered when determining the first child." |
| RenderListItem {LI} at (40,914) size 616x287 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x41 [bgcolor=#990000] |
| RenderBlock (anonymous) at (0,0) size 584x17 |
| RenderListMarker at (-37,0) size 17x17: "4" |
| RenderText {#text} at (0,0) size 4x17 |
| text run at (0,0) width 4: "." |
| RenderBlock {DIV} at (0,17) size 584x24 [bgcolor=#009900] |
| RenderBlock {PRE} at (16,70) size 584x118 [bgcolor=#FFFFFF] |
| RenderText {#text} at (6,6) size 225x106 |
| text run at (6,6) width 145: "div :first-child {" |
| text run at (150,6) width 1: " " |
| text run at (6,21) width 9: "}" |
| text run at (14,21) width 1: " " |
| text run at (6,36) width 1: " " |
| text run at (6,51) width 49: "<div> " |
| text run at (54,51) width 1: " " |
| text run at (6,66) width 225: " How about regular text..." |
| text run at (230,66) width 1: " " |
| text run at (6,81) width 113: " <div></div>" |
| text run at (118,81) width 1: " " |
| text run at (6,96) width 49: "</div>" |
| RenderBlock {P} at (16,204) size 584x51 |
| RenderText {#text} at (0,0) size 567x51 |
| text run at (0,0) width 567: "The CSS selector should match the inner div element, because it is the first child" |
| text run at (0,17) width 173: "of the outer div element. " |
| text run at (173,17) width 348: "Regular text is not an element, so it should not be" |
| text run at (0,34) width 307: "considered when determining the first child." |
| RenderListItem {LI} at (40,1249) size 616x256 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#009900] |
| RenderBlock {BLOCKQUOTE} at (0,0) size 584x0 [bgcolor=#990000] |
| RenderBlock {DIV} at (0,0) size 584x24 |
| RenderBlock {PRE} at (16,53) size 584x121 [bgcolor=#FFFFFF] |
| RenderListMarker at (-37,6) size 17x18: "5" |
| RenderText {#text} at (7,9) size 224x106 |
| text run at (7,9) width 144: "div :first-child {" |
| text run at (151,9) width 0: " " |
| text run at (7,25) width 8: "}" |
| text run at (15,25) width 0: " " |
| text run at (7,40) width 0: " " |
| text run at (7,55) width 48: "<div> " |
| text run at (55,55) width 0: " " |
| text run at (7,70) width 224: " <blockquote></blockquote>" |
| text run at (231,70) width 0: " " |
| text run at (7,85) width 112: " <div></div>" |
| text run at (119,85) width 0: " " |
| text run at (7,100) width 48: "</div>" |
| RenderBlock {P} at (16,190) size 584x34 |
| RenderText {#text} at (0,0) size 582x34 |
| text run at (0,0) width 582: "The CSS selector should not match the inner div element, because it is the second" |
| text run at (0,17) width 203: "child of the outer div element" |
| RenderListItem {LI} at (40,1553) size 616x286 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000] |
| RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900] |
| RenderBlock {DIV} at (0,24) size 584x0 |
| RenderBlock {PRE} at (16,53) size 584x151 [bgcolor=#FFFFFF] |
| RenderListMarker at (-37,6) size 17x18: "6" |
| RenderText {#text} at (7,9) size 520x136 |
| text run at (7,9) width 144: "div :first-child {" |
| text run at (151,9) width 0: " " |
| text run at (7,25) width 8: "}" |
| text run at (15,25) width 0: " " |
| text run at (7,40) width 0: " " |
| text run at (7,55) width 40: "<div>" |
| text run at (47,55) width 0: " " |
| text run at (7,70) width 256: " <div id='insertBefore'></div>" |
| text run at (263,70) width 0: " " |
| text run at (7,85) width 48: "</div>" |
| text run at (55,85) width 0: " " |
| text run at (7,100) width 0: " " |
| text run at (7,115) width 392: "var ib = document.getElementById('insertBefore');" |
| text run at (399,115) width 0: " " |
| text run at (7,130) width 520: "ib.parentElement.insertBefore(document.createElement(\"div\"), ib);" |
| RenderBlock {P} at (16,220) size 584x34 |
| RenderText {#text} at (0,0) size 567x34 |
| text run at (0,0) width 567: "The CSS selector should match the div element that is inserted by the Javascript" |
| text run at (0,17) width 39: "code." |
| RenderListItem {LI} at (40,1887) size 616x269 [bgcolor=#AAAAAA] |
| RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#009900] |
| RenderBlock {DIV} at (0,0) size 584x0 [bgcolor=#990000] |
| RenderBlock {DIV} at (0,0) size 584x24 |
| RenderBlock {PRE} at (16,53) size 584x151 [bgcolor=#FFFFFF] |
| RenderListMarker at (-37,6) size 17x18: "7" |
| RenderText {#text} at (7,9) size 520x136 |
| text run at (7,9) width 144: "div :first-child {" |
| text run at (151,9) width 0: " " |
| text run at (7,25) width 8: "}" |
| text run at (15,25) width 0: " " |
| text run at (7,40) width 0: " " |
| text run at (7,55) width 40: "<div>" |
| text run at (47,55) width 0: " " |
| text run at (7,70) width 256: " <div id='insertBefore'></div>" |
| text run at (263,70) width 0: " " |
| text run at (7,85) width 48: "</div>" |
| text run at (55,85) width 0: " " |
| text run at (7,100) width 0: " " |
| text run at (7,115) width 392: "var ib = document.getElementById('insertBefore');" |
| text run at (399,115) width 0: " " |
| text run at (7,130) width 520: "ib.parentElement.insertBefore(document.createElement(\"div\"), ib);" |
| RenderBlock {P} at (16,220) size 584x17 |
| RenderText {#text} at (0,0) size 515x17 |
| text run at (0,0) width 515: "The original div element should not be a match for the :first-child selector." |