1 |
wakaba |
1.4 |
1..470 |
2 |
wakaba |
1.1 |
# Running under perl version 5.008007 for linux |
3 |
wakaba |
1.4 |
# Current time local: Sat May 26 21:29:25 2007 |
4 |
|
|
# Current time GMT: Sat May 26 12:29:25 2007 |
5 |
wakaba |
1.1 |
# Using Test.pm version 1.25 |
6 |
|
|
ok 1 |
7 |
|
|
ok 2 |
8 |
|
|
ok 3 |
9 |
|
|
ok 4 |
10 |
|
|
ok 5 |
11 |
|
|
ok 6 |
12 |
|
|
ok 7 |
13 |
|
|
not ok 8 |
14 |
|
|
# Test 8 got: "| <html>\n" (t/HTML-tree.t at line 110 fail #4) |
15 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <html>) |
16 |
|
|
# Lines 2-2 are missing: |
17 |
|
|
# - "| <head>\n" |
18 |
|
|
# - "| <body>\n" |
19 |
|
|
# t/HTML-tree.t line 110 is: ok $result, $test->{document}, 'Document tree: ' . $test->{data}; |
20 |
|
|
not ok 9 |
21 |
|
|
# Test 9 got: "2" (t/HTML-tree.t at line 108 fail #5) |
22 |
|
|
# Expected: "1" (Parse error: <head>; 1:6:missing DOCTYPE, 1:6:not closed:head;6: missing document type declaration) |
23 |
|
|
# t/HTML-tree.t line 108 is: join (', ', @errors) . ';' . join (', ', @{$test->{errors}}); |
24 |
|
|
not ok 10 |
25 |
|
|
# Test 10 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 110 fail #5) |
26 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <head>) |
27 |
|
|
# Line 3 is missing: |
28 |
|
|
# - "| <body>\n" |
29 |
|
|
ok 11 |
30 |
|
|
ok 12 |
31 |
|
|
not ok 13 |
32 |
|
|
# Test 13 got: "2" (t/HTML-tree.t at line 108 fail #7) |
33 |
|
|
# Expected: "1" (Parse error: <html><head>; 1:7:missing DOCTYPE, 1:12:not closed:head;6: missing document type declaration) |
34 |
|
|
not ok 14 |
35 |
|
|
# Test 14 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 110 fail #7) |
36 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <html><head>) |
37 |
|
|
# Line 3 is missing: |
38 |
|
|
# - "| <body>\n" |
39 |
|
|
ok 15 |
40 |
|
|
not ok 16 |
41 |
|
|
# Test 16 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 110 fail #8) |
42 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <html><head></head>) |
43 |
|
|
# Line 3 is missing: |
44 |
|
|
# - "| <body>\n" |
45 |
|
|
ok 17 |
46 |
|
|
ok 18 |
47 |
|
|
ok 19 |
48 |
|
|
ok 20 |
49 |
|
|
ok 21 |
50 |
|
|
ok 22 |
51 |
|
|
ok 23 |
52 |
|
|
ok 24 |
53 |
|
|
ok 25 |
54 |
|
|
ok 26 |
55 |
|
|
ok 27 |
56 |
|
|
ok 28 |
57 |
|
|
ok 29 |
58 |
|
|
ok 30 |
59 |
|
|
ok 31 |
60 |
|
|
ok 32 |
61 |
|
|
ok 33 |
62 |
|
|
not ok 34 |
63 |
|
|
# Test 34 got: "| <html>\n" (t/HTML-tree.t at line 110 fail #17) |
64 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: </head>) |
65 |
|
|
# Lines 2-2 are missing: |
66 |
|
|
# - "| <head>\n" |
67 |
|
|
# - "| <body>\n" |
68 |
|
|
ok 35 |
69 |
|
|
not ok 36 |
70 |
|
|
# Test 36 got: "| <html>\n" (t/HTML-tree.t at line 110 fail #18) |
71 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: </body>) |
72 |
|
|
# Lines 2-2 are missing: |
73 |
|
|
# - "| <head>\n" |
74 |
|
|
# - "| <body>\n" |
75 |
|
|
ok 37 |
76 |
|
|
ok 38 |
77 |
|
|
ok 39 |
78 |
|
|
ok 40 |
79 |
|
|
ok 41 |
80 |
|
|
ok 42 |
81 |
|
|
ok 43 |
82 |
|
|
ok 44 |
83 |
|
|
ok 45 |
84 |
|
|
ok 46 |
85 |
|
|
ok 47 |
86 |
|
|
ok 48 |
87 |
|
|
ok 49 |
88 |
|
|
ok 50 |
89 |
|
|
ok 51 |
90 |
|
|
ok 52 |
91 |
|
|
ok 53 |
92 |
|
|
not ok 54 |
93 |
|
|
# Test 54 got: "| <!-- ><div>--<! -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #27) |
94 |
|
|
# Expected: "| <!-- ><div>--<! -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!--><div>--<!-->) |
95 |
|
|
# Lines 3-3 are missing: |
96 |
|
|
# - "| <head>\n" |
97 |
|
|
# - "| <body>\n" |
98 |
|
|
ok 55 |
99 |
|
|
ok 56 |
100 |
|
|
ok 57 |
101 |
|
|
ok 58 |
102 |
|
|
ok 59 |
103 |
|
|
ok 60 |
104 |
|
|
ok 61 |
105 |
|
|
ok 62 |
106 |
|
|
not ok 63 |
107 |
|
|
# Test 63 got: "17" (t/HTML-tree.t at line 108 fail #32) |
108 |
|
|
# Expected: "9" (Parse error: <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->; 1:7:dash in comment, 1:9:missing DOCTYPE, 1:33:in table:#character, 1:34:in table:#character, 1:35:in table:#character, 1:36:in table:#character, 1:37:in table:#character, 1:38:in table:#character, 1:39:in table:#character, 1:42:in table:b, 1:43:in table:#character, 1:44:in table:#character, 1:45:in table:#character, 1:49:not closed:b, 1:49:missing start tag:tr, 1:64:not closed:i, 1:71:not closed:tbody;7: unexpected '-' character after two '-' characters while parsing comment, 14: missing document type declaration, 40: unexpected node in table context, 41: unexpected node in table context, 46: unexpected node in table context, 48: required tr element start tag implied by unexpected th element start tag, 63: unexpected th element end tag implied other end tags, 72: unexpected end of file implied table element end tag, 72: mismatched body element end tag (premature end of file?)) |
109 |
|
|
ok 64 |
110 |
|
|
not ok 65 |
111 |
|
|
# Test 65 got: "2" (t/HTML-tree.t at line 108 fail #33) |
112 |
|
|
# Expected: "0" (Parse error: <!DOCTYPE HTML><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->; 1:62:not closed:li, 1:70:after body:/li;) |
113 |
|
|
ok 66 |
114 |
|
|
ok 67 |
115 |
|
|
ok 68 |
116 |
|
|
ok 69 |
117 |
|
|
ok 70 |
118 |
|
|
ok 71 |
119 |
|
|
ok 72 |
120 |
|
|
ok 73 |
121 |
|
|
ok 74 |
122 |
|
|
ok 75 |
123 |
|
|
not ok 76 |
124 |
|
|
# Test 76 got: "| <!-- # -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #38) |
125 |
|
|
# Expected: "| <!-- # -->\n| <html>\n| <head>\n| <body>\n" (Document tree: </#) |
126 |
|
|
# Lines 3-3 are missing: |
127 |
|
|
# - "| <head>\n" |
128 |
|
|
# - "| <body>\n" |
129 |
|
|
ok 77 |
130 |
|
|
not ok 78 |
131 |
|
|
# Test 78 got: "| <!-- ? -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #39) |
132 |
|
|
# Expected: "| <!-- ? -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?) |
133 |
|
|
# Lines 3-3 are missing: |
134 |
|
|
# - "| <head>\n" |
135 |
|
|
# - "| <body>\n" |
136 |
|
|
ok 79 |
137 |
|
|
not ok 80 |
138 |
|
|
# Test 80 got: "| <!-- ?# -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #40) |
139 |
|
|
# Expected: "| <!-- ?# -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?#) |
140 |
|
|
# Lines 3-3 are missing: |
141 |
|
|
# - "| <head>\n" |
142 |
|
|
# - "| <body>\n" |
143 |
|
|
ok 81 |
144 |
|
|
not ok 82 |
145 |
|
|
# Test 82 got: "| <!-- -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #41) |
146 |
|
|
# Expected: "| <!-- -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!) |
147 |
|
|
# Lines 3-3 are missing: |
148 |
|
|
# - "| <head>\n" |
149 |
|
|
# - "| <body>\n" |
150 |
|
|
ok 83 |
151 |
|
|
not ok 84 |
152 |
|
|
# Test 84 got: "| <!-- # -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #42) |
153 |
|
|
# Expected: "| <!-- # -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!#) |
154 |
|
|
# Lines 3-3 are missing: |
155 |
|
|
# - "| <head>\n" |
156 |
|
|
# - "| <body>\n" |
157 |
|
|
ok 85 |
158 |
|
|
not ok 86 |
159 |
|
|
# Test 86 got: "| <!-- ?COMMENT? -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #43) |
160 |
|
|
# Expected: "| <!-- ?COMMENT? -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?COMMENT?>) |
161 |
|
|
# Lines 3-3 are missing: |
162 |
|
|
# - "| <head>\n" |
163 |
|
|
# - "| <body>\n" |
164 |
|
|
ok 87 |
165 |
|
|
not ok 88 |
166 |
|
|
# Test 88 got: "| <!-- COMMENT -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #44) |
167 |
|
|
# Expected: "| <!-- COMMENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!COMMENT>) |
168 |
|
|
# Lines 3-3 are missing: |
169 |
|
|
# - "| <head>\n" |
170 |
|
|
# - "| <body>\n" |
171 |
|
|
ok 89 |
172 |
|
|
not ok 90 |
173 |
|
|
# Test 90 got: "| <!-- COMMENT -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #45) |
174 |
|
|
# Expected: "| <!-- COMMENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: </ COMMENT >) |
175 |
|
|
# Lines 3-3 are missing: |
176 |
|
|
# - "| <head>\n" |
177 |
|
|
# - "| <body>\n" |
178 |
|
|
ok 91 |
179 |
|
|
not ok 92 |
180 |
|
|
# Test 92 got: "| <!-- ?COM--MENT? -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #46) |
181 |
|
|
# Expected: "| <!-- ?COM--MENT? -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?COM--MENT?>) |
182 |
|
|
# Lines 3-3 are missing: |
183 |
|
|
# - "| <head>\n" |
184 |
|
|
# - "| <body>\n" |
185 |
|
|
ok 93 |
186 |
|
|
not ok 94 |
187 |
|
|
# Test 94 got: "| <!-- COM--MENT -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #47) |
188 |
|
|
# Expected: "| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!COM--MENT>) |
189 |
|
|
# Lines 3-3 are missing: |
190 |
|
|
# - "| <head>\n" |
191 |
|
|
# - "| <body>\n" |
192 |
|
|
ok 95 |
193 |
|
|
not ok 96 |
194 |
|
|
# Test 96 got: "| <!-- COM--MENT -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #48) |
195 |
|
|
# Expected: "| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: </ COM--MENT >) |
196 |
|
|
# Lines 3-3 are missing: |
197 |
|
|
# - "| <head>\n" |
198 |
|
|
# - "| <body>\n" |
199 |
|
|
not ok 97 |
200 |
|
|
# Test 97 got: "2" (t/HTML-tree.t at line 108 fail #49) |
201 |
|
|
# Expected: "1" (Parse error: <!DOCTYPE HTML><style> EOF; 1:26:in CDATA:#end-of-file, 1:26:not closed:head;27: unexpected end of file while parsing CDATA section for element style) |
202 |
|
|
not ok 98 |
203 |
|
|
# Test 98 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <style>\n| \" EOF\"\n" (t/HTML-tree.t at line 110 fail #49) |
204 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <style>\n| \" EOF\"\n| <body>\n" (Document tree: <!DOCTYPE HTML><style> EOF) |
205 |
|
|
# Line 6 is missing: |
206 |
|
|
# - "| <body>\n" |
207 |
|
|
ok 99 |
208 |
|
|
ok 100 |
209 |
|
|
ok 101 |
210 |
|
|
ok 102 |
211 |
|
|
ok 103 |
212 |
|
|
ok 104 |
213 |
|
|
ok 105 |
214 |
|
|
ok 106 |
215 |
|
|
ok 107 |
216 |
|
|
ok 108 |
217 |
|
|
ok 109 |
218 |
|
|
ok 110 |
219 |
|
|
ok 111 |
220 |
|
|
ok 112 |
221 |
|
|
ok 113 |
222 |
|
|
ok 114 |
223 |
|
|
ok 115 |
224 |
|
|
ok 116 |
225 |
|
|
ok 117 |
226 |
|
|
ok 118 |
227 |
|
|
ok 119 |
228 |
|
|
ok 120 |
229 |
|
|
ok 121 |
230 |
|
|
ok 122 |
231 |
|
|
ok 123 |
232 |
|
|
not ok 124 |
233 |
|
|
# Test 124 got: "| <html>\n" (t/HTML-tree.t at line 110 fail #62) |
234 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: ) |
235 |
|
|
# Lines 2-2 are missing: |
236 |
|
|
# - "| <head>\n" |
237 |
|
|
# - "| <body>\n" |
238 |
|
|
ok 125 |
239 |
|
|
ok 126 |
240 |
|
|
ok 127 |
241 |
|
|
ok 128 |
242 |
|
|
ok 129 |
243 |
|
|
ok 130 |
244 |
|
|
ok 131 |
245 |
|
|
ok 132 |
246 |
|
|
ok 133 |
247 |
|
|
ok 134 |
248 |
|
|
ok 135 |
249 |
|
|
ok 136 |
250 |
|
|
ok 137 |
251 |
|
|
ok 138 |
252 |
|
|
ok 139 |
253 |
|
|
ok 140 |
254 |
|
|
ok 141 |
255 |
|
|
ok 142 |
256 |
|
|
ok 143 |
257 |
|
|
ok 144 |
258 |
|
|
ok 145 |
259 |
|
|
ok 146 |
260 |
|
|
ok 147 |
261 |
|
|
ok 148 |
262 |
|
|
ok 149 |
263 |
|
|
ok 150 |
264 |
|
|
ok 151 |
265 |
|
|
ok 152 |
266 |
|
|
ok 153 |
267 |
|
|
ok 154 |
268 |
|
|
not ok 155 |
269 |
|
|
# Test 155 got: "10" (t/HTML-tree.t at line 108 fail #78) |
270 |
|
|
# Expected: "8" (Parse error: <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe; 1:16:missing DOCTYPE, 1:40:in table:a, 1:40:in a:a, 1:40:unmatched end tag:a, 1:41:in table:#character, 1:42:in table:#character, 1:46:not closed:a, 1:61:in table:#character, 1:69:not closed:a, 1:71:not closed:a;15: missing document type declaration, 39: unexpected node in table context, 39: a element start tag implying a element end tag, 39: unexpected node in table context, 39: mismatched a element end tag (misnested tags across <table> tag), 43: unexpected node in table context, 63: unexpected node in table context, 72: mismatched body element end tag (premature end of file?)) |
271 |
|
|
ok 156 |
272 |
|
|
ok 157 |
273 |
|
|
ok 158 |
274 |
|
|
not ok 159 |
275 |
|
|
# Test 159 got: "10" (t/HTML-tree.t at line 108 fail #80) |
276 |
|
|
# Expected: "6" (Parse error: <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe; 1:8:missing DOCTYPE, 1:23:in table:a, 1:24:in table:#character, 1:25:in table:#character, 1:26:in table:#character, 1:30:not closed:a, 1:55:not closed:a, 1:61:in table:#character, 1:69:not closed:a, 1:71:not closed:a;7: missing document type declaration, 22: unexpected node in table context, 27: unexpected node in table context, 54: unexpected td element end tag implied other end tags, 63: unexpected node in table context, 72: mismatched body element end tag (premature end of file?)) |
277 |
|
|
ok 160 |
278 |
|
|
ok 161 |
279 |
|
|
ok 162 |
280 |
|
|
ok 163 |
281 |
|
|
ok 164 |
282 |
|
|
not ok 165 |
283 |
|
|
# Test 165 got: "2" (t/HTML-tree.t at line 108 fail #83) |
284 |
|
|
# Expected: "1" (Parse error: <title><meta></title><link><title><meta></title>; 1:8:missing DOCTYPE, 1:48:not closed:head;7: missing document type declaration) |
285 |
|
|
not ok 166 |
286 |
|
|
# Test 166 got: "| <html>\n| <head>\n| <title>\n| \"<meta>\"\n| <link>\n| <title>\n| \"<meta>\"\n" (t/HTML-tree.t at line 110 fail #83) |
287 |
|
|
# Expected: "| <html>\n| <head>\n| <title>\n| \"<meta>\"\n| <link>\n| <title>\n| \"<meta>\"\n| <body>\n" (Document tree: <title><meta></title><link><title><meta></title>) |
288 |
|
|
# Line 8 is missing: |
289 |
|
|
# - "| <body>\n" |
290 |
|
|
not ok 167 |
291 |
|
|
# Test 167 got: "2" (t/HTML-tree.t at line 108 fail #84) |
292 |
|
|
# Expected: "1" (Parse error: <style><!--</style><meta><script>--><link></script>; 1:8:missing DOCTYPE, 1:51:not closed:head;7: missing document type declaration) |
293 |
|
|
not ok 168 |
294 |
|
|
# Test 168 got: "| <html>\n| <head>\n| <style>\n| \"<!--\"\n| <meta>\n| <script>\n| \"--><link>\"\n" (t/HTML-tree.t at line 110 fail #84) |
295 |
|
|
# Expected: "| <html>\n| <head>\n| <style>\n| \"<!--\"\n| <meta>\n| <script>\n| \"--><link>\"\n| <body>\n" (Document tree: <style><!--</style><meta><script>--><link></script>) |
296 |
|
|
# Line 8 is missing: |
297 |
|
|
# - "| <body>\n" |
298 |
|
|
ok 169 |
299 |
|
|
not ok 170 |
300 |
|
|
# Test 170 got: "| <html>\n| <head>\n| <meta>\n| <link>\n" (t/HTML-tree.t at line 110 fail #85) |
301 |
|
|
# Expected: "| <html>\n| <head>\n| <meta>\n| <link>\n| <body>\n" (Document tree: <head><meta></head><link>) |
302 |
|
|
# Line 5 is missing: |
303 |
|
|
# - "| <body>\n" |
304 |
|
|
ok 171 |
305 |
|
|
ok 172 |
306 |
|
|
not ok 173 |
307 |
|
|
# Test 173 got: "9" (t/HTML-tree.t at line 108 fail #87) |
308 |
|
|
# Expected: "7" (Parse error: <body><body><base><link><meta><title><p></title><body><p></body>; 1:7:missing DOCTYPE, 1:13:in body:body, 1:19:in body:base, 1:25:in body:link, 1:31:in body:meta, 1:38:in body:title, 1:55:in body:body, 1:64:not closed:p, 1:64:after body:/p;6: missing document type declaration, 12: unexpected body element start tag, 18: base element start tag out of place, 24: link element start tag out of place, 30: meta element start tag out of place, 37: title element start tag out of place, 54: unexpected body element start tag) |
309 |
|
|
ok 174 |
310 |
|
|
ok 175 |
311 |
|
|
ok 176 |
312 |
|
|
ok 177 |
313 |
|
|
ok 178 |
314 |
|
|
not ok 179 |
315 |
|
|
# Test 179 got: "11" (t/HTML-tree.t at line 108 fail #90) |
316 |
|
|
# Expected: "12" (Parse error: <a><table><a></table><p><a><div><a>; 1:4:missing DOCTYPE, 1:14:in table:a, 1:14:in a:a, 1:14:unmatched end tag:a, 1:22:not closed:a, 1:28:in a:a, 1:28:unmatched end tag:a, 1:33:not closed:a, 1:35:in a:a, 1:35:unmatched end tag:a, 1:35:not closed:a;3: missing document type declaration, 13: unexpected node in table context, 13: a element start tag implying a element end tag, 13: unexpected node in table context, 13: mismatched a element end tag (misnested tags across <table> tag), 21: mismatched table element end tag, 27: a element start tag implying a element end tag, 27: mismatched a element end tag (out-of-order end tags), 32: mismatched p element end tag, 35: a element start tag implying a element end tag, 35: mismatched a element end tag (out-of-order end tags), 36: mismatched body element end tag (premature end of file?)) |
317 |
|
|
ok 180 |
318 |
|
|
ok 181 |
319 |
|
|
ok 182 |
320 |
|
|
ok 183 |
321 |
|
|
ok 184 |
322 |
|
|
ok 185 |
323 |
|
|
ok 186 |
324 |
|
|
ok 187 |
325 |
|
|
ok 188 |
326 |
|
|
ok 189 |
327 |
|
|
ok 190 |
328 |
|
|
ok 191 |
329 |
|
|
ok 192 |
330 |
|
|
ok 193 |
331 |
|
|
ok 194 |
332 |
|
|
ok 195 |
333 |
|
|
ok 196 |
334 |
|
|
ok 197 |
335 |
|
|
ok 198 |
336 |
|
|
ok 199 |
337 |
|
|
ok 200 |
338 |
|
|
ok 201 |
339 |
|
|
ok 202 |
340 |
|
|
ok 203 |
341 |
|
|
ok 204 |
342 |
|
|
ok 205 |
343 |
|
|
ok 206 |
344 |
|
|
ok 207 |
345 |
|
|
ok 208 |
346 |
|
|
ok 209 |
347 |
|
|
ok 210 |
348 |
|
|
ok 211 |
349 |
|
|
ok 212 |
350 |
|
|
ok 213 |
351 |
|
|
ok 214 |
352 |
|
|
ok 215 |
353 |
|
|
ok 216 |
354 |
|
|
ok 217 |
355 |
|
|
ok 218 |
356 |
|
|
ok 219 |
357 |
|
|
ok 220 |
358 |
|
|
ok 221 |
359 |
|
|
ok 222 |
360 |
|
|
not ok 223 |
361 |
|
|
# Test 223 got: "112" (t/HTML-tree.t at line 108 fail #112) |
362 |
|
|
# Expected: "109" (Parse error: <table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>; 1:8:missing DOCTYPE, 1:21:in table:strong, 1:21:unmatched end tag:strong, 1:25:in table:b, 1:25:unmatched end tag:b, 1:30:in table:em, 1:30:unmatched end tag:em, 1:34:in table:i, 1:34:unmatched end tag:i, 1:38:in table:u, 1:38:unmatched end tag:u, 1:47:in table:strike, 1:47:not closed:tr, 1:51:in table:s, 1:51:unmatched end tag:s, 1:59:in table:blink, 1:59:not closed:tr, 1:64:in table:tt, 1:64:unmatched end tag:tt, 1:70:in table:pre, 1:70:not closed:tr, 1:76:in table:big, 1:76:unmatched end tag:big, 1:84:in table:small, 1:84:unmatched end tag:small, 1:91:in table:font, 1:91:unmatched end tag:font, 1:100:in table:select, 1:100:unmatched end tag:select, 1:105:in table:h1, 1:105:not closed:tr, 1:110:in table:h2, 1:110:not closed:tr, 1:115:in table:h3, 1:115:not closed:tr, 1:120:in table:h4, 1:120:not closed:tr, 1:125:in table:h5, 1:125:not closed:tr, 1:130:in table:h6, 1:130:not closed:tr, 1:137:unmatched end tag:body, 1:142:in table:br, 1:142:unmatched end tag:br, 1:146:in table:a, 1:146:unmatched end tag:a, 1:152:in table:img, 1:152:unmatched end tag:img, 1:160:in table:title, 1:160:not closed:tr, 1:167:in table:span, 1:167:not closed:tr, 1:175:in table:style, 1:175:not closed:tr, 1:184:in table:script, 1:184:not closed:tr, 1:197:unmatched end tag:th, 1:202:unmatched end tag:td, 1:207:unmatched end tag:tr, 1:215:unmatched end tag:frame, 1:222:unmatched end tag:area, 1:229:not closed:body, 1:237:unmatched end tag:param, 1:242:unmatched end tag:hr, 1:250:unmatched end tag:input, 1:256:unmatched end tag:col, 1:263:not closed:body, 1:270:not closed:body, 1:281:unmatched end tag:basefont, 1:291:unmatched end tag:bgsound, 1:299:unmatched end tag:embed, 1:308:unmatched end tag:spacer, 1:312:not closed:body, 1:317:not closed:body, 1:322:not closed:body, 1:332:unmatched end tag:caption, 1:343:unmatched end tag:colgroup, 1:351:unmatched end tag:tbody, 1:359:unmatched end tag:tfoot, 1:367:unmatched end tag:thead, 1:377:not closed:body, 1:390:not closed:body, 1:399:not closed:body, 1:405:not closed:body, 1:411:not closed:body, 1:416:not closed:body, 1:427:not closed:body, 1:437:not closed:body, 1:444:not closed:body, 1:449:not closed:body, 1:454:not closed:body, 1:459:not closed:body, 1:466:unmatched end tag:nobr, 1:472:unmatched end tag:wbr, 1:479:not closed:body, 1:488:not closed:body, 1:498:not closed:body, 1:507:not closed:body, 1:525:after html:frameset, 1:525:after body:/frameset, 1:525:unmatched end tag:frameset, 1:532:unmatched end tag:head, 1:541:unmatched end tag:iframe, 1:549:unmatched end tag:image, 1:559:unmatched end tag:isindex, 1:569:unmatched end tag:noembed, 1:580:unmatched end tag:noframes, 1:591:not closed:body, 1:602:unmatched end tag:optgroup, 1:611:unmatched end tag:option, 1:623:not closed:body, 1:633:unmatched end tag:textarea;7: missing document type declaration, 20: unexpected node in table context, 20: mismatched strong element end tag (no matching start tag), 24: unexpected node in table context, 24: mismatched b element end tag (no matching start tag), 29: unexpected node in table context, 29: mismatched em element end tag (no matching start tag), 33: unexpected node in table context, 33: mismatched i element end tag (no matching start tag), 37: unexpected node in table context, 37: mismatched u element end tag (no matching start tag), 46: unexpected node in table context, 46: mismatched strike element end tag (no matching start tag), 50: unexpected node in table context, 50: mismatched s element end tag (no matching start tag), 58: unexpected node in table context, 58: unexpected blink element end tag, 63: unexpected node in table context, 63: mismatched tt element end tag (no matching start tag), 69: unexpected node in table context, 69: mismatched pre element end tag, 75: unexpected node in table context, 75: mismatched big element end tag (no matching start tag), 83: unexpected node in table context, 83: mismatched small element end tag (no matching start tag), 90: unexpected node in table context, 90: mismatched font element end tag (no matching start tag), 99: unexpected node in table context, 99: mismatched special end tag select, 104: unexpected node in table context, 104: mismatched h1 element end tag, 109: unexpected node in table context, 109: mismatched h2 element end tag, 114: unexpected node in table context, 114: mismatched h3 element end tag, 119: unexpected node in table context, 119: mismatched h4 element end tag, 124: unexpected node in table context, 124: mismatched h5 element end tag, 129: unexpected node in table context, 129: mismatched h6 element end tag, 136: unexpected body element end tag, 141: unexpected node in table context, 141: unexpected br end tag (that element has no end tag, ever), 145: unexpected node in table context, 145: mismatched a element end tag (no matching start tag), 151: unexpected node in table context, 151: unexpected img end tag (that element has no end tag, ever), 159: unexpected node in table context, 159: unexpected title element end tag, 166: unexpected node in table context, 166: unexpected span element end tag, 174: unexpected node in table context, 174: unexpected style element end tag, 183: unexpected node in table context, 183: unexpected script element end tag, 196: unexpected th element end tag, 201: unexpected td element end tag, 206: unexpected tr element end tag, 214: unexpected frame element end tag, 221: unexpected area end tag (that element has no end tag, ever), 228: unexpected link element end tag, 236: unexpected param end tag (that element has no end tag, ever), 241: unexpected hr end tag (that element has no end tag, ever), 249: unexpected input end tag (that element has no end tag, ever), 255: unexpected col element end tag, 262: unexpected base element end tag, 269: unexpected meta element end tag, 280: unexpected basefont end tag (that element has no end tag, ever), 290: unexpected bgsound end tag (that element has no end tag, ever), 298: unexpected embed end tag (that element has no end tag, ever), 307: unexpected spacer end tag (that element has no end tag, ever), 311: mismatched p element end tag, 316: mismatched dd element end tag, 321: mismatched dt element end tag, 331: unexpected caption element end tag, 342: unexpected colgroup element end tag, 350: unexpected tbody element end tag, 358: unexpected tfoot element end tag, 366: unexpected thead element end tag, 376: mismatched address element end tag, 389: mismatched blockquote element end tag, 398: mismatched center element end tag, 404: mismatched dir element end tag, 410: mismatched div element end tag, 415: mismatched dl element end tag, 426: mismatched fieldset element end tag, 436: mismatched listing element end tag, 443: mismatched menu element end tag, 448: mismatched ol element end tag, 453: mismatched ul element end tag, 458: mismatched li element end tag, 465: mismatched nobr element end tag (no matching start tag), 471: unexpected wbr end tag (that element has no end tag, ever), 478: mismatched form element end tag, 524: unexpected node at end of document, 524: unexpected node after body element end tag, 524: unexpected frameset element end tag, 531: unexpected head element end tag, 540: mismatched special end tag iframe, 548: unexpected image end tag (that element has no end tag, ever), 558: unexpected isindex end tag (that element has no end tag, ever), 568: mismatched special end tag noembed, 579: mismatched special end tag noframes, 590: mismatched special end tag noscript, 601: unexpected optgroup element end tag, 610: unexpected option element end tag, 622: unexpected plaintext element end tag, 633: mismatched special end tag textarea) |
363 |
|
|
ok 224 |
364 |
|
|
ok 225 |
365 |
|
|
ok 226 |
366 |
|
|
ok 227 |
367 |
|
|
ok 228 |
368 |
|
|
ok 229 |
369 |
|
|
ok 230 |
370 |
|
|
ok 231 |
371 |
|
|
ok 232 |
372 |
|
|
ok 233 |
373 |
|
|
ok 234 |
374 |
|
|
not ok 235 |
375 |
|
|
# Test 235 got: "5" (t/HTML-tree.t at line 108 fail #118) |
376 |
|
|
# Expected: "2" (Parse error: <!doctype html><frameset>test; 1:27:in frameset:#character, 1:28:in frameset:#character, 1:29:in frameset:#character, 1:29:in frameset:#character, 1:29:not closed:frameset;frameset can't contain text, Unexpected end of file) |
377 |
|
|
ok 236 |
378 |
|
|
ok 237 |
379 |
|
|
ok 238 |
380 |
|
|
not ok 239 |
381 |
|
|
# Test 239 got: "1" (t/HTML-tree.t at line 108 fail #120) |
382 |
|
|
# Expected: "0" (Parse error: <!doctype html><font><p><b>test</font>; 1:38:not closed:b;) |
383 |
|
|
ok 240 |
384 |
|
|
ok 241 |
385 |
|
|
ok 242 |
386 |
|
|
not ok 243 |
387 |
|
|
# Test 243 got: "4" (t/HTML-tree.t at line 108 fail #122) |
388 |
|
|
# Expected: "3" (Parse error: <script></x; 1:9:missing DOCTYPE, 1:11:unmatched end tag, 1:11:in CDATA:#end-of-file, 1:11:not closed:head;no document type, </ in script, Unexpected end of file. Expected </script> end tag.) |
389 |
|
|
not ok 244 |
390 |
|
|
# Test 244 got: "| <html>\n| <head>\n| <script>\n| \"</x\"\n" (t/HTML-tree.t at line 110 fail #122) |
391 |
|
|
# Expected: "| <html>\n| <head>\n| <script>\n| \"</x\"\n| <body>\n" (Document tree: <script></x) |
392 |
|
|
# Line 5 is missing: |
393 |
|
|
# - "| <body>\n" |
394 |
|
|
not ok 245 |
395 |
|
|
# Test 245 got: "7" (t/HTML-tree.t at line 108 fail #123) |
396 |
|
|
# Expected: "4" (Parse error: <table><plaintext><td>; 1:8:missing DOCTYPE, 1:19:in table:plaintext, 1:20:in table:#character, 1:21:in table:#character, 1:22:in table:#character, 1:22:in table:#character, 1:22:not closed:plaintext;no document type, <plaintext> directly inside table, Characters inside table., Unexpected end of file.) |
397 |
|
|
ok 246 |
398 |
|
|
ok 247 |
399 |
|
|
ok 248 |
400 |
|
|
not ok 249 |
401 |
|
|
# Test 249 got: "5" (t/HTML-tree.t at line 108 fail #125) |
402 |
|
|
# Expected: "2" (Parse error: <!doctype html><table><tr>TEST; 1:28:in table:#character, 1:29:in table:#character, 1:30:in table:#character, 1:30:in table:#character, 1:30:not closed:tbody;TEST can't occur in <tr>, Unexpected end of file.) |
403 |
|
|
ok 250 |
404 |
|
|
ok 251 |
405 |
|
|
not ok 252 |
406 |
|
|
# Test 252 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| t1=\"1\"\n| t2=\"2\"\n| t3=\"3\"\n| t4=\"4\"\n" (t/HTML-tree.t at line 110 fail #126) |
407 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| t4=\"4\"\n| t2=\"2\"\n| t3=\"3\"\n| t1=\"1\"\n" (Document tree: <!doctype html><body t1=1><body t2=2><body t3=3 t4=4>) |
408 |
|
|
# Line 5 is changed: |
409 |
|
|
# - "| t4=\"4\"\n" |
410 |
|
|
# + "| t1=\"1\"\n" |
411 |
|
|
# Line 8 is changed: |
412 |
|
|
# - "| t1=\"1\"\n" |
413 |
|
|
# + "| t4=\"4\"\n" |
414 |
|
|
ok 253 |
415 |
|
|
not ok 254 |
416 |
|
|
# Test 254 got: "| <html>\n" (t/HTML-tree.t at line 110 fail #127) |
417 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: </b test) |
418 |
|
|
# Lines 2-2 are missing: |
419 |
|
|
# - "| <head>\n" |
420 |
|
|
# - "| <body>\n" |
421 |
|
|
ok 255 |
422 |
|
|
ok 256 |
423 |
|
|
not ok 257 |
424 |
|
|
# Test 257 got: "3" (t/HTML-tree.t at line 108 fail #129) |
425 |
|
|
# Expected: "2" (Parse error: <!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt; 1:10:no space before DOCTYPE name, 1:54:unclosed tag, 1:54:not closed:head;No space after literal DOCTYPE., Unexpected EOF in (end) tag name) |
426 |
|
|
not ok 258 |
427 |
|
|
# Test 258 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <script>\n| type=\"text/x-foobar;baz\"\n| \"X\"\n" (t/HTML-tree.t at line 110 fail #129) |
428 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <script>\n| type=\"text/x-foobar;baz\"\n| \"X\"\n| <body>\n" (Document tree: <!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt) |
429 |
|
|
# Line 7 is missing: |
430 |
|
|
# - "| <body>\n" |
431 |
|
|
ok 259 |
432 |
|
|
ok 260 |
433 |
|
|
ok 261 |
434 |
|
|
ok 262 |
435 |
|
|
ok 263 |
436 |
|
|
ok 264 |
437 |
|
|
ok 265 |
438 |
|
|
ok 266 |
439 |
|
|
ok 267 |
440 |
|
|
ok 268 |
441 |
|
|
ok 269 |
442 |
|
|
ok 270 |
443 |
|
|
ok 271 |
444 |
|
|
ok 272 |
445 |
|
|
ok 273 |
446 |
|
|
ok 274 |
447 |
|
|
ok 275 |
448 |
|
|
ok 276 |
449 |
|
|
ok 277 |
450 |
|
|
ok 278 |
451 |
|
|
ok 279 |
452 |
|
|
not ok 280 |
453 |
|
|
# Test 280 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <p>\n| <b>\n| <i>\n| <u>\n| <b>\n| <i>\n| <u>\n| \" \"\n| <p>\n| \"X\"\n" (t/HTML-tree.t at line 110 fail #140) |
454 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <p>\n| <b>\n| <i>\n| <u>\n| \" \"\n| <p>\n| <b>\n| <i>\n| <u>\n| \"X\"\n" (Document tree: <!doctype html><p><b><i><u></p> <p>X) |
455 |
|
|
# Lines 9-13 are changed: |
456 |
|
|
# - "| \" \"\n" |
457 |
|
|
# + "| <b>\n" |
458 |
|
|
# - "| <p>\n" |
459 |
|
|
# + "| <i>\n" |
460 |
|
|
# - "| <b>\n" |
461 |
|
|
# + "| <u>\n" |
462 |
|
|
# - "| <i>\n" |
463 |
|
|
# + "| \" \"\n" |
464 |
|
|
# - "| <u>\n" |
465 |
|
|
# + "| <p>\n" |
466 |
|
|
ok 281 |
467 |
|
|
ok 282 |
468 |
|
|
ok 283 |
469 |
|
|
ok 284 |
470 |
|
|
ok 285 |
471 |
|
|
ok 286 |
472 |
|
|
ok 287 |
473 |
|
|
ok 288 |
474 |
|
|
ok 289 |
475 |
|
|
ok 290 |
476 |
|
|
ok 291 |
477 |
|
|
not ok 292 |
478 |
|
|
# Test 292 got: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #146) |
479 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!doctype html><!-- X) |
480 |
|
|
# Lines 4-4 are missing: |
481 |
|
|
# - "| <head>\n" |
482 |
|
|
# - "| <body>\n" |
483 |
|
|
ok 293 |
484 |
|
|
ok 294 |
485 |
|
|
ok 295 |
486 |
|
|
ok 296 |
487 |
|
|
ok 297 |
488 |
|
|
ok 298 |
489 |
|
|
ok 299 |
490 |
|
|
ok 300 |
491 |
|
|
ok 301 |
492 |
|
|
ok 302 |
493 |
|
|
ok 303 |
494 |
|
|
not ok 304 |
495 |
|
|
# Test 304 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #152) |
496 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DoctypE html><!-- XXX - XXX -->) |
497 |
|
|
# Lines 4-4 are missing: |
498 |
|
|
# - "| <head>\n" |
499 |
|
|
# - "| <body>\n" |
500 |
|
|
ok 305 |
501 |
|
|
not ok 306 |
502 |
|
|
# Test 306 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #153) |
503 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DoctypE html><!-- XXX - XXX) |
504 |
|
|
# Lines 4-4 are missing: |
505 |
|
|
# - "| <head>\n" |
506 |
|
|
# - "| <body>\n" |
507 |
|
|
ok 307 |
508 |
|
|
not ok 308 |
509 |
|
|
# Test 308 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #154) |
510 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DoctypE html><!-- XXX - XXX - XXX -->) |
511 |
|
|
# Lines 4-4 are missing: |
512 |
|
|
# - "| <head>\n" |
513 |
|
|
# - "| <body>\n" |
514 |
|
|
ok 309 |
515 |
|
|
not ok 310 |
516 |
|
|
# Test 310 got: "| <html>\n| <head>\n| <body>\n| <form>\n| <hr>\n| <p>\n| <label>\n| \"This is a searchable index. Insert your search keywords here: \"\n| <input>\n| name=\"isindex\"\n| test=\"x\"\n| <hr>\n" (t/HTML-tree.t at line 110 fail #155) |
517 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n| <form>\n| <hr>\n| <p>\n| <label>\n| \"This is a searchable index. Insert your search keywords here:\"\n| <input>\n| test=\"x\"\n| name=\"isindex\"\n| <hr>\n" (Document tree: <isindex test=x name=x>) |
518 |
|
|
# Line 8 is changed: |
519 |
|
|
# - "| \"This is a searchable index. Insert your search keywords here:\"\n" |
520 |
|
|
# + "| \"This is a searchable index. Insert your search keywords here: \"\n" |
521 |
|
|
# Got 1 extra line at line 10: |
522 |
|
|
# + "| name=\"isindex\"\n" |
523 |
|
|
# Line 12 is missing: |
524 |
|
|
# - "| name=\"isindex\"\n" |
525 |
|
|
ok 311 |
526 |
|
|
ok 312 |
527 |
|
|
ok 313 |
528 |
|
|
not ok 314 |
529 |
|
|
# Test 314 got: "| <html>\n| <head>\n| <body>\n| <p>\n| <b>\n| <i>\n| <u>\n| <b>\n| <i>\n| <u>\n| \"\n\"\n| <p>\n| \"X\"\n" (t/HTML-tree.t at line 110 fail #157) |
530 |
|
|
# Expected: "| <html>\n| <head>\n| <body>\n| <p>\n| <b>\n| <i>\n| <u>\n| \"\n\"\n| <p>\n| <b>\n| <i>\n| <u>\n| \"X\"\n" (Document tree: <p><b><i><u></p> |
531 |
|
|
#<p>X) |
532 |
|
|
# Line 8 is changed: |
533 |
|
|
# - "| \"\n" |
534 |
|
|
# + "| <b>\n" |
535 |
|
|
# Got 3 extra lines at line 9: |
536 |
|
|
# + "| <i>\n" |
537 |
|
|
# + "| <u>\n" |
538 |
|
|
# + "| \"\n" |
539 |
|
|
# Line 13 is changed: |
540 |
|
|
# - "| <p>\n" |
541 |
|
|
# + "| <p>\n" |
542 |
|
|
# Lines 14-14 are missing: |
543 |
|
|
# - "| <b>\n" |
544 |
|
|
# - "| <i>\n" |
545 |
|
|
# - "| <u>\n" |
546 |
|
|
ok 315 |
547 |
|
|
ok 316 |
548 |
|
|
ok 317 |
549 |
|
|
ok 318 |
550 |
|
|
ok 319 |
551 |
|
|
ok 320 |
552 |
|
|
ok 321 |
553 |
|
|
not ok 322 |
554 |
|
|
# Test 322 got: "| \" \n \"\n| <html>\n" (t/HTML-tree.t at line 110 fail #161) |
555 |
|
|
# Expected: "| \" \n \"\n| <html>\n| <head>\n| <body>\n" (Document tree: |
556 |
|
|
# ) |
557 |
|
|
# Lines 4-4 are missing: |
558 |
|
|
# - "| <head>\n" |
559 |
|
|
# - "| <body>\n" |
560 |
|
|
ok 323 |
561 |
|
|
not ok 324 |
562 |
|
|
# Test 324 got: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n" (t/HTML-tree.t at line 110 fail #162) |
563 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n| <head>\n| <body>\n" (Document tree: <!doctype html> <html>) |
564 |
|
|
# Lines 4-4 are missing: |
565 |
|
|
# - "| <head>\n" |
566 |
|
|
# - "| <body>\n" |
567 |
|
|
ok 325 |
568 |
|
|
not ok 326 |
569 |
|
|
# Test 326 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <script>\n| \"\n\"\n| \" \"\n| <title>\n| \"x\"\n| \" \"\n" (t/HTML-tree.t at line 110 fail #163) |
570 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <script>\n| \"\n\"\n| \" \"\n| <title>\n| \"x\"\n| \" \"\n| <body>\n" (Document tree: <!doctype html><script> |
571 |
|
|
#</script> <title>x</title> </head>) |
572 |
|
|
# Line 11 is missing: |
573 |
|
|
# - "| <body>\n" |
574 |
|
|
not ok 327 |
575 |
|
|
# Test 327 got: "0" (t/HTML-tree.t at line 108 fail #164) |
576 |
|
|
# Expected: "1" (Parse error: <!doctype html><html><body><html id=x>; ;duplicate html start tag) |
577 |
|
|
ok 328 |
578 |
|
|
not ok 329 |
579 |
|
|
# Test 329 got: "0" (t/HTML-tree.t at line 108 fail #165) |
580 |
|
|
# Expected: "2" (Parse error: <!doctype html>X</body><html id="x">; ;Unexpected html start tag in the after body phase., html needs to be the first start tag.) |
581 |
|
|
ok 330 |
582 |
|
|
ok 331 |
583 |
|
|
not ok 332 |
584 |
|
|
# Test 332 got: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n" (t/HTML-tree.t at line 110 fail #166) |
585 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n| <body>\n" (Document tree: <!doctype html><head><html id=x>) |
586 |
|
|
# Line 5 is missing: |
587 |
|
|
# - "| <body>\n" |
588 |
|
|
ok 333 |
589 |
|
|
ok 334 |
590 |
|
|
ok 335 |
591 |
|
|
ok 336 |
592 |
|
|
ok 337 |
593 |
|
|
ok 338 |
594 |
|
|
ok 339 |
595 |
|
|
not ok 340 |
596 |
|
|
# Test 340 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| \"X\"\n| <p>\n| x=\"\"\n| y=\"\"\n| z=\"\"\n" (t/HTML-tree.t at line 110 fail #170) |
597 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| \"X\"\n| <p>\n| y=\"\"\n| x=\"\"\n| z=\"\"\n" (Document tree: <!doctype html>X<p/x/y/z>) |
598 |
|
|
# Got 1 extra line at line 7: |
599 |
|
|
# + "| x=\"\"\n" |
600 |
|
|
# Line 9 is missing: |
601 |
|
|
# - "| x=\"\"\n" |
602 |
|
|
ok 341 |
603 |
|
|
not ok 342 |
604 |
|
|
# Test 342 got: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n" (t/HTML-tree.t at line 110 fail #171) |
605 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!doctype html><!--x--) |
606 |
|
|
# Lines 4-4 are missing: |
607 |
|
|
# - "| <head>\n" |
608 |
|
|
# - "| <body>\n" |
609 |
|
|
ok 343 |
610 |
|
|
ok 344 |
611 |
|
|
ok 345 |
612 |
|
|
not ok 346 |
613 |
|
|
# Test 346 got: "| <html>\n| <head>\n| <style>\n" (t/HTML-tree.t at line 110 fail #173) |
614 |
|
|
# Expected: "| <html>\n| <head>\n| <style>\n| <body>\n" (Document tree: <head></head><style></style>) |
615 |
|
|
# Line 4 is missing: |
616 |
|
|
# - "| <body>\n" |
617 |
|
|
ok 347 |
618 |
|
|
not ok 348 |
619 |
|
|
# Test 348 got: "| <html>\n| <head>\n| <script>\n" (t/HTML-tree.t at line 110 fail #174) |
620 |
|
|
# Expected: "| <html>\n| <head>\n| <script>\n| <body>\n" (Document tree: <head></head><script></script>) |
621 |
|
|
# Line 4 is missing: |
622 |
|
|
# - "| <body>\n" |
623 |
|
|
ok 349 |
624 |
|
|
not ok 350 |
625 |
|
|
# Test 350 got: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n" (t/HTML-tree.t at line 110 fail #175) |
626 |
|
|
# Expected: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n| <body>\n" (Document tree: <head></head><!-- --><style></style><!-- --><script></script>) |
627 |
|
|
# Line 7 is missing: |
628 |
|
|
# - "| <body>\n" |
629 |
|
|
ok 351 |
630 |
|
|
ok 352 |
631 |
|
|
ok 353 |
632 |
|
|
ok 354 |
633 |
|
|
ok 355 |
634 |
|
|
not ok 356 |
635 |
|
|
# Test 356 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"\nfoo\"\n" (t/HTML-tree.t at line 110 fail #178) |
636 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"foo\"\n" (Document tree: <!DOCTYPE html><html><head></head><body><pre> |
637 |
|
|
# |
638 |
|
|
#foo</pre></body></html>) |
639 |
|
|
# Line 6 is changed: |
640 |
|
|
# - "| \"foo\"\n" |
641 |
|
|
# + "| \"\n" |
642 |
|
|
# Got 1 extra line at line 7: |
643 |
|
|
# + "foo\"\n" |
644 |
|
|
ok 357 |
645 |
|
|
not ok 358 |
646 |
|
|
# Test 358 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"\nfoo\n\"\n" (t/HTML-tree.t at line 110 fail #179) |
647 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"foo\n\"\n" (Document tree: <!DOCTYPE html><html><head></head><body><pre> |
648 |
|
|
# |
649 |
|
|
#foo |
650 |
|
|
#</pre></body></html>) |
651 |
|
|
# Line 6 is changed: |
652 |
|
|
# - "| \"foo\n" |
653 |
|
|
# + "| \"\n" |
654 |
|
|
# Got 1 extra line at line 7: |
655 |
|
|
# + "foo\n" |
656 |
|
|
ok 359 |
657 |
|
|
ok 360 |
658 |
|
|
ok 361 |
659 |
|
|
ok 362 |
660 |
|
|
not ok 363 |
661 |
|
|
# Test 363 got: "1" (t/HTML-tree.t at line 108 fail #182) |
662 |
|
|
# Expected: "0" (Parse error: <!DOCTYPE html><html><head></head><body><pre>x<div> |
663 |
|
|
#y</pre></body></html>; 2:8:not closed:div;) |
664 |
|
|
not ok 364 |
665 |
|
|
# Test 364 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"x\"\n| <div>\n| \"\ny\"\n" (t/HTML-tree.t at line 110 fail #182) |
666 |
|
|
# Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"x\"\n| <div>\n| \"\n| y\"\n" (Document tree: <!DOCTYPE html><html><head></head><body><pre>x<div> |
667 |
|
|
#y</pre></body></html>) |
668 |
|
|
# Line 9 is changed: |
669 |
|
|
# - "| y\"\n" |
670 |
|
|
# + "y\"\n" |
671 |
|
|
not ok 365 |
672 |
|
|
# Test 365 got: "1" (t/HTML-tree.t at line 108 fail #183) |
673 |
|
|
# Expected: "0" (Parse error: <!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>; 1:34:in head:head;) |
674 |
|
|
ok 366 |
675 |
|
|
not ok 367 |
676 |
|
|
# Test 367 got: "1" (t/HTML-tree.t at line 108 fail #184) |
677 |
|
|
# Expected: "0" (Parse error: <!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>; 1:34:in head:head;) |
678 |
|
|
ok 368 |
679 |
|
|
not ok 369 |
680 |
|
|
# Test 369 got: "3" (t/HTML-tree.t at line 108 fail #185) |
681 |
|
|
# Expected: "0" (Parse error: <textarea>foo<span>bar</span><i>baz; 1:11:missing DOCTYPE, 1:25:unmatched end tag, 1:35:in RCDATA:#end-of-file;) |
682 |
|
|
ok 370 |
683 |
|
|
not ok 371 |
684 |
|
|
# Test 371 got: "4" (t/HTML-tree.t at line 108 fail #186) |
685 |
|
|
# Expected: "0" (Parse error: <title>foo<span>bar</em><i>baz; 1:8:missing DOCTYPE, 1:22:unmatched end tag, 1:30:in RCDATA:#end-of-file, 1:30:not closed:head;) |
686 |
|
|
not ok 372 |
687 |
|
|
# Test 372 got: "| <html>\n| <head>\n| <title>\n| \"foo<span>bar</em><i>baz\"\n" (t/HTML-tree.t at line 110 fail #186) |
688 |
|
|
# Expected: "| <html>\n| <head>\n| <title>\n| \"foo<span>bar</em><i>baz\"\n| <body>\n" (Document tree: <title>foo<span>bar</em><i>baz) |
689 |
|
|
# Line 5 is missing: |
690 |
|
|
# - "| <body>\n" |
691 |
|
|
ok 373 |
692 |
|
|
ok 374 |
693 |
|
|
ok 375 |
694 |
|
|
ok 376 |
695 |
|
|
not ok 377 |
696 |
|
|
# Test 377 got: "1" (t/HTML-tree.t at line 108 fail #189) |
697 |
|
|
# Expected: "0" (Parse error: textarea content with <em>pseudo</em> <foo>markup; 1:35:unmatched end tag;) |
698 |
|
|
ok 378 |
699 |
|
|
ok 379 |
700 |
|
|
ok 380 |
701 |
|
|
ok 381 |
702 |
|
|
ok 382 |
703 |
|
|
ok 383 |
704 |
|
|
ok 384 |
705 |
|
|
not ok 385 |
706 |
|
|
# Test 385 got: "1" (t/HTML-tree.t at line 108 fail #193) |
707 |
|
|
# Expected: "0" (Parse error: <title>setting head's innerHTML</title>; 1:8:in body:title;) |
708 |
|
|
ok 386 |
709 |
|
|
ok 387 |
710 |
|
|
ok 388 |
711 |
|
|
ok 389 |
712 |
|
|
ok 390 |
713 |
|
|
ok 391 |
714 |
|
|
ok 392 |
715 |
|
|
ok 393 |
716 |
|
|
ok 394 |
717 |
|
|
ok 395 |
718 |
|
|
ok 396 |
719 |
|
|
ok 397 |
720 |
|
|
ok 398 |
721 |
|
|
ok 399 |
722 |
|
|
ok 400 |
723 |
|
|
ok 401 |
724 |
|
|
ok 402 |
725 |
|
|
ok 403 |
726 |
|
|
ok 404 |
727 |
|
|
ok 405 |
728 |
|
|
ok 406 |
729 |
|
|
ok 407 |
730 |
|
|
ok 408 |
731 |
|
|
ok 409 |
732 |
|
|
ok 410 |
733 |
|
|
ok 411 |
734 |
|
|
ok 412 |
735 |
|
|
ok 413 |
736 |
|
|
ok 414 |
737 |
|
|
ok 415 |
738 |
|
|
ok 416 |
739 |
|
|
ok 417 |
740 |
|
|
ok 418 |
741 |
|
|
ok 419 |
742 |
|
|
ok 420 |
743 |
|
|
ok 421 |
744 |
|
|
ok 422 |
745 |
|
|
ok 423 |
746 |
|
|
ok 424 |
747 |
|
|
ok 425 |
748 |
|
|
ok 426 |
749 |
|
|
ok 427 |
750 |
|
|
ok 428 |
751 |
|
|
ok 429 |
752 |
|
|
ok 430 |
753 |
|
|
ok 431 |
754 |
|
|
ok 432 |
755 |
|
|
ok 433 |
756 |
|
|
ok 434 |
757 |
|
|
ok 435 |
758 |
|
|
ok 436 |
759 |
|
|
ok 437 |
760 |
|
|
ok 438 |
761 |
|
|
ok 439 |
762 |
|
|
ok 440 |
763 |
|
|
ok 441 |
764 |
|
|
ok 442 |
765 |
|
|
ok 443 |
766 |
|
|
ok 444 |
767 |
|
|
ok 445 |
768 |
|
|
ok 446 |
769 |
|
|
ok 447 |
770 |
|
|
ok 448 |
771 |
|
|
ok 449 |
772 |
|
|
ok 450 |
773 |
|
|
ok 451 |
774 |
|
|
ok 452 |
775 |
|
|
ok 453 |
776 |
|
|
ok 454 |
777 |
|
|
ok 455 |
778 |
|
|
ok 456 |
779 |
|
|
ok 457 |
780 |
|
|
ok 458 |
781 |
wakaba |
1.3 |
ok 459 |
782 |
|
|
ok 460 |
783 |
|
|
ok 461 |
784 |
|
|
ok 462 |
785 |
|
|
ok 463 |
786 |
|
|
ok 464 |
787 |
|
|
ok 465 |
788 |
|
|
ok 466 |
789 |
|
|
ok 467 |
790 |
|
|
ok 468 |
791 |
|
|
ok 469 |
792 |
|
|
ok 470 |