/[suikacvs]/markup/html/whatpm/t/tree-construction-result.txt
Suika

Contents of /markup/html/whatpm/t/tree-construction-result.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.26 - (hide annotations) (download)
Sat Jun 23 16:42:44 2007 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.25: +13 -44 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	23 Jun 2007 16:36:55 -0000
	* tree-test-1.dat: Some test results are changed
	since <base>, <link>, and <meta> in body
	are no longer appended to the head element pointer (HTML5
	revision 935).

	* content-model-2.dat: Tests for |scoped|
	attribute are added (HTML5 revision 938).

2007-06-24  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	23 Jun 2007 16:37:20 -0000
	* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
	in body).

	* ContentChecker.pm: HTML5 revision 938 (scoped="").

2007-06-24  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.6 1..472
2 wakaba 1.1 # Running under perl version 5.008007 for linux
3 wakaba 1.26 # Current time local: Sun Jun 24 01:40:56 2007
4     # Current time GMT: Sat Jun 23 16:40:56 2007
5 wakaba 1.1 # Using Test.pm version 1.25
6 wakaba 1.16 # t/tokenizer-test-2.dat
7 wakaba 1.1 ok 1
8 wakaba 1.12 ok 2
9 wakaba 1.1 ok 3
10     ok 4
11     ok 5
12     ok 6
13     ok 7
14 wakaba 1.11 ok 8
15     ok 9
16 wakaba 1.16 ok 10
17     ok 11
18     ok 12
19 wakaba 1.11 ok 13
20     ok 14
21 wakaba 1.16 ok 15
22     ok 16
23 wakaba 1.11 ok 17
24 wakaba 1.16 ok 18
25 wakaba 1.1 ok 19
26     ok 20
27     ok 21
28     ok 22
29     ok 23
30     ok 24
31     ok 25
32     ok 26
33     ok 27
34     ok 28
35 wakaba 1.17 # t/tree-construction/tests1.dat
36 wakaba 1.1 ok 29
37     ok 30
38     ok 31
39 wakaba 1.17 ok 32
40     ok 33
41     ok 34
42     ok 35
43     not ok 36
44     # Test 36 got: "| <html>\n" (t/HTML-tree.t at line 135 fail #18)
45 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <html>)
46 wakaba 1.1 # Lines 2-2 are missing:
47     # - "| <head>\n"
48     # - "| <body>\n"
49 wakaba 1.16 # t/HTML-tree.t line 135 is: ok $result, $test->{document}, 'Document tree: ' . $test->{data};
50 wakaba 1.17 not ok 37
51     # Test 37 got: "2" (t/HTML-tree.t at line 133 fail #19)
52 wakaba 1.20 # Expected: "1" (Parse error: <head>; 1:6:no DOCTYPE, 1:6:not closed:head;6: missing document type declaration)
53 wakaba 1.16 # t/HTML-tree.t line 133 is: join (', ', @errors) . ';' . join (', ', @{$test->{errors}});
54 wakaba 1.17 not ok 38
55     # Test 38 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 135 fail #19)
56 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <head>)
57     # Line 3 is missing:
58     # - "| <body>\n"
59 wakaba 1.17 ok 39
60     ok 40
61     not ok 41
62     # Test 41 got: "2" (t/HTML-tree.t at line 133 fail #21)
63 wakaba 1.20 # Expected: "1" (Parse error: <html><head>; 1:7:no DOCTYPE, 1:12:not closed:head;6: missing document type declaration)
64 wakaba 1.17 not ok 42
65     # Test 42 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 135 fail #21)
66 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <html><head>)
67     # Line 3 is missing:
68 wakaba 1.1 # - "| <body>\n"
69 wakaba 1.17 ok 43
70     not ok 44
71     # Test 44 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 135 fail #22)
72 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: <html><head></head>)
73     # Line 3 is missing:
74     # - "| <body>\n"
75     ok 45
76     ok 46
77 wakaba 1.1 ok 47
78     ok 48
79     ok 49
80     ok 50
81 wakaba 1.23 not ok 51
82     # Test 51 got: "1" (t/HTML-tree.t at line 133 fail #26)
83     # Expected: "2" (Parse error: <html><head></body></html>; 1:7:no DOCTYPE;6: missing document type declaration, 19: unexpected body element end tag in head)
84 wakaba 1.1 ok 52
85 wakaba 1.11 ok 53
86     ok 54
87 wakaba 1.16 ok 55
88     ok 56
89     ok 57
90 wakaba 1.17 ok 58
91     ok 59
92     ok 60
93 wakaba 1.23 not ok 61
94     # Test 61 got: "1" (t/HTML-tree.t at line 133 fail #31)
95     # Expected: "2" (Parse error: </head>; 1:7:no DOCTYPE;7: missing document type declaration, 7: unexpected head element end tag)
96 wakaba 1.17 not ok 62
97 wakaba 1.23 # Test 62 got: "| <html>\n| <head>\n" (t/HTML-tree.t at line 135 fail #31)
98 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: </head>)
99 wakaba 1.23 # Line 3 is missing:
100 wakaba 1.16 # - "| <body>\n"
101 wakaba 1.23 not ok 63
102     # Test 63 got: "1" (t/HTML-tree.t at line 133 fail #32)
103     # Expected: "2" (Parse error: </body>; 1:7:no DOCTYPE;7: missing document type declaration, 7: unexpected body element end tag)
104     ok 64
105 wakaba 1.16 ok 65
106 wakaba 1.11 ok 66
107 wakaba 1.17 ok 67
108     ok 68
109     ok 69
110     ok 70
111 wakaba 1.25 ok 71
112     ok 72
113 wakaba 1.1 ok 73
114     ok 74
115     ok 75
116 wakaba 1.11 ok 76
117 wakaba 1.17 ok 77
118     ok 78
119     ok 79
120     ok 80
121 wakaba 1.25 ok 81
122     ok 82
123 wakaba 1.1 ok 83
124 wakaba 1.16 ok 84
125 wakaba 1.1 ok 85
126 wakaba 1.16 ok 86
127 wakaba 1.17 ok 87
128 wakaba 1.16 ok 88
129 wakaba 1.17 ok 89
130 wakaba 1.16 ok 90
131 wakaba 1.17 not ok 91
132     # Test 91 got: "17" (t/HTML-tree.t at line 133 fail #46)
133 wakaba 1.20 # Expected: "9" (Parse error: <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->; 1:7:dash in comment, 1:15:no 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?))
134 wakaba 1.16 ok 92
135 wakaba 1.17 not ok 93
136 wakaba 1.22 # Test 93 got: "1" (t/HTML-tree.t at line 133 fail #47)
137     # Expected: "0" (Parse error: <!DOCTYPE HTML><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->; 1:70:after body:/li;)
138 wakaba 1.16 ok 94
139 wakaba 1.1 ok 95
140 wakaba 1.16 ok 96
141 wakaba 1.11 ok 97
142 wakaba 1.16 ok 98
143     ok 99
144 wakaba 1.17 ok 100
145 wakaba 1.16 ok 101
146 wakaba 1.17 ok 102
147 wakaba 1.1 ok 103
148 wakaba 1.16 not ok 104
149 wakaba 1.17 # Test 104 got: "| <!-- # -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #52)
150     # Expected: "| <!-- # -->\n| <html>\n| <head>\n| <body>\n" (Document tree: </#)
151 wakaba 1.16 # Lines 3-3 are missing:
152     # - "| <head>\n"
153     # - "| <body>\n"
154 wakaba 1.1 ok 105
155 wakaba 1.16 not ok 106
156 wakaba 1.17 # Test 106 got: "| <!-- ? -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #53)
157     # Expected: "| <!-- ? -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?)
158 wakaba 1.16 # Lines 3-3 are missing:
159     # - "| <head>\n"
160     # - "| <body>\n"
161 wakaba 1.1 ok 107
162 wakaba 1.16 not ok 108
163 wakaba 1.17 # Test 108 got: "| <!-- ?# -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #54)
164     # Expected: "| <!-- ?# -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?#)
165 wakaba 1.16 # Lines 3-3 are missing:
166     # - "| <head>\n"
167     # - "| <body>\n"
168 wakaba 1.1 ok 109
169 wakaba 1.16 not ok 110
170 wakaba 1.17 # Test 110 got: "| <!-- -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #55)
171     # Expected: "| <!-- -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!)
172 wakaba 1.16 # Lines 3-3 are missing:
173     # - "| <head>\n"
174     # - "| <body>\n"
175 wakaba 1.1 ok 111
176 wakaba 1.16 not ok 112
177 wakaba 1.17 # Test 112 got: "| <!-- # -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #56)
178     # Expected: "| <!-- # -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!#)
179 wakaba 1.16 # Lines 3-3 are missing:
180     # - "| <head>\n"
181     # - "| <body>\n"
182 wakaba 1.1 ok 113
183 wakaba 1.16 not ok 114
184 wakaba 1.17 # Test 114 got: "| <!-- ?COMMENT? -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #57)
185     # Expected: "| <!-- ?COMMENT? -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?COMMENT?>)
186 wakaba 1.16 # Lines 3-3 are missing:
187     # - "| <head>\n"
188     # - "| <body>\n"
189 wakaba 1.1 ok 115
190 wakaba 1.16 not ok 116
191 wakaba 1.17 # Test 116 got: "| <!-- COMMENT -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #58)
192     # Expected: "| <!-- COMMENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!COMMENT>)
193 wakaba 1.16 # Lines 3-3 are missing:
194     # - "| <head>\n"
195     # - "| <body>\n"
196 wakaba 1.1 ok 117
197 wakaba 1.16 not ok 118
198 wakaba 1.17 # Test 118 got: "| <!-- COMMENT -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #59)
199     # Expected: "| <!-- COMMENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: </ COMMENT >)
200 wakaba 1.16 # Lines 3-3 are missing:
201     # - "| <head>\n"
202     # - "| <body>\n"
203 wakaba 1.1 ok 119
204 wakaba 1.16 not ok 120
205 wakaba 1.17 # Test 120 got: "| <!-- ?COM--MENT? -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #60)
206     # Expected: "| <!-- ?COM--MENT? -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <?COM--MENT?>)
207     # Lines 3-3 are missing:
208     # - "| <head>\n"
209     # - "| <body>\n"
210     ok 121
211     not ok 122
212     # Test 122 got: "| <!-- COM--MENT -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #61)
213     # Expected: "| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!COM--MENT>)
214     # Lines 3-3 are missing:
215     # - "| <head>\n"
216     # - "| <body>\n"
217     ok 123
218     not ok 124
219     # Test 124 got: "| <!-- COM--MENT -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #62)
220 wakaba 1.16 # Expected: "| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>\n" (Document tree: </ COM--MENT >)
221     # Lines 3-3 are missing:
222     # - "| <head>\n"
223     # - "| <body>\n"
224 wakaba 1.17 not ok 125
225     # Test 125 got: "2" (t/HTML-tree.t at line 133 fail #63)
226 wakaba 1.16 # 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)
227 wakaba 1.17 not ok 126
228     # Test 126 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <style>\n| \" EOF\"\n" (t/HTML-tree.t at line 135 fail #63)
229 wakaba 1.16 # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <style>\n| \" EOF\"\n| <body>\n" (Document tree: <!DOCTYPE HTML><style> EOF)
230     # Line 6 is missing:
231     # - "| <body>\n"
232 wakaba 1.17 not ok 127
233     # Test 127 got: "0" (t/HTML-tree.t at line 133 fail #64)
234 wakaba 1.16 # Expected: "1" (Parse error: <!DOCTYPE HTML><script> <!-- </script> --> </script> EOF; ;52: unexpected script element end tag)
235 wakaba 1.1 ok 128
236     ok 129
237     ok 130
238     ok 131
239     ok 132
240     ok 133
241     ok 134
242     ok 135
243     ok 136
244     ok 137
245     ok 138
246     ok 139
247     ok 140
248     ok 141
249     ok 142
250     ok 143
251     ok 144
252     ok 145
253     ok 146
254     ok 147
255 wakaba 1.17 ok 148
256     ok 149
257     ok 150
258     ok 151
259     not ok 152
260     # Test 152 got: "| <html>\n" (t/HTML-tree.t at line 135 fail #76)
261 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: )
262     # Lines 2-2 are missing:
263     # - "| <head>\n"
264     # - "| <body>\n"
265 wakaba 1.1 ok 153
266     ok 154
267 wakaba 1.11 ok 155
268     ok 156
269 wakaba 1.16 ok 157
270 wakaba 1.1 ok 158
271 wakaba 1.11 ok 159
272     ok 160
273 wakaba 1.16 ok 161
274 wakaba 1.1 ok 162
275     ok 163
276     ok 164
277 wakaba 1.11 ok 165
278     ok 166
279 wakaba 1.16 ok 167
280     ok 168
281     ok 169
282     ok 170
283     ok 171
284     ok 172
285     ok 173
286     ok 174
287     ok 175
288     ok 176
289     ok 177
290     ok 178
291 wakaba 1.17 ok 179
292 wakaba 1.16 ok 180
293     ok 181
294     ok 182
295     not ok 183
296     # Test 183 got: "10" (t/HTML-tree.t at line 133 fail #92)
297 wakaba 1.20 # Expected: "8" (Parse error: <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe; 1:16:no 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?))
298 wakaba 1.16 ok 184
299     ok 185
300     ok 186
301 wakaba 1.17 not ok 187
302     # Test 187 got: "10" (t/HTML-tree.t at line 133 fail #94)
303 wakaba 1.20 # Expected: "6" (Parse error: <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe; 1:8:no 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?))
304 wakaba 1.16 ok 188
305 wakaba 1.17 ok 189
306     ok 190
307     ok 191
308     ok 192
309     not ok 193
310     # Test 193 got: "2" (t/HTML-tree.t at line 133 fail #97)
311 wakaba 1.20 # Expected: "1" (Parse error: <title><meta></title><link><title><meta></title>; 1:8:no DOCTYPE, 1:48:not closed:head;7: missing document type declaration)
312 wakaba 1.17 not ok 194
313     # Test 194 got: "| <html>\n| <head>\n| <title>\n| \"<meta>\"\n| <link>\n| <title>\n| \"<meta>\"\n" (t/HTML-tree.t at line 135 fail #97)
314 wakaba 1.1 # 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>)
315     # Line 8 is missing:
316     # - "| <body>\n"
317 wakaba 1.17 not ok 195
318 wakaba 1.21 # Test 195 got: "3" (t/HTML-tree.t at line 133 fail #98)
319     # Expected: "2" (Parse error: <style><!--</style><meta><script>--><link></script>; 1:8:no DOCTYPE, 1:51:in CDATA:#end-of-file, 1:51:not closed:head;missing document type declaration, unexpected EOF)
320 wakaba 1.17 not ok 196
321     # Test 196 got: "| <html>\n| <head>\n| <style>\n| \"<!--</style><meta><script>--><link></script>\"\n" (t/HTML-tree.t at line 135 fail #98)
322 wakaba 1.8 # Expected: "| <html>\n| <head>\n| <style>\n| \"<!--</style><meta><script>--><link></script>\"\n| <body>\n" (Document tree: <style><!--</style><meta><script>--><link></script>)
323 wakaba 1.15 # Line 5 is missing:
324 wakaba 1.1 # - "| <body>\n"
325 wakaba 1.17 ok 197
326     not ok 198
327     # Test 198 got: "| <html>\n| <head>\n| <meta>\n| <link>\n" (t/HTML-tree.t at line 135 fail #99)
328 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <meta>\n| <link>\n| <body>\n" (Document tree: <head><meta></head><link>)
329     # Line 5 is missing:
330     # - "| <body>\n"
331 wakaba 1.17 ok 199
332     ok 200
333     not ok 201
334 wakaba 1.26 # Test 201 got: "5" (t/HTML-tree.t at line 133 fail #101)
335     # Expected: "7" (Parse error: <body><body><base><link><meta><title><p></title><body><p></body>; 1:7:no DOCTYPE, 1:13:in body:body, 1:38:in body:title, 1:55:in body:body, 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)
336     ok 202
337 wakaba 1.17 ok 203
338 wakaba 1.16 ok 204
339     ok 205
340     ok 206
341     not ok 207
342 wakaba 1.17 # Test 207 got: "11" (t/HTML-tree.t at line 133 fail #104)
343 wakaba 1.20 # Expected: "12" (Parse error: <a><table><a></table><p><a><div><a>; 1:4:no 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?))
344 wakaba 1.17 ok 208
345     ok 209
346     ok 210
347 wakaba 1.26 ok 211
348     ok 212
349 wakaba 1.17 ok 213
350     ok 214
351     ok 215
352     ok 216
353 wakaba 1.25 ok 217
354     ok 218
355 wakaba 1.1 ok 219
356     ok 220
357     ok 221
358 wakaba 1.11 ok 222
359     ok 223
360 wakaba 1.16 ok 224
361     ok 225
362     ok 226
363 wakaba 1.1 ok 227
364     ok 228
365     ok 229
366     ok 230
367 wakaba 1.17 ok 231
368 wakaba 1.1 ok 232
369     ok 233
370     ok 234
371 wakaba 1.17 not ok 235
372     # Test 235 got: "4" (t/HTML-tree.t at line 133 fail #118)
373 wakaba 1.20 # Expected: "2" (Parse error: <ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>; 1:5:no DOCTYPE, 1:46:end tag missing:div, 1:59:end tag missing:address, 1:70:not closed:em;4: missing document type declaration, 69: mismatched b element end tag (misnested tags))
374 wakaba 1.11 ok 236
375 wakaba 1.17 ok 237
376     ok 238
377 wakaba 1.21 not ok 239
378     # Test 239 got: "10" (t/HTML-tree.t at line 133 fail #120)
379     # Expected: "11" (Parse error: <body><frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>; 1:7:no DOCTYPE, 1:14:in body:frame, 1:22:unmatched end tag:frame, 1:30:unmatched end tag:frame, 1:40:in body:frameset, 1:47:in body:frame, 1:57:in body:frameset, 1:64:in body:frame, 1:75:unmatched end tag:frameset, 1:105:in CDATA:#end-of-file;6: missing document type declaration, 13: unexpected frame element start tag in body, 21: unexpected frame element end tag, 29: unexpected frame element end tag, 39: unexpected frameset element start tag in body, 46: unexpected frame element start tag in body, 56: unexpected frameset element start tag in body, 63: unexpected frame element start tag in body, 74: unexpected frameset element end tag, 87: unescaped '</' in CDATA or RCDATA block, 106: unexpected end of file while parsing CDATA section for element noframes)
380 wakaba 1.17 ok 240
381     not ok 241
382     # Test 241 got: "5" (t/HTML-tree.t at line 133 fail #121)
383 wakaba 1.25 # Expected: "4" (Parse error: <h1><table><td><h3></table><h3></h1>; 1:5:no DOCTYPE, 1:16:missing start tag:tr, 1:28:not closed:h3, 1:36:not closed:h3, 1:36:not closed:h1;4: missing document type declaration, 15: required tr element start tag implied by unexpected td element start tag, 27: unexpected td element end tag implied other end tags, Unexpected EOF)
384     ok 242
385 wakaba 1.16 ok 243
386     ok 244
387     ok 245
388 wakaba 1.17 ok 246
389     ok 247
390     ok 248
391     ok 249
392     not ok 250
393     # Test 250 got: "| <html>\n| <head>\n| <body>\n" (t/HTML-tree.t at line 135 fail #125)
394 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n| <br>\n" (Document tree: </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>)
395     # Line 4 is missing:
396     # - "| <br>\n"
397 wakaba 1.17 not ok 251
398     # Test 251 got: "112" (t/HTML-tree.t at line 133 fail #126)
399 wakaba 1.20 # 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:no 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)
400 wakaba 1.17 not ok 252
401     # Test 252 got: "| <html>\n| <head>\n| <body>\n| <table>\n| <tbody>\n| <tr>\n" (t/HTML-tree.t at line 135 fail #126)
402 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <body>\n| <br>\n| <table>\n| <tbody>\n| <tr>\n" (Document tree: <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>)
403     # Line 4 is missing:
404     # - "| <br>\n"
405     # t/tree-construction/tests2.dat
406     ok 253
407     ok 254
408 wakaba 1.21 not ok 255
409     # Test 255 got: "2" (t/HTML-tree.t at line 133 fail #128)
410     # Expected: "3" (Parse error: <textarea>test</div>test; 1:11:no DOCTYPE, 1:24:in CDATA:#end-of-file;10: missing document type declaration., 17: unescaped '</' in CDATA or RCDATA block., 25: unexpected end of file while parsing CDATA section for element textarea.)
411 wakaba 1.16 ok 256
412     ok 257
413     ok 258
414 wakaba 1.17 ok 259
415 wakaba 1.16 ok 260
416     ok 261
417     ok 262
418     not ok 263
419 wakaba 1.17 # Test 263 got: "5" (t/HTML-tree.t at line 133 fail #132)
420     # 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)
421 wakaba 1.16 ok 264
422 wakaba 1.17 ok 265
423 wakaba 1.16 ok 266
424     not ok 267
425 wakaba 1.17 # Test 267 got: "1" (t/HTML-tree.t at line 133 fail #134)
426     # Expected: "0" (Parse error: <!DOCTYPE HTML><font><p><b>test</font>; 1:38:not closed:b;)
427     ok 268
428     not ok 269
429     # Test 269 got: "1" (t/HTML-tree.t at line 133 fail #135)
430     # Expected: "0" (Parse error: <!DOCTYPE HTML><dt><div><dd>; 1:28:end tag missing:div;)
431     ok 270
432 wakaba 1.21 ok 271
433 wakaba 1.17 not ok 272
434     # Test 272 got: "| <html>\n| <head>\n| <script>\n| \"</x\"\n" (t/HTML-tree.t at line 135 fail #136)
435 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <script>\n| \"</x\"\n| <body>\n" (Document tree: <script></x)
436     # Line 5 is missing:
437     # - "| <body>\n"
438 wakaba 1.17 not ok 273
439     # Test 273 got: "7" (t/HTML-tree.t at line 133 fail #137)
440 wakaba 1.20 # Expected: "4" (Parse error: <table><plaintext><td>; 1:8:no 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.)
441 wakaba 1.16 ok 274
442     ok 275
443 wakaba 1.17 ok 276
444     not ok 277
445     # Test 277 got: "5" (t/HTML-tree.t at line 133 fail #139)
446     # 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.)
447     ok 278
448     ok 279
449     not ok 280
450     # Test 280 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 135 fail #140)
451 wakaba 1.8 # 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>)
452 wakaba 1.1 # Line 5 is changed:
453     # - "| t4=\"4\"\n"
454     # + "| t1=\"1\"\n"
455     # Line 8 is changed:
456     # - "| t1=\"1\"\n"
457     # + "| t4=\"4\"\n"
458 wakaba 1.17 ok 281
459     not ok 282
460     # Test 282 got: "| <html>\n" (t/HTML-tree.t at line 135 fail #141)
461 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <body>\n" (Document tree: </b test)
462     # Lines 2-2 are missing:
463     # - "| <head>\n"
464     # - "| <body>\n"
465 wakaba 1.17 not ok 283
466 wakaba 1.19 # Test 283 got: "3" (t/HTML-tree.t at line 133 fail #142)
467     # Expected: "4" (Parse error: <!DOCTYPE HTML></b test<b &=&amp>X; 1:33:refc, 1:33:end tag attribute, 1:34:unmatched end tag:b;Unexpected < in attribute, End tag contains attributes., Unexpected end tag., Named entity didn't end with ;)
468     ok 284
469 wakaba 1.17 not ok 285
470     # Test 285 got: "3" (t/HTML-tree.t at line 133 fail #143)
471 wakaba 1.1 # 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)
472 wakaba 1.17 not ok 286
473 wakaba 1.20 # Test 286 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <script>\n| type=\"text/x-foobar;baz\"\n| \"X\"\n" (t/HTML-tree.t at line 135 fail #143)
474 wakaba 1.8 # 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)
475 wakaba 1.1 # Line 7 is missing:
476     # - "| <body>\n"
477 wakaba 1.22 not ok 287
478     # Test 287 got: "1" (t/HTML-tree.t at line 133 fail #144)
479     # Expected: "2" (Parse error: &; 1:1:no DOCTYPE;No doctype., Unfinished entity.)
480 wakaba 1.16 ok 288
481     ok 289
482     ok 290
483     ok 291
484     ok 292
485     ok 293
486     ok 294
487     ok 295
488 wakaba 1.17 ok 296
489     ok 297
490     ok 298
491     ok 299
492 wakaba 1.20 ok 300
493 wakaba 1.17 ok 301
494     ok 302
495     ok 303
496 wakaba 1.20 ok 304
497 wakaba 1.17 ok 305
498 wakaba 1.20 ok 306
499 wakaba 1.17 ok 307
500     not ok 308
501     # Test 308 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 135 fail #154)
502 wakaba 1.8 # 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)
503 wakaba 1.1 # Lines 9-13 are changed:
504     # - "| \" \"\n"
505     # + "| <b>\n"
506     # - "| <p>\n"
507     # + "| <i>\n"
508     # - "| <b>\n"
509     # + "| <u>\n"
510     # - "| <i>\n"
511     # + "| \" \"\n"
512     # - "| <u>\n"
513     # + "| <p>\n"
514 wakaba 1.16 ok 309
515     ok 310
516     ok 311
517     ok 312
518     ok 313
519     ok 314
520     ok 315
521 wakaba 1.17 ok 316
522     ok 317
523     ok 318
524     ok 319
525     not ok 320
526     # Test 320 got: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #160)
527 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- X)
528 wakaba 1.1 # Lines 4-4 are missing:
529     # - "| <head>\n"
530     # - "| <body>\n"
531 wakaba 1.16 ok 321
532     ok 322
533     ok 323
534     ok 324
535     ok 325
536     ok 326
537     ok 327
538 wakaba 1.17 ok 328
539     ok 329
540     ok 330
541     ok 331
542     not ok 332
543     # Test 332 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #166)
544 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX -->)
545 wakaba 1.1 # Lines 4-4 are missing:
546     # - "| <head>\n"
547     # - "| <body>\n"
548 wakaba 1.17 ok 333
549     not ok 334
550     # Test 334 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #167)
551 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX)
552 wakaba 1.1 # Lines 4-4 are missing:
553     # - "| <head>\n"
554     # - "| <body>\n"
555 wakaba 1.17 ok 335
556     not ok 336
557     # Test 336 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #168)
558 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX - XXX -->)
559 wakaba 1.1 # Lines 4-4 are missing:
560     # - "| <head>\n"
561     # - "| <body>\n"
562 wakaba 1.17 ok 337
563     not ok 338
564     # Test 338 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 135 fail #169)
565 wakaba 1.1 # 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>)
566     # Line 8 is changed:
567     # - "| \"This is a searchable index. Insert your search keywords here:\"\n"
568     # + "| \"This is a searchable index. Insert your search keywords here: \"\n"
569     # Got 1 extra line at line 10:
570     # + "| name=\"isindex\"\n"
571     # Line 12 is missing:
572     # - "| name=\"isindex\"\n"
573 wakaba 1.17 ok 339
574     ok 340
575     ok 341
576     not ok 342
577     # Test 342 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 135 fail #171)
578 wakaba 1.1 # 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>
579     #<p>X)
580     # Line 8 is changed:
581     # - "| \"\n"
582     # + "| <b>\n"
583     # Got 3 extra lines at line 9:
584     # + "| <i>\n"
585     # + "| <u>\n"
586     # + "| \"\n"
587     # Line 13 is changed:
588     # - "| <p>\n"
589     # + "| <p>\n"
590     # Lines 14-14 are missing:
591     # - "| <b>\n"
592     # - "| <i>\n"
593     # - "| <u>\n"
594 wakaba 1.21 not ok 343
595     # Test 343 got: "1" (t/HTML-tree.t at line 133 fail #172)
596     # Expected: "2" (Parse error: <!DOCTYPE HTML><body><title>test</body></title>; 1:29:in body:title;Unexpected start tag that belongs in the head., Expected closing tag after </.)
597 wakaba 1.17 ok 344
598 wakaba 1.21 not ok 345
599 wakaba 1.26 # Test 345 got: "1" (t/HTML-tree.t at line 133 fail #173)
600 wakaba 1.21 # Expected: "4" (Parse error: <!DOCTYPE HTML><body><title>X</title><meta name=z><link rel=foo><style>
601 wakaba 1.26 #x { content:"</style" } </style>; 1:29:in body:title;Unexpected start tag that belongs in head., Unexpected start tag that belongs in head., Unexpected start tag that belongs in head., Expected closing tag after </.)
602     ok 346
603 wakaba 1.17 ok 347
604     ok 348
605     ok 349
606     not ok 350
607 wakaba 1.20 # Test 350 got: "| <html>\n" (t/HTML-tree.t at line 135 fail #175)
608 wakaba 1.1 # Expected: "| \" \n \"\n| <html>\n| <head>\n| <body>\n" (Document tree:
609     # )
610 wakaba 1.20 # Lines 1-1 are missing:
611     # - "| \" \n"
612     # - " \"\n"
613     # Lines 2-2 are missing:
614 wakaba 1.1 # - "| <head>\n"
615     # - "| <body>\n"
616 wakaba 1.17 ok 351
617     not ok 352
618     # Test 352 got: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n" (t/HTML-tree.t at line 135 fail #176)
619 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML> <html>)
620 wakaba 1.1 # Lines 4-4 are missing:
621     # - "| <head>\n"
622     # - "| <body>\n"
623 wakaba 1.17 ok 353
624     not ok 354
625     # Test 354 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <script>\n| \"\n\"\n| \" \"\n| <title>\n| \"x\"\n| \" \"\n" (t/HTML-tree.t at line 135 fail #177)
626 wakaba 1.8 # 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>
627 wakaba 1.1 #</script> <title>x</title> </head>)
628     # Line 11 is missing:
629     # - "| <body>\n"
630 wakaba 1.17 not ok 355
631     # Test 355 got: "0" (t/HTML-tree.t at line 133 fail #178)
632 wakaba 1.8 # Expected: "1" (Parse error: <!DOCTYPE HTML><html><body><html id=x>; ;duplicate html start tag)
633 wakaba 1.17 ok 356
634     not ok 357
635     # Test 357 got: "0" (t/HTML-tree.t at line 133 fail #179)
636 wakaba 1.8 # 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.)
637 wakaba 1.17 ok 358
638     ok 359
639     not ok 360
640     # Test 360 got: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n" (t/HTML-tree.t at line 135 fail #180)
641 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><head><html id=x>)
642 wakaba 1.1 # Line 5 is missing:
643     # - "| <body>\n"
644 wakaba 1.16 ok 361
645     ok 362
646     ok 363
647 wakaba 1.17 ok 364
648     ok 365
649     ok 366
650     ok 367
651     not ok 368
652     # Test 368 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 135 fail #184)
653 wakaba 1.8 # 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>)
654 wakaba 1.1 # Got 1 extra line at line 7:
655     # + "| x=\"\"\n"
656     # Line 9 is missing:
657     # - "| x=\"\"\n"
658 wakaba 1.17 ok 369
659     not ok 370
660     # Test 370 got: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #185)
661 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!--x--)
662 wakaba 1.1 # Lines 4-4 are missing:
663     # - "| <head>\n"
664     # - "| <body>\n"
665 wakaba 1.17 ok 371
666     ok 372
667 wakaba 1.16 # t/tree-construction/tests3.dat
668 wakaba 1.17 ok 373
669     not ok 374
670     # Test 374 got: "| <html>\n| <head>\n| <style>\n" (t/HTML-tree.t at line 135 fail #187)
671 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <style>\n| <body>\n" (Document tree: <head></head><style></style>)
672     # Line 4 is missing:
673     # - "| <body>\n"
674 wakaba 1.17 ok 375
675     not ok 376
676     # Test 376 got: "| <html>\n| <head>\n| <script>\n" (t/HTML-tree.t at line 135 fail #188)
677 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <script>\n| <body>\n" (Document tree: <head></head><script></script>)
678     # Line 4 is missing:
679     # - "| <body>\n"
680 wakaba 1.17 ok 377
681     not ok 378
682     # Test 378 got: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n" (t/HTML-tree.t at line 135 fail #189)
683 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n| <body>\n" (Document tree: <head></head><!-- --><style></style><!-- --><script></script>)
684     # Line 7 is missing:
685     # - "| <body>\n"
686 wakaba 1.17 ok 379
687     ok 380
688     ok 381
689 wakaba 1.20 ok 382
690 wakaba 1.17 ok 383
691     not ok 384
692 wakaba 1.20 # Test 384 got: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"\nfoo\"\n" (t/HTML-tree.t at line 135 fail #192)
693 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"foo\"\n" (Document tree: <!DOCTYPE htML><html><head></head><body><pre>
694 wakaba 1.1 #
695     #foo</pre></body></html>)
696     # Line 6 is changed:
697     # - "| \"foo\"\n"
698     # + "| \"\n"
699     # Got 1 extra line at line 7:
700     # + "foo\"\n"
701 wakaba 1.17 ok 385
702     not ok 386
703 wakaba 1.20 # Test 386 got: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"\nfoo\n\"\n" (t/HTML-tree.t at line 135 fail #193)
704 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"foo\n\"\n" (Document tree: <!DOCTYPE htML><html><head></head><body><pre>
705 wakaba 1.1 #
706     #foo
707     #</pre></body></html>)
708     # Line 6 is changed:
709     # - "| \"foo\n"
710     # + "| \"\n"
711     # Got 1 extra line at line 7:
712     # + "foo\n"
713 wakaba 1.17 ok 387
714 wakaba 1.20 ok 388
715 wakaba 1.17 ok 389
716 wakaba 1.20 ok 390
717 wakaba 1.17 not ok 391
718     # Test 391 got: "1" (t/HTML-tree.t at line 133 fail #196)
719 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><html><head></head><body><pre>x<div>
720 wakaba 1.1 #y</pre></body></html>; 2:8:not closed:div;)
721 wakaba 1.17 not ok 392
722 wakaba 1.20 # Test 392 got: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <pre>\n| \"x\"\n| <div>\n| \"\ny\"\n" (t/HTML-tree.t at line 135 fail #196)
723 wakaba 1.8 # 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>
724 wakaba 1.1 #y</pre></body></html>)
725     # Line 9 is changed:
726     # - "| y\"\n"
727     # + "y\"\n"
728 wakaba 1.17 not ok 393
729     # Test 393 got: "1" (t/HTML-tree.t at line 133 fail #197)
730 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><HTML><META><HEAD></HEAD></HTML>; 1:34:in head:head;)
731 wakaba 1.20 ok 394
732 wakaba 1.17 not ok 395
733     # Test 395 got: "1" (t/HTML-tree.t at line 133 fail #198)
734 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><HTML><HEAD><head></HEAD></HTML>; 1:34:in head:head;)
735 wakaba 1.20 ok 396
736 wakaba 1.17 not ok 397
737 wakaba 1.21 # Test 397 got: "2" (t/HTML-tree.t at line 133 fail #199)
738     # Expected: "0" (Parse error: <textarea>foo<span>bar</span><i>baz; 1:11:no DOCTYPE, 1:35:in CDATA:#end-of-file;)
739 wakaba 1.17 ok 398
740     not ok 399
741 wakaba 1.21 # Test 399 got: "3" (t/HTML-tree.t at line 133 fail #200)
742     # Expected: "0" (Parse error: <title>foo<span>bar</em><i>baz; 1:8:no DOCTYPE, 1:30:in RCDATA:#end-of-file, 1:30:not closed:head;)
743 wakaba 1.17 not ok 400
744     # Test 400 got: "| <html>\n| <head>\n| <title>\n| \"foo<span>bar</em><i>baz\"\n" (t/HTML-tree.t at line 135 fail #200)
745 wakaba 1.1 # 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)
746     # Line 5 is missing:
747     # - "| <body>\n"
748 wakaba 1.17 ok 401
749 wakaba 1.20 ok 402
750 wakaba 1.17 ok 403
751     not ok 404
752 wakaba 1.20 # Test 404 got: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <textarea>\n| \"\nfoo\"\n" (t/HTML-tree.t at line 135 fail #202)
753 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <textarea>\n| \"foo\"\n" (Document tree: <!DOCTYPE htML><textarea>
754     #
755     #foo</textarea>)
756     # Line 6 is changed:
757     # - "| \"foo\"\n"
758     # + "| \"\n"
759 wakaba 1.9 # Got 1 extra line at line 7:
760 wakaba 1.8 # + "foo\"\n"
761 wakaba 1.17 ok 405
762 wakaba 1.20 ok 406
763 wakaba 1.17 ok 407
764 wakaba 1.21 ok 408
765 wakaba 1.17 ok 409
766 wakaba 1.21 ok 410
767 wakaba 1.16 # t/tree-construction/tests4.dat
768 wakaba 1.17 ok 411
769 wakaba 1.15 ok 412
770     ok 413
771     ok 414
772 wakaba 1.21 ok 415
773 wakaba 1.15 ok 416
774 wakaba 1.11 ok 417
775     ok 418
776 wakaba 1.17 ok 419
777     ok 420
778     ok 421
779     ok 422
780     not ok 423
781     # Test 423 got: "1" (t/HTML-tree.t at line 133 fail #212)
782 wakaba 1.16 # Expected: "0" (Parse error: <title>setting head's innerHTML</title>; 1:8:in body:title;)
783 wakaba 1.17 ok 424
784 wakaba 1.16 # t/tree-construction/tests5.dat
785 wakaba 1.17 not ok 425
786     # Test 425 got: "3" (t/HTML-tree.t at line 133 fail #213)
787 wakaba 1.20 # Expected: "2" (Parse error: <style> <!-- </style>x; 1:8:no DOCTYPE, 1:22:in CDATA:#end-of-file, 1:22:not closed:head;No DOCTYPE, Unexpected end of file)
788 wakaba 1.17 not ok 426
789     # Test 426 got: "| <html>\n| <head>\n| <style>\n| \" <!-- </style>x\"\n" (t/HTML-tree.t at line 135 fail #213)
790 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <style>\n| \" <!-- </style>x\"\n| <body>\n" (Document tree: <style> <!-- </style>x)
791     # Line 5 is missing:
792     # - "| <body>\n"
793     ok 427
794     ok 428
795     ok 429
796     ok 430
797     ok 431
798     ok 432
799     ok 433
800     ok 434
801     ok 435
802     ok 436
803     ok 437
804     ok 438
805     ok 439
806     ok 440
807 wakaba 1.17 ok 441
808     ok 442
809 wakaba 1.21 not ok 443
810     # Test 443 got: "1" (t/HTML-tree.t at line 133 fail #222)
811     # Expected: "2" (Parse error: <style> <!</-- </style>x; 1:8:no DOCTYPE;No DOCTYPE, Unexpected end of file)
812 wakaba 1.17 ok 444
813 wakaba 1.16 # t/tree-construction/tests6.dat
814 wakaba 1.17 not ok 445
815 wakaba 1.23 # Test 445 got: "1" (t/HTML-tree.t at line 133 fail #223)
816     # Expected: "0" (Parse error: <!doctype html></head> <head>; 1:29:in body:head;)
817     ok 446
818 wakaba 1.17 not ok 447
819     # Test 447 got: "3" (t/HTML-tree.t at line 133 fail #224)
820 wakaba 1.8 # Expected: "0" (Parse error: <!doctype html></html> <head>; 1:29:after html:head, 1:29:after body:head, 1:29:in body:head;)
821 wakaba 1.20 ok 448
822 wakaba 1.17 not ok 449
823 wakaba 1.26 # Test 449 got: "1" (t/HTML-tree.t at line 133 fail #225)
824     # Expected: "0" (Parse error: <!doctype html></body><meta>; 1:28:after body:meta;)
825     ok 450
826 wakaba 1.16 # t/tree-test-1.dat
827 wakaba 1.1 ok 451
828 wakaba 1.21 ok 452
829 wakaba 1.1 ok 453
830 wakaba 1.21 ok 454
831 wakaba 1.1 ok 455
832 wakaba 1.21 ok 456
833 wakaba 1.1 ok 457
834 wakaba 1.21 ok 458
835 wakaba 1.3 ok 459
836 wakaba 1.21 ok 460
837 wakaba 1.3 ok 461
838 wakaba 1.21 ok 462
839 wakaba 1.3 ok 463
840 wakaba 1.21 ok 464
841 wakaba 1.3 ok 465
842 wakaba 1.21 ok 466
843 wakaba 1.3 ok 467
844 wakaba 1.21 ok 468
845 wakaba 1.3 ok 469
846 wakaba 1.21 ok 470
847 wakaba 1.6 ok 471
848 wakaba 1.21 ok 472
849 wakaba 1.8 ok 473
850 wakaba 1.21 ok 474
851 wakaba 1.8 ok 475
852 wakaba 1.21 ok 476
853 wakaba 1.8 ok 477
854 wakaba 1.21 ok 478
855 wakaba 1.8 ok 479
856 wakaba 1.21 ok 480
857 wakaba 1.8 ok 481
858 wakaba 1.21 ok 482
859 wakaba 1.8 ok 483
860 wakaba 1.21 ok 484
861 wakaba 1.8 ok 485
862 wakaba 1.21 ok 486
863 wakaba 1.8 ok 487
864     ok 488
865     ok 489
866     ok 490
867     ok 491
868     ok 492
869     ok 493
870     ok 494
871     ok 495
872 wakaba 1.21 ok 496
873 wakaba 1.8 ok 497
874 wakaba 1.21 ok 498
875 wakaba 1.8 ok 499
876 wakaba 1.21 ok 500
877 wakaba 1.8 ok 501
878 wakaba 1.21 ok 502
879 wakaba 1.8 ok 503
880 wakaba 1.21 ok 504
881 wakaba 1.8 ok 505
882 wakaba 1.21 ok 506
883 wakaba 1.8 ok 507
884 wakaba 1.21 ok 508
885 wakaba 1.11 ok 509
886 wakaba 1.21 ok 510
887 wakaba 1.12 ok 511
888 wakaba 1.21 ok 512
889 wakaba 1.12 ok 513
890 wakaba 1.21 ok 514
891 wakaba 1.12 ok 515
892 wakaba 1.21 ok 516
893 wakaba 1.12 ok 517
894 wakaba 1.21 ok 518
895 wakaba 1.12 ok 519
896 wakaba 1.21 ok 520
897 wakaba 1.12 ok 521
898 wakaba 1.21 ok 522
899 wakaba 1.12 ok 523
900 wakaba 1.21 ok 524
901 wakaba 1.12 ok 525
902 wakaba 1.21 ok 526
903 wakaba 1.12 ok 527
904 wakaba 1.21 ok 528
905 wakaba 1.12 ok 529
906 wakaba 1.21 ok 530
907 wakaba 1.14 ok 531
908 wakaba 1.21 ok 532
909 wakaba 1.16 ok 533
910 wakaba 1.21 ok 534
911 wakaba 1.16 ok 535
912 wakaba 1.21 ok 536
913 wakaba 1.16 ok 537
914     ok 538
915     ok 539
916     ok 540
917     ok 541
918     ok 542
919     ok 543
920     ok 544
921     ok 545
922     ok 546
923     ok 547
924     ok 548
925     ok 549
926     ok 550
927     ok 551
928     ok 552
929     ok 553
930     ok 554
931 wakaba 1.17 ok 555
932     ok 556
933     ok 557
934     ok 558
935 wakaba 1.22 not ok 559
936     # Test 559 got: "2" (t/HTML-tree.t at line 133 fail #280)
937     # Expected: "1" (Parse error: <!DOCTYPE HTML><ul></body>; 1:26:not closed:ul, 1:26:not closed:ul;ul not closed)
938     ok 560
939     not ok 561
940     # Test 561 got: "3" (t/HTML-tree.t at line 133 fail #281)
941     # Expected: "1" (Parse error: <!DOCTYPE HTML><ul><li></body>; 1:30:not closed:ul, 1:30:after body:/li, 1:30:not closed:ul;ul not closed)
942     ok 562
943     not ok 563
944     # Test 563 got: "2" (t/HTML-tree.t at line 133 fail #282)
945     # Expected: "1" (Parse error: <!DOCTYPE HTML><dl></body>; 1:26:not closed:dl, 1:26:not closed:dl;dl not closed)
946     ok 564
947     not ok 565
948     # Test 565 got: "3" (t/HTML-tree.t at line 133 fail #283)
949     # Expected: "1" (Parse error: <!DOCTYPE HTML><dl><dt></body>; 1:30:not closed:dl, 1:30:after body:/dt, 1:30:not closed:dl;dl not closed)
950     ok 566
951     not ok 567
952     # Test 567 got: "3" (t/HTML-tree.t at line 133 fail #284)
953     # Expected: "1" (Parse error: <!DOCTYPE HTML><dl><dd></body>; 1:30:not closed:dl, 1:30:after body:/dd, 1:30:not closed:dl;dl not closed)
954     ok 568
955     not ok 569
956     # Test 569 got: "1" (t/HTML-tree.t at line 133 fail #285)
957     # Expected: "0" (Parse error: <!DOCTYPE HTML><p></body>; 1:25:after body:/p;)
958     ok 570
959     not ok 571
960     # Test 571 got: "2" (t/HTML-tree.t at line 133 fail #286)
961     # Expected: "1" (Parse error: <!DOCTYPE HTML><table><tr><td></body>; 1:37:unmatched end tag:body, 1:37:not closed:tbody;table not closed)
962     ok 572
963     not ok 573
964     # Test 573 got: "2" (t/HTML-tree.t at line 133 fail #287)
965     # Expected: "1" (Parse error: <!DOCTYPE HTML><table><tr><th></body>; 1:37:unmatched end tag:body, 1:37:not closed:tbody;table not closed)
966     ok 574
967     not ok 575
968     # Test 575 got: "2" (t/HTML-tree.t at line 133 fail #288)
969     # Expected: "1" (Parse error: <!DOCTYPE HTML><table><thead><tr><td></body>; 1:44:unmatched end tag:body, 1:44:not closed:thead;table not closed)
970     ok 576
971 wakaba 1.24 ok 577
972     ok 578
973     ok 579
974     ok 580
975     ok 581
976     ok 582
977     ok 583
978     ok 584
979     ok 585
980     ok 586
981 wakaba 1.25 ok 587
982 wakaba 1.24 ok 588
983 wakaba 1.25 ok 589
984     ok 590
985     ok 591
986     ok 592
987     ok 593
988     ok 594
989     ok 595
990     ok 596
991     ok 597
992     ok 598
993     ok 599
994     ok 600
995     not ok 601
996     # Test 601 got: "1" (t/HTML-tree.t at line 133 fail #301)
997     # Expected: "3" (Parse error: <!DOCTYPE HTML><h1><a><h2>; 1:26:not closed:h2;h1 not closed, a not closed, h2 not closed)
998     ok 602

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24