/[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.15 - (hide annotations) (download)
Sat Jun 23 05:29:48 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.14: +26 -93 lines
File MIME type: text/plain
++ whatpm/Whatpm/ChangeLog	23 Jun 2007 05:29:33 -0000
	* HTML.pm.src: HTML5 revision 886 (insane comment in
	CDATA and RCDATA).  Note that current implementation
	is simply repeating what the spec says and it is maybe not
	a best way to do it.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24