/[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.8 - (hide annotations) (download)
Sat Jun 23 02:26:51 2007 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.7: +475 -158 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	23 Jun 2007 02:21:24 -0000
2007-06-23  Wakaba  <wakaba@suika.fam.cx>

	* Makefile, HTML-tokenizer.t, HTML-tree.t: New test
	files are added.

	* tokenize/, tree-construction/: Sync with latest html5lib
	trunk.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24