1 layer at (0,0) size 785x2960
2 RenderView at (0,0) size 785x600
3 layer at (0,0) size 785x2960
4 RenderBlock {HTML} at (0,0) size 785x2960
5 RenderBody {BODY} at (8,16) size 769x2896 [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 769x2862
26 RenderListItem {LI} at (40,0) size 615.19x216 [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.19x79 [bgcolor=#FFFFFF]
30 RenderListMarker at (-37.78,6.50) size 17.78x17: "1"
31 RenderText {#text} at (6,8) size 281x65
32 text run at (6,8) width 145: "div:last-of-type {"
33 text run at (150,8) width 1: " "
34 text run at (6,25) width 9: "}"
35 text run at (14,25) width 1: " "
36 text run at (6,41) width 1: " "
37 text run at (6,57) width 281: "<div>Does this element match?</div>"
38 RenderBlock {P} at (16,148) 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,264) size 615.19x232 [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.19x95 [bgcolor=#FFFFFF]
47 RenderListMarker at (-37.78,6.50) size 17.78x17: "2"
48 RenderText {#text} at (6,8) size 281x81
49 text run at (6,8) width 145: "div:last-of-type {"
50 text run at (150,8) width 1: " "
51 text run at (6,25) width 9: "}"
52 text run at (14,25) width 1: " "
53 text run at (6,41) width 1: " "
54 text run at (6,57) width 89: "<div></div>"
55 text run at (94,57) width 1: " "
56 text run at (6,73) width 281: "<div>Does this element match?</div>"
57 RenderBlock {P} at (16,164) 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,544) size 615.19x232 [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.19x95 [bgcolor=#FFFFFF]
66 RenderListMarker at (-37.78,6.50) size 17.78x17: "3"
67 RenderText {#text} at (6,8) size 281x81
68 text run at (6,8) width 145: "div:last-of-type {"
69 text run at (150,8) width 1: " "
70 text run at (6,25) width 9: "}"
71 text run at (14,25) width 1: " "
72 text run at (6,41) width 1: " "
73 text run at (6,57) width 281: "<div>Does this element match?</div>"
74 text run at (286,57) width 1: " "
75 text run at (6,73) width 201: "<blockquote></blockquote>"
76 RenderBlock {P} at (16,164) 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,824) size 615.19x264 [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.19x127 [bgcolor=#FFFFFF]
86 RenderListMarker at (-37.78,6.50) size 17.78x17: "4"
87 RenderText {#text} at (6,8) size 305x113
88 text run at (6,8) width 145: "div:last-of-type {"
89 text run at (150,8) width 1: " "
90 text run at (6,25) width 9: "}"
91 text run at (14,25) width 1: " "
92 text run at (6,41) width 1: " "
93 text run at (6,57) width 97: "<blockquote>"
94 text run at (102,57) width 1: " "
95 text run at (6,73) width 305: " <div>Does this element match?</div>"
96 text run at (310,73) width 1: " "
97 text run at (6,89) width 105: "</blockquote>"
98 text run at (110,89) width 1: " "
99 text run at (6,105) width 89: "<div></div>"
100 RenderBlock {P} at (16,196) 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,1136) size 615.19x248 [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.19x111 [bgcolor=#FFFFFF]
109 RenderListMarker at (-37.78,6.50) size 17.78x17: "5"
110 RenderText {#text} at (6,8) size 305x97
111 text run at (6,8) width 145: "div:last-of-type {"
112 text run at (150,8) width 1: " "
113 text run at (6,25) width 9: "}"
114 text run at (14,25) width 1: " "
115 text run at (6,41) width 1: " "
116 text run at (6,57) width 41: "<div>"
117 text run at (46,57) width 1: " "
118 text run at (6,73) width 305: " <div>Does this element match?</div>"
119 text run at (310,73) width 1: " "
120 text run at (6,89) width 49: "</div>"
121 RenderBlock {P} at (16,180) 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,1432) size 615.19x264 [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.19x127 [bgcolor=#FFFFFF]
131 RenderListMarker at (-37.78,6.50) size 17.78x17: "6"
132 RenderText {#text} at (6,8) size 281x113
133 text run at (6,8) width 145: "div:last-of-type {"
134 text run at (150,8) width 1: " "
135 text run at (6,25) width 9: "}"
136 text run at (14,25) width 1: " "
137 text run at (6,41) width 1: " "
138 text run at (6,57) width 281: "<div>Does this element match?</div>"
139 text run at (286,57) width 1: " "
140 text run at (6,73) width 97: "<blockquote>"
141 text run at (102,73) width 1: " "
142 text run at (6,89) width 113: " <div></div>"
143 text run at (118,89) width 1: " "
144 text run at (6,105) width 105: "</blockquote>"
145 RenderBlock {P} at (16,196) 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,1744) size 615.19x232 [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.19x95 [bgcolor=#FFFFFF]
154 RenderListMarker at (-37.78,6.50) size 17.78x17: "7"
155 RenderText {#text} at (6,8) size 281x81
156 text run at (6,8) width 145: "div:last-of-type {"
157 text run at (150,8) width 1: " "
158 text run at (6,25) width 9: "}"
159 text run at (14,25) width 1: " "
160 text run at (6,41) width 1: " "
161 text run at (6,57) width 281: "<div>Does this element match?</div>"
162 text run at (286,57) width 1: " "
163 text run at (6,73) width 89: "<div></div>"
164 RenderBlock {P} at (16,164) 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,2024) size 615.19x232 [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.19x95 [bgcolor=#FFFFFF]
173 RenderListMarker at (-37.78,6.50) size 17.78x17: "8"
174 RenderText {#text} at (6,8) size 281x81
175 text run at (6,8) width 145: "div:last-of-type {"
176 text run at (150,8) width 1: " "
177 text run at (6,25) width 9: "}"
178 text run at (14,25) width 1: " "
179 text run at (6,41) width 1: " "
180 text run at (6,57) width 281: "<div>Does this element match?</div>"
181 text run at (286,57) width 1: " "
182 text run at (6,73) width 89: "<DIV></DIV>"
183 RenderBlock {P} at (16,164) 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,2304) size 615.19x264 [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.19x127 [bgcolor=#FFFFFF]
192 RenderListMarker at (-37.78,6.50) size 17.78x17: "9"
193 RenderText {#text} at (6,8) size 481x113
194 text run at (6,8) width 145: "div:last-of-type {"
195 text run at (150,8) width 1: " "
196 text run at (6,25) width 9: "}"
197 text run at (14,25) width 1: " "
198 text run at (6,41) width 1: " "
199 text run at (6,57) width 225: "<div id='insertAfter'></div>"
200 text run at (230,57) width 1: " "
201 text run at (6,73) width 1: " "
202 text run at (6,89) width 385: "var ib = document.getElementById('insertAfter');"
203 text run at (390,89) width 1: " "
204 text run at (6,105) width 481: "ib.parentElement.appendChild(document.createElement(\"div\"));"
205 RenderBlock {P} at (16,196) 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,2616) size 615.19x246 [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.19x127 [bgcolor=#FFFFFF]
214 RenderListMarker at (-46.69,6.50) size 26.69x17: "10"
215 RenderText {#text} at (6,8) size 481x113
216 text run at (6,8) width 145: "div:last-of-type {"
217 text run at (150,8) width 1: " "
218 text run at (6,25) width 9: "}"
219 text run at (14,25) width 1: " "
220 text run at (6,41) width 1: " "
221 text run at (6,57) width 225: "<div id='insertAfter'></div>"
222 text run at (230,57) width 1: " "
223 text run at (6,73) width 1: " "
224 text run at (6,89) width 385: "var ib = document.getElementById('insertAfter');"
225 text run at (390,89) width 1: " "
226 text run at (6,105) width 481: "ib.parentElement.appendChild(document.createElement(\"div\"));"
227 RenderBlock {P} at (16,196) 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."