/[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.17 - (hide annotations) (download)
Sat Jun 23 06:48:24 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.16: +376 -372 lines
File MIME type: text/plain
++ whatpm/Whatpm/ChangeLog	23 Jun 2007 06:48:21 -0000
	* HTML.pm.src: Parse errors immediately after U+000D
	were ignored and U+000D immediately following another
	U+000D was not converted to U+000A.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24