/[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.12 - (hide annotations) (download)
Sat Jun 23 04:09:39 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.11: +3 -9 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	23 Jun 2007 04:08:55 -0000
	* tree-test-1.dat: New tests for parse errors by
	tags closed by <li>, <dt>, or <dd>.  (HTML5 revision 880.)

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24