1 layer at (0,0) size 785x961
2 RenderCanvas at (0,0) size 785x600
3 layer at (0,0) size 785x961
4 RenderBlock {HTML} at (0,0) size 785x961
5 RenderBody {BODY} at (8,8) size 769x945 [bgcolor=#CCCCCC]
6 RenderBlock {P} at (0,0) size 769x18
7 RenderText {TEXT} at (0,0) size 355x18
8 text run at (0,0) width 355: "The style declarations which apply to the text below are:"
9 RenderBlock {PRE} at (0,34) size 769x150
10 RenderText {TEXT} at (0,0) size 728x150
11 text run at (0,0) width 624: "<LINK rel=\"stylesheet\" type=\"text/css\" href=\"linktest.css\" title=\"Default SS\">"
12 text run at (0,15) width 728: "<LINK rel=\"alternate stylesheet\" type=\"text/css\" href=\"linktest2.css\" title=\"Alternate SS\">"
13 text run at (0,30) width 208: "@import url(imptest1.css);"
14 text run at (0,45) width 192: "@import \"imptest1a.css\";"
15 text run at (0,60) width 128: "UL {color: red;}"
16 text run at (0,75) width 176: ".four {color: purple;}"
17 text run at (0,90) width 208: "@import url(imptest2.css);"
18 text run at (0,105) width 32: "<!--"
19 text run at (0,120) width 168: "P.six {color: green;}"
20 text run at (0,135) width 24: "-->"
21 RenderBlock {HR} at (0,197) size 769x2 [border: (1px inset #000000)]
22 RenderBlock {P} at (0,215) size 769x18
23 RenderText {TEXT} at (0,0) size 404x18
24 text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
25 RenderInline {CODE} at (0,0) size 96x15
26 RenderText {TEXT} at (404,2) size 96x15
27 text run at (404,2) width 96: "linktest.css"
28 RenderText {TEXT} at (500,0) size 254x18
29 text run at (500,0) width 254: ", the reference to which is shown above."
30 RenderBlock {P} at (0,249) size 769x36
31 RenderText {TEXT} at (0,0) size 442x18
32 text run at (0,0) width 442: "This sentence should NOT be underlined due to the linked style sheet "
33 RenderInline {CODE} at (0,0) size 104x15
34 RenderText {TEXT} at (442,2) size 104x15
35 text run at (442,2) width 104: "linktest2.css"
36 RenderText {TEXT} at (546,0) size 8x18
37 text run at (546,0) width 8: ", "
38 RenderInline {STRONG} at (0,0) size 41x18
39 RenderText {TEXT} at (554,0) size 41x18
40 text run at (554,0) width 41: "unless"
41 RenderText {TEXT} at (595,0) size 741x36
42 text run at (595,0) width 146: " the external style sheet"
43 text run at (0,18) width 325: "\"Alternate SS\" has been selected via the user agent."
44 RenderBlock {UL} at (0,301) size 769x54 [color=#FF0000]
45 RenderListItem {LI} at (40,0) size 729x18 [color=#008000]
46 RenderListMarker at (0,0) size 0x14
47 RenderText {TEXT} at (0,0) size 390x18
48 text run at (0,0) width 390: "This sentence should be green due to an imported style sheet ["
49 RenderInline {CODE} at (0,0) size 208x15
50 RenderText {TEXT} at (390,2) size 208x15
51 text run at (390,2) width 208: "@import url(imptest1.css);"
52 RenderText {TEXT} at (598,0) size 9x18
53 text run at (598,0) width 9: "]."
54 RenderListItem {LI} at (40,18) size 729x18 [color=#800080]
55 RenderListMarker at (0,0) size 0x14
56 RenderText {TEXT} at (0,0) size 395x18
57 text run at (0,0) width 395: "This sentence should be purple due to an imported style sheet ["
58 RenderInline {CODE} at (0,0) size 184x15
59 RenderText {TEXT} at (395,2) size 184x15
60 text run at (395,2) width 184: "@import \"imptest1a.css\""
61 RenderText {TEXT} at (579,0) size 9x18
62 text run at (579,0) width 9: "]."
63 RenderListItem {LI} at (40,36) size 729x18 [color=#008000]
64 RenderListMarker at (0,0) size 0x14
65 RenderText {TEXT} at (0,0) size 393x18
66 text run at (0,0) width 393: "This sentence should be green thanks to the STYLE attribute ["
67 RenderInline {CODE} at (0,0) size 168x15
68 RenderText {TEXT} at (393,2) size 168x15
69 text run at (393,2) width 168: "STYLE=\"color: green;\""
70 RenderText {TEXT} at (561,0) size 9x18
71 text run at (561,0) width 9: "]."
72 RenderBlock {P} at (0,371) size 769x18 [color=#800080]
73 RenderText {TEXT} at (0,0) size 500x18
74 text run at (0,0) width 500: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
75 RenderBlock {OL} at (0,405) size 769x54
76 RenderListItem {LI} at (40,0) size 729x18
77 RenderListMarker at (0,0) size 0x14
78 RenderText {TEXT} at (0,0) size 201x18
79 text run at (0,0) width 201: "This list should NOT be purple."
80 RenderListItem {LI} at (40,18) size 729x18
81 RenderListMarker at (0,0) size 0x14
82 RenderText {TEXT} at (0,0) size 172x18
83 text run at (0,0) width 172: "It should, instead, be black."
84 RenderListItem {LI} at (40,36) size 729x18
85 RenderListMarker at (0,0) size 0x14
86 RenderText {TEXT} at (0,0) size 501x18
87 text run at (0,0) width 501: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
88 RenderBlock {P} at (0,475) size 769x36
89 RenderText {TEXT} at (0,0) size 697x18
90 text run at (0,0) width 197: "This sentence should be black. "
91 text run at (197,0) width 500: "If it is red, then the browser has inappropriately imported the styles from the file"
92 RenderInline {TT} at (0,0) size 96x15
93 RenderText {TEXT} at (0,20) size 96x15
94 text run at (0,20) width 96: "imptest2.css"
95 RenderText {TEXT} at (96,18) size 33x18
96 text run at (96,18) width 33: " (see "
97 RenderInline {A} at (0,0) size 68x18 [color=#0000FF]
98 RenderText {TEXT} at (129,18) size 68x18
99 text run at (129,18) width 68: "section 3.0"
100 RenderText {TEXT} at (197,18) size 275x18
101 text run at (197,18) width 275: " of the CSS1 specification for more details)."
102 RenderBlock {P} at (0,527) size 769x18 [color=#008000]
103 RenderText {TEXT} at (0,0) size 203x18
104 text run at (0,0) width 203: "This paragraph should be green."
105 RenderTable {TABLE} at (0,561) size 769x384 [border: (1px outset #808080)]
106 RenderTableSection {TBODY} at (1,1) size 0x382
107 RenderTableRow {TR} at (0,0) size 0x0
108 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
109 RenderInline {STRONG} at (0,0) size 163x18
110 RenderText {TEXT} at (4,4) size 163x18
111 text run at (4,4) width 163: "TABLE Testing Section"
112 RenderTableRow {TR} at (0,0) size 0x0
113 RenderTableCell {TD} at (0,191) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
114 RenderText {TEXT} at (4,4) size 4x18
115 text run at (4,4) width 4: " "
116 RenderTableCell {TD} at (12,26) size 755x356 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
117 RenderBlock {P} at (4,4) size 747x36
118 RenderText {TEXT} at (0,0) size 404x18
119 text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
120 RenderInline {CODE} at (0,0) size 96x15
121 RenderText {TEXT} at (404,2) size 96x15
122 text run at (404,2) width 96: "linktest.css"
123 RenderText {TEXT} at (500,0) size 708x36
124 text run at (500,0) width 208: ", the reference to which is shown"
125 text run at (0,18) width 42: "above."
126 RenderBlock {P} at (4,56) size 747x36
127 RenderText {TEXT} at (0,0) size 442x18
128 text run at (0,0) width 442: "This sentence should NOT be underlined due to the linked style sheet "
129 RenderInline {CODE} at (0,0) size 104x15
130 RenderText {TEXT} at (442,2) size 104x15
131 text run at (442,2) width 104: "linktest2.css"
132 RenderText {TEXT} at (546,0) size 8x18
133 text run at (546,0) width 8: ", "
134 RenderInline {STRONG} at (0,0) size 41x18
135 RenderText {TEXT} at (554,0) size 41x18
136 text run at (554,0) width 41: "unless"
137 RenderText {TEXT} at (595,0) size 741x36
138 text run at (595,0) width 146: " the external style sheet"
139 text run at (0,18) width 325: "\"Alternate SS\" has been selected via the user agent."
140 RenderBlock {UL} at (4,108) size 747x54 [color=#FF0000]
141 RenderListItem {LI} at (40,0) size 707x18 [color=#008000]
142 RenderListMarker at (0,0) size 0x14
143 RenderText {TEXT} at (0,0) size 390x18
144 text run at (0,0) width 390: "This sentence should be green due to an imported style sheet ["
145 RenderInline {CODE} at (0,0) size 208x15
146 RenderText {TEXT} at (390,2) size 208x15
147 text run at (390,2) width 208: "@import url(imptest1.css);"
148 RenderText {TEXT} at (598,0) size 9x18
149 text run at (598,0) width 9: "]."
150 RenderListItem {LI} at (40,18) size 707x18 [color=#800080]
151 RenderListMarker at (0,0) size 0x14
152 RenderText {TEXT} at (0,0) size 395x18
153 text run at (0,0) width 395: "This sentence should be purple due to an imported style sheet ["
154 RenderInline {CODE} at (0,0) size 184x15
155 RenderText {TEXT} at (395,2) size 184x15
156 text run at (395,2) width 184: "@import \"imptest1a.css\""
157 RenderText {TEXT} at (579,0) size 9x18
158 text run at (579,0) width 9: "]."
159 RenderListItem {LI} at (40,36) size 707x18 [color=#008000]
160 RenderListMarker at (0,0) size 0x14
161 RenderText {TEXT} at (0,0) size 393x18
162 text run at (0,0) width 393: "This sentence should be green thanks to the STYLE attribute ["
163 RenderInline {CODE} at (0,0) size 168x15
164 RenderText {TEXT} at (393,2) size 168x15
165 text run at (393,2) width 168: "STYLE=\"color: green;\""
166 RenderText {TEXT} at (561,0) size 9x18
167 text run at (561,0) width 9: "]."
168 RenderBlock {P} at (4,178) size 747x18 [color=#800080]
169 RenderText {TEXT} at (0,0) size 500x18
170 text run at (0,0) width 500: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
171 RenderBlock {OL} at (4,212) size 747x54
172 RenderListItem {LI} at (40,0) size 707x18
173 RenderListMarker at (0,0) size 0x14
174 RenderText {TEXT} at (0,0) size 201x18
175 text run at (0,0) width 201: "This list should NOT be purple."
176 RenderListItem {LI} at (40,18) size 707x18
177 RenderListMarker at (0,0) size 0x14
178 RenderText {TEXT} at (0,0) size 172x18
179 text run at (0,0) width 172: "It should, instead, be black."
180 RenderListItem {LI} at (40,36) size 707x18
181 RenderListMarker at (0,0) size 0x14
182 RenderText {TEXT} at (0,0) size 501x18
183 text run at (0,0) width 501: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
184 RenderBlock {P} at (4,282) size 747x36
185 RenderText {TEXT} at (0,0) size 697x18
186 text run at (0,0) width 197: "This sentence should be black. "
187 text run at (197,0) width 500: "If it is red, then the browser has inappropriately imported the styles from the file"
188 RenderInline {TT} at (0,0) size 96x15
189 RenderText {TEXT} at (0,20) size 96x15
190 text run at (0,20) width 96: "imptest2.css"
191 RenderText {TEXT} at (96,18) size 33x18
192 text run at (96,18) width 33: " (see "
193 RenderInline {A} at (0,0) size 68x18 [color=#0000FF]
194 RenderText {TEXT} at (129,18) size 68x18
195 text run at (129,18) width 68: "section 3.0"
196 RenderText {TEXT} at (197,18) size 275x18
197 text run at (197,18) width 275: " of the CSS1 specification for more details)."
198 RenderBlock {P} at (4,334) size 747x18 [color=#008000]
199 RenderText {TEXT} at (0,0) size 203x18
200 text run at (0,0) width 203: "This paragraph should be green."