1 layer at (0,0) size 785x2816
2 RenderView at (0,0) size 785x600
3 layer at (0,0) size 785x2816
4 RenderBlock {HTML} at (0,0) size 785x2816
5 RenderBody {BODY} at (8,16) size 769x2752 [bgcolor=#FFFFFF]
6 RenderBlock {P} at (0,0) size 769x18
7 RenderText {#text} at (0,0) size 168x17
8 text run at (0,0) width 168: "This page is part of the "
9 RenderInline {A} at (0,0) size 73x17 [color=#0000EE]
10 RenderText {#text} at (167,0) size 73x17
11 text run at (167,0) width 73: "CSS3.info"
12 RenderText {#text} at (239,0) size 5x17
13 text run at (239,0) width 5: " "
14 RenderInline {A} at (0,0) size 133x17 [color=#0000EE]
15 RenderText {#text} at (243,0) size 133x17
16 text run at (243,0) width 133: "CSS selectors test"
17 RenderText {#text} at (375,0) size 136x17
18 text run at (375,0) width 136: ". See more info on "
19 RenderInline {A} at (0,0) size 111x17 [color=#0000EE]
20 RenderText {#text} at (510,0) size 111x17
21 text run at (510,0) width 111: "CSS3 selectors"
22 RenderText {#text} at (620,0) size 6x17
23 text run at (620,0) width 6: "."
24 RenderBlock {DIV} at (0,34) size 769x0 [bgcolor=#009900]
25 RenderBlock {OL} at (0,34) size 769x2718
26 RenderListItem {LI} at (40,0) size 615.19x207 [bgcolor=#AAAAAA]
27 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
28 RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
29 RenderBlock {PRE} at (16,53) size 583.19x70 [bgcolor=#FFFFFF]
30 RenderListMarker at (-37.78,6.50) size 17.78x17: "1"
31 RenderText {#text} at (6,10) size 274x54
32 text run at (6,10) width 141: "div:last-of-type {"
33 text run at (146,10) width 1: " "
34 text run at (6,25) width 9: "}"
35 text run at (14,25) width 1: " "
36 text run at (6,38) width 1: " "
37 text run at (6,51) width 274: "<div>Does this element match?</div>"
38 RenderBlock {P} at (16,139) size 583.19x36
39 RenderText {#text} at (0,0) size 555x35
40 text run at (0,0) width 555: "The CSS selector should match the marked div element, because it is the only"
41 text run at (0,18) width 139: "element of this type"
42 RenderListItem {LI} at (40,255) size 615.19x220 [bgcolor=#AAAAAA]
43 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
44 RenderBlock {DIV} at (0,0) size 583.19x0
45 RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
46 RenderBlock {PRE} at (16,53) size 583.19x83 [bgcolor=#FFFFFF]
47 RenderListMarker at (-37.78,6.50) size 17.78x17: "2"
48 RenderText {#text} at (6,10) size 274x67
49 text run at (6,10) width 141: "div:last-of-type {"
50 text run at (146,10) width 1: " "
51 text run at (6,25) width 9: "}"
52 text run at (14,25) width 1: " "
53 text run at (6,38) width 1: " "
54 text run at (6,51) width 87: "<div></div>"
55 text run at (92,51) width 1: " "
56 text run at (6,64) width 274: "<div>Does this element match?</div>"
57 RenderBlock {P} at (16,152) size 583.19x36
58 RenderText {#text} at (0,0) size 550x35
59 text run at (0,0) width 550: "The CSS selector should match the marked div element, because it is the last"
60 text run at (0,18) width 139: "element of this type"
61 RenderListItem {LI} at (40,523) size 615.19x220 [bgcolor=#AAAAAA]
62 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
63 RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
64 RenderBlock {BLOCKQUOTE} at (0,24) size 583.19x0 [bgcolor=#009900]
65 RenderBlock {PRE} at (16,53) size 583.19x83 [bgcolor=#FFFFFF]
66 RenderListMarker at (-37.78,6.50) size 17.78x17: "3"
67 RenderText {#text} at (6,10) size 274x67
68 text run at (6,10) width 141: "div:last-of-type {"
69 text run at (146,10) width 1: " "
70 text run at (6,25) width 9: "}"
71 text run at (14,25) width 1: " "
72 text run at (6,38) width 1: " "
73 text run at (6,51) width 274: "<div>Does this element match?</div>"
74 text run at (279,51) width 1: " "
75 text run at (6,64) width 196: "<blockquote></blockquote>"
76 RenderBlock {P} at (16,152) size 583.19x36
77 RenderText {#text} at (0,0) size 550x35
78 text run at (0,0) width 550: "The CSS selector should match the marked div element, because it is the last"
79 text run at (0,18) width 139: "element of this type"
80 RenderListItem {LI} at (40,791) size 615.19x246 [bgcolor=#AAAAAA]
81 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
82 RenderBlock {BLOCKQUOTE} at (0,0) size 583.19x24 [bgcolor=#009900]
83 RenderBlock {DIV} at (0,0) size 583.19x24
84 RenderBlock {DIV} at (0,24) size 583.19x0 [bgcolor=#009900]
85 RenderBlock {PRE} at (16,53) size 583.19x109 [bgcolor=#FFFFFF]
86 RenderListMarker at (-37.78,6.50) size 17.78x17: "4"
87 RenderText {#text} at (6,10) size 297x93
88 text run at (6,10) width 141: "div:last-of-type {"
89 text run at (146,10) width 1: " "
90 text run at (6,25) width 9: "}"
91 text run at (14,25) width 1: " "
92 text run at (6,38) width 1: " "
93 text run at (6,51) width 95: "<blockquote>"
94 text run at (100,51) width 1: " "
95 text run at (6,64) width 297: " <div>Does this element match?</div>"
96 text run at (302,64) width 1: " "
97 text run at (6,77) width 102: "</blockquote>"
98 text run at (107,77) width 1: " "
99 text run at (6,90) width 87: "<div></div>"
100 RenderBlock {P} at (16,178) size 583.19x36
101 RenderText {#text} at (0,0) size 550x35
102 text run at (0,0) width 550: "The CSS selector should match the marked div element, because it is the last"
103 text run at (0,18) width 233: "element of this type in this scope"
104 RenderListItem {LI} at (40,1085) size 615.19x233 [bgcolor=#AAAAAA]
105 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
106 RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
107 RenderBlock {DIV} at (0,0) size 583.19x24
108 RenderBlock {PRE} at (16,53) size 583.19x96 [bgcolor=#FFFFFF]
109 RenderListMarker at (-37.78,6.50) size 17.78x17: "5"
110 RenderText {#text} at (6,10) size 297x80
111 text run at (6,10) width 141: "div:last-of-type {"
112 text run at (146,10) width 1: " "
113 text run at (6,25) width 9: "}"
114 text run at (14,25) width 1: " "
115 text run at (6,38) width 1: " "
116 text run at (6,51) width 40: "<div>"
117 text run at (45,51) width 1: " "
118 text run at (6,64) width 297: " <div>Does this element match?</div>"
119 text run at (302,64) width 1: " "
120 text run at (6,77) width 48: "</div>"
121 RenderBlock {P} at (16,165) size 583.19x36
122 RenderText {#text} at (0,0) size 550x35
123 text run at (0,0) width 550: "The CSS selector should match the marked div element, because it is the last"
124 text run at (0,18) width 284: "element of this type in the current scope"
125 RenderListItem {LI} at (40,1366) size 615.19x246 [bgcolor=#AAAAAA]
126 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
127 RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
128 RenderBlock {BLOCKQUOTE} at (0,24) size 583.19x0 [bgcolor=#009900]
129 RenderBlock {DIV} at (0,0) size 583.19x0
130 RenderBlock {PRE} at (16,53) size 583.19x109 [bgcolor=#FFFFFF]
131 RenderListMarker at (-37.78,6.50) size 17.78x17: "6"
132 RenderText {#text} at (6,10) size 274x93
133 text run at (6,10) width 141: "div:last-of-type {"
134 text run at (146,10) width 1: " "
135 text run at (6,25) width 9: "}"
136 text run at (14,25) width 1: " "
137 text run at (6,38) width 1: " "
138 text run at (6,51) width 274: "<div>Does this element match?</div>"
139 text run at (279,51) width 1: " "
140 text run at (6,64) width 95: "<blockquote>"
141 text run at (100,64) width 1: " "
142 text run at (6,77) width 110: " <div></div>"
143 text run at (115,77) width 1: " "
144 text run at (6,90) width 102: "</blockquote>"
145 RenderBlock {P} at (16,178) size 583.19x36
146 RenderText {#text} at (0,0) size 550x35
147 text run at (0,0) width 550: "The CSS selector should match the marked div element, because it is the last"
148 text run at (0,18) width 284: "element of this type in the current scope"
149 RenderListItem {LI} at (40,1660) size 615.19x220 [bgcolor=#AAAAAA]
150 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#009900]
151 RenderBlock {DIV} at (0,0) size 583.19x24
152 RenderBlock {DIV} at (0,24) size 583.19x0 [bgcolor=#990000]
153 RenderBlock {PRE} at (16,53) size 583.19x83 [bgcolor=#FFFFFF]
154 RenderListMarker at (-37.78,6.50) size 17.78x17: "7"
155 RenderText {#text} at (6,10) size 274x67
156 text run at (6,10) width 141: "div:last-of-type {"
157 text run at (146,10) width 1: " "
158 text run at (6,25) width 9: "}"
159 text run at (14,25) width 1: " "
160 text run at (6,38) width 1: " "
161 text run at (6,51) width 274: "<div>Does this element match?</div>"
162 text run at (279,51) width 1: " "
163 text run at (6,64) width 87: "<div></div>"
164 RenderBlock {P} at (16,152) size 583.19x36
165 RenderText {#text} at (0,0) size 578x35
166 text run at (0,0) width 578: "The CSS selector should not match the marked div element, because it is the first"
167 text run at (0,18) width 139: "element of this type"
168 RenderListItem {LI} at (40,1928) size 615.19x220 [bgcolor=#AAAAAA]
169 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#009900]
170 RenderBlock {DIV} at (0,0) size 583.19x24
171 RenderBlock {DIV} at (0,24) size 583.19x0 [bgcolor=#990000]
172 RenderBlock {PRE} at (16,53) size 583.19x83 [bgcolor=#FFFFFF]
173 RenderListMarker at (-37.78,6.50) size 17.78x17: "8"
174 RenderText {#text} at (6,10) size 274x67
175 text run at (6,10) width 141: "div:last-of-type {"
176 text run at (146,10) width 1: " "
177 text run at (6,25) width 9: "}"
178 text run at (14,25) width 1: " "
179 text run at (6,38) width 1: " "
180 text run at (6,51) width 274: "<div>Does this element match?</div>"
181 text run at (279,51) width 1: " "
182 text run at (6,64) width 87: "<DIV></DIV>"
183 RenderBlock {P} at (16,152) size 583.19x36
184 RenderText {#text} at (0,0) size 578x35
185 text run at (0,0) width 578: "The CSS selector should not match the marked div element, because it is the first"
186 text run at (0,18) width 139: "element of this type"
187 RenderListItem {LI} at (40,2196) size 615.19x246 [bgcolor=#AAAAAA]
188 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
189 RenderBlock {DIV} at (0,0) size 583.19x0
190 RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
191 RenderBlock {PRE} at (16,53) size 583.19x109 [bgcolor=#FFFFFF]
192 RenderListMarker at (-37.78,6.50) size 17.78x17: "9"
193 RenderText {#text} at (6,10) size 469x93
194 text run at (6,10) width 141: "div:last-of-type {"
195 text run at (146,10) width 1: " "
196 text run at (6,25) width 9: "}"
197 text run at (14,25) width 1: " "
198 text run at (6,38) width 1: " "
199 text run at (6,51) width 219: "<div id='insertAfter'></div>"
200 text run at (224,51) width 1: " "
201 text run at (6,64) width 1: " "
202 text run at (6,77) width 375: "var ib = document.getElementById('insertAfter');"
203 text run at (380,77) width 1: " "
204 text run at (6,90) width 469: "ib.parentElement.appendChild(document.createElement(\"div\"));"
205 RenderBlock {P} at (16,178) size 583.19x36
206 RenderText {#text} at (0,0) size 571x35
207 text run at (0,0) width 571: "The CSS selector should match the div element that is inserted by the Javascript"
208 text run at (0,18) width 40: "code."
209 RenderListItem {LI} at (40,2490) size 615.19x228 [bgcolor=#AAAAAA]
210 RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#009900]
211 RenderBlock {DIV} at (0,0) size 583.19x24
212 RenderBlock {DIV} at (0,24) size 583.19x0 [bgcolor=#990000]
213 RenderBlock {PRE} at (16,53) size 583.19x109 [bgcolor=#FFFFFF]
214 RenderListMarker at (-46.69,6.50) size 26.69x17: "10"
215 RenderText {#text} at (6,10) size 469x93
216 text run at (6,10) width 141: "div:last-of-type {"
217 text run at (146,10) width 1: " "
218 text run at (6,25) width 9: "}"
219 text run at (14,25) width 1: " "
220 text run at (6,38) width 1: " "
221 text run at (6,51) width 219: "<div id='insertAfter'></div>"
222 text run at (224,51) width 1: " "
223 text run at (6,64) width 1: " "
224 text run at (6,77) width 375: "var ib = document.getElementById('insertAfter');"
225 text run at (380,77) width 1: " "
226 text run at (6,90) width 469: "ib.parentElement.appendChild(document.createElement(\"div\"));"
227 RenderBlock {P} at (16,178) size 583.19x18
228 RenderText {#text} at (0,0) size 535x17
229 text run at (0,0) width 535: "The original div element should not be a match for the :last-of-type selector."