/[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.10 - (hide annotations) (download)
Sat Jun 23 03:30:06 2007 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.9: +2 -2 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	23 Jun 2007 03:16:30 -0000
	* tokenizer-test-1.test: Tests for C1 character
	references are added.

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

++ whatpm/Whatpm/ChangeLog	23 Jun 2007 03:26:51 -0000
	* HTML.pm.src: An error message was incorrect.
	HTML5 revision 869 (C1 character references).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24