/[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.19 - (hide annotations) (download)
Sat Jun 23 08:15:21 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.18: +5 -13 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	23 Jun 2007 08:10:55 -0000
	* tokenizer-test-1.test: Tests for |<| in tags are
	added.  (HTML5 revisions 900, 901, 902, and 911.)

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

++ whatpm/Whatpm/ChangeLog	23 Jun 2007 07:51:12 -0000
	* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
	in tags).

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.19 # Current time local: Sat Jun 23 17:13:47 2007
4     # Current time GMT: Sat Jun 23 08:13:47 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 wakaba 1.19 # Test 283 got: "3" (t/HTML-tree.t at line 133 fail #142)
517     # Expected: "4" (Parse error: <!DOCTYPE HTML></b test<b &=&amp>X; 1:33:refc, 1:33:end tag attribute, 1:34:unmatched end tag:b;Unexpected < in attribute, End tag contains attributes., Unexpected end tag., Named entity didn't end with ;)
518     ok 284
519 wakaba 1.17 not ok 285
520     # Test 285 got: "3" (t/HTML-tree.t at line 133 fail #143)
521 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)
522 wakaba 1.17 not ok 286
523     # 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)
524 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)
525     # Line 1 is changed:
526     # - "| <!DOCTYPE html>\n"
527     # + "| <!DOCTYPE HTML>\n"
528 wakaba 1.1 # Line 7 is missing:
529     # - "| <body>\n"
530 wakaba 1.16 ok 287
531     ok 288
532     ok 289
533     ok 290
534     ok 291
535     ok 292
536     ok 293
537     ok 294
538     ok 295
539 wakaba 1.17 ok 296
540     ok 297
541     ok 298
542     ok 299
543     not ok 300
544     # 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)
545 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <p>\n| <li>\n" (Document tree: <!doctypehtml><p><li>)
546     # Line 1 is changed:
547     # - "| <!DOCTYPE html>\n"
548     # + "| <!DOCTYPE HTML>\n"
549 wakaba 1.17 ok 301
550     ok 302
551     ok 303
552     not ok 304
553     # 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)
554 wakaba 1.8 # Expected: "| <!DOCTYPE htmL>\n| <html>\n| <head>\n| <body>\n| <p>\n| <dd>\n" (Document tree: <!doctypehtmL><p><dd>)
555     # Line 1 is changed:
556     # - "| <!DOCTYPE htmL>\n"
557     # + "| <!DOCTYPE HTML>\n"
558 wakaba 1.17 ok 305
559     not ok 306
560     # 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)
561 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <p>\n| <form>\n" (Document tree: <!doctypehtml><p><form>)
562     # Line 1 is changed:
563     # - "| <!DOCTYPE html>\n"
564     # + "| <!DOCTYPE HTML>\n"
565 wakaba 1.17 ok 307
566     not ok 308
567     # 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)
568 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)
569 wakaba 1.1 # Lines 9-13 are changed:
570     # - "| \" \"\n"
571     # + "| <b>\n"
572     # - "| <p>\n"
573     # + "| <i>\n"
574     # - "| <b>\n"
575     # + "| <u>\n"
576     # - "| <i>\n"
577     # + "| \" \"\n"
578     # - "| <u>\n"
579     # + "| <p>\n"
580 wakaba 1.16 ok 309
581     ok 310
582     ok 311
583     ok 312
584     ok 313
585     ok 314
586     ok 315
587 wakaba 1.17 ok 316
588     ok 317
589     ok 318
590     ok 319
591     not ok 320
592     # Test 320 got: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #160)
593 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- X)
594 wakaba 1.1 # Lines 4-4 are missing:
595     # - "| <head>\n"
596     # - "| <body>\n"
597 wakaba 1.16 ok 321
598     ok 322
599     ok 323
600     ok 324
601     ok 325
602     ok 326
603     ok 327
604 wakaba 1.17 ok 328
605     ok 329
606     ok 330
607     ok 331
608     not ok 332
609     # Test 332 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #166)
610 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX -->)
611 wakaba 1.1 # Lines 4-4 are missing:
612     # - "| <head>\n"
613     # - "| <body>\n"
614 wakaba 1.17 ok 333
615     not ok 334
616     # Test 334 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #167)
617 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX)
618 wakaba 1.1 # Lines 4-4 are missing:
619     # - "| <head>\n"
620     # - "| <body>\n"
621 wakaba 1.17 ok 335
622     not ok 336
623     # Test 336 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #168)
624 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX - XXX -->)
625 wakaba 1.1 # Lines 4-4 are missing:
626     # - "| <head>\n"
627     # - "| <body>\n"
628 wakaba 1.17 ok 337
629     not ok 338
630     # 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)
631 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>)
632     # Line 8 is changed:
633     # - "| \"This is a searchable index. Insert your search keywords here:\"\n"
634     # + "| \"This is a searchable index. Insert your search keywords here: \"\n"
635     # Got 1 extra line at line 10:
636     # + "| name=\"isindex\"\n"
637     # Line 12 is missing:
638     # - "| name=\"isindex\"\n"
639 wakaba 1.17 ok 339
640     ok 340
641     ok 341
642     not ok 342
643     # 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)
644 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>
645     #<p>X)
646     # Line 8 is changed:
647     # - "| \"\n"
648     # + "| <b>\n"
649     # Got 3 extra lines at line 9:
650     # + "| <i>\n"
651     # + "| <u>\n"
652     # + "| \"\n"
653     # Line 13 is changed:
654     # - "| <p>\n"
655     # + "| <p>\n"
656     # Lines 14-14 are missing:
657     # - "| <b>\n"
658     # - "| <i>\n"
659     # - "| <u>\n"
660 wakaba 1.17 ok 343
661     ok 344
662     ok 345
663     not ok 346
664     # 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)
665 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>
666     #x { content:"</style" } </style>)
667     # Line 6 is missing:
668     # - "| <body>\n"
669     # Got 1 extra line at line 10:
670     # + "| <body>\n"
671 wakaba 1.17 ok 347
672     ok 348
673     ok 349
674     not ok 350
675     # Test 350 got: "| \" \n \"\n| <html>\n" (t/HTML-tree.t at line 135 fail #175)
676 wakaba 1.1 # Expected: "| \" \n \"\n| <html>\n| <head>\n| <body>\n" (Document tree:
677     # )
678     # Lines 4-4 are missing:
679     # - "| <head>\n"
680     # - "| <body>\n"
681 wakaba 1.17 ok 351
682     not ok 352
683     # Test 352 got: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n" (t/HTML-tree.t at line 135 fail #176)
684 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML> <html>)
685 wakaba 1.1 # Lines 4-4 are missing:
686     # - "| <head>\n"
687     # - "| <body>\n"
688 wakaba 1.17 ok 353
689     not ok 354
690     # 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)
691 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>
692 wakaba 1.1 #</script> <title>x</title> </head>)
693     # Line 11 is missing:
694     # - "| <body>\n"
695 wakaba 1.17 not ok 355
696     # Test 355 got: "0" (t/HTML-tree.t at line 133 fail #178)
697 wakaba 1.8 # Expected: "1" (Parse error: <!DOCTYPE HTML><html><body><html id=x>; ;duplicate html start tag)
698 wakaba 1.17 ok 356
699     not ok 357
700     # Test 357 got: "0" (t/HTML-tree.t at line 133 fail #179)
701 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.)
702 wakaba 1.17 ok 358
703     ok 359
704     not ok 360
705     # Test 360 got: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n" (t/HTML-tree.t at line 135 fail #180)
706 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><head><html id=x>)
707 wakaba 1.1 # Line 5 is missing:
708     # - "| <body>\n"
709 wakaba 1.16 ok 361
710     ok 362
711     ok 363
712 wakaba 1.17 ok 364
713     ok 365
714     ok 366
715     ok 367
716     not ok 368
717     # 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)
718 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>)
719 wakaba 1.1 # Got 1 extra line at line 7:
720     # + "| x=\"\"\n"
721     # Line 9 is missing:
722     # - "| x=\"\"\n"
723 wakaba 1.17 ok 369
724     not ok 370
725     # Test 370 got: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #185)
726 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!--x--)
727 wakaba 1.1 # Lines 4-4 are missing:
728     # - "| <head>\n"
729     # - "| <body>\n"
730 wakaba 1.17 ok 371
731     ok 372
732 wakaba 1.16 # t/tree-construction/tests3.dat
733 wakaba 1.17 ok 373
734     not ok 374
735     # Test 374 got: "| <html>\n| <head>\n| <style>\n" (t/HTML-tree.t at line 135 fail #187)
736 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <style>\n| <body>\n" (Document tree: <head></head><style></style>)
737     # Line 4 is missing:
738     # - "| <body>\n"
739 wakaba 1.17 ok 375
740     not ok 376
741     # Test 376 got: "| <html>\n| <head>\n| <script>\n" (t/HTML-tree.t at line 135 fail #188)
742 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <script>\n| <body>\n" (Document tree: <head></head><script></script>)
743     # Line 4 is missing:
744     # - "| <body>\n"
745 wakaba 1.17 ok 377
746     not ok 378
747     # Test 378 got: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n" (t/HTML-tree.t at line 135 fail #189)
748 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n| <body>\n" (Document tree: <head></head><!-- --><style></style><!-- --><script></script>)
749     # Line 7 is missing:
750     # - "| <body>\n"
751 wakaba 1.17 ok 379
752     ok 380
753     ok 381
754     not ok 382
755     # Test 382 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <pre>\n" (t/HTML-tree.t at line 135 fail #191)
756 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <pre>\n" (Document tree: <!DOCTYPE htML><html><head></head><body><pre>
757     #</pre></body></html>)
758     # Line 1 is changed:
759     # - "| <!DOCTYPE htML>\n"
760     # + "| <!DOCTYPE HTML>\n"
761 wakaba 1.17 ok 383
762     not ok 384
763     # 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)
764 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>
765 wakaba 1.1 #
766     #foo</pre></body></html>)
767 wakaba 1.8 # Line 1 is changed:
768     # - "| <!DOCTYPE htML>\n"
769     # + "| <!DOCTYPE HTML>\n"
770 wakaba 1.1 # Line 6 is changed:
771     # - "| \"foo\"\n"
772     # + "| \"\n"
773     # Got 1 extra line at line 7:
774     # + "foo\"\n"
775 wakaba 1.17 ok 385
776     not ok 386
777     # 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)
778 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>
779 wakaba 1.1 #
780     #foo
781     #</pre></body></html>)
782 wakaba 1.8 # Line 1 is changed:
783     # - "| <!DOCTYPE htML>\n"
784     # + "| <!DOCTYPE HTML>\n"
785 wakaba 1.1 # Line 6 is changed:
786     # - "| \"foo\n"
787     # + "| \"\n"
788     # Got 1 extra line at line 7:
789     # + "foo\n"
790 wakaba 1.17 ok 387
791     not ok 388
792     # 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)
793 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>
794     #</span></body></html>)
795     # Line 1 is changed:
796     # - "| <!DOCTYPE htML>\n"
797     # + "| <!DOCTYPE HTML>\n"
798 wakaba 1.17 ok 389
799     not ok 390
800     # 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)
801 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
802     #y</pre></body></html>)
803     # Line 1 is changed:
804     # - "| <!DOCTYPE htML>\n"
805     # + "| <!DOCTYPE HTML>\n"
806 wakaba 1.17 not ok 391
807     # Test 391 got: "1" (t/HTML-tree.t at line 133 fail #196)
808 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><html><head></head><body><pre>x<div>
809 wakaba 1.1 #y</pre></body></html>; 2:8:not closed:div;)
810 wakaba 1.17 not ok 392
811     # 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)
812 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>
813 wakaba 1.1 #y</pre></body></html>)
814 wakaba 1.8 # Line 1 is changed:
815     # - "| <!DOCTYPE htML>\n"
816     # + "| <!DOCTYPE HTML>\n"
817 wakaba 1.1 # Line 9 is changed:
818     # - "| y\"\n"
819     # + "y\"\n"
820 wakaba 1.17 not ok 393
821     # Test 393 got: "1" (t/HTML-tree.t at line 133 fail #197)
822 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><HTML><META><HEAD></HEAD></HTML>; 1:34:in head:head;)
823 wakaba 1.17 not ok 394
824     # Test 394 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <meta>\n| <body>\n" (t/HTML-tree.t at line 135 fail #197)
825 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <meta>\n| <body>\n" (Document tree: <!DOCTYPE htML><HTML><META><HEAD></HEAD></HTML>)
826     # Line 1 is changed:
827     # - "| <!DOCTYPE htML>\n"
828     # + "| <!DOCTYPE HTML>\n"
829 wakaba 1.17 not ok 395
830     # Test 395 got: "1" (t/HTML-tree.t at line 133 fail #198)
831 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><HTML><HEAD><head></HEAD></HTML>; 1:34:in head:head;)
832 wakaba 1.17 not ok 396
833     # Test 396 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n" (t/HTML-tree.t at line 135 fail #198)
834 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE htML><HTML><HEAD><head></HEAD></HTML>)
835     # Line 1 is changed:
836     # - "| <!DOCTYPE htML>\n"
837     # + "| <!DOCTYPE HTML>\n"
838 wakaba 1.17 not ok 397
839     # Test 397 got: "3" (t/HTML-tree.t at line 133 fail #199)
840 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;)
841 wakaba 1.17 ok 398
842     not ok 399
843     # Test 399 got: "4" (t/HTML-tree.t at line 133 fail #200)
844 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;)
845 wakaba 1.17 not ok 400
846     # 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)
847 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)
848     # Line 5 is missing:
849     # - "| <body>\n"
850 wakaba 1.17 ok 401
851     not ok 402
852     # Test 402 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <textarea>\n" (t/HTML-tree.t at line 135 fail #201)
853 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <textarea>\n" (Document tree: <!DOCTYPE htML><textarea>
854     #</textarea>)
855     # Line 1 is changed:
856     # - "| <!DOCTYPE htML>\n"
857     # + "| <!DOCTYPE HTML>\n"
858 wakaba 1.17 ok 403
859     not ok 404
860     # 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)
861 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <textarea>\n| \"foo\"\n" (Document tree: <!DOCTYPE htML><textarea>
862     #
863     #foo</textarea>)
864     # Line 1 is changed:
865     # - "| <!DOCTYPE htML>\n"
866     # + "| <!DOCTYPE HTML>\n"
867     # Line 6 is changed:
868     # - "| \"foo\"\n"
869     # + "| \"\n"
870 wakaba 1.9 # Got 1 extra line at line 7:
871 wakaba 1.8 # + "foo\"\n"
872 wakaba 1.17 ok 405
873     not ok 406
874     # 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)
875 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>)
876     # Line 1 is changed:
877     # - "| <!DOCTYPE htML>\n"
878     # + "| <!DOCTYPE HTML>\n"
879 wakaba 1.17 ok 407
880     not ok 408
881     # 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)
882 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <nobr>\n| <nobr>\n| <nobr>\n" (Document tree: <!doctype html><nobr><nobr><nobr>)
883     # Line 1 is changed:
884     # - "| <!DOCTYPE html>\n"
885     # + "| <!DOCTYPE HTML>\n"
886     # Lines 6-7 are changed:
887     # - "| <nobr>\n"
888     # + "| <nobr>\n"
889     # - "| <nobr>\n"
890     # + "| <nobr>\n"
891 wakaba 1.17 ok 409
892     not ok 410
893     # 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)
894 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>)
895     # Line 1 is changed:
896     # - "| <!DOCTYPE html>\n"
897     # + "| <!DOCTYPE HTML>\n"
898     # Lines 6-7 are changed:
899     # - "| <nobr>\n"
900     # + "| <nobr>\n"
901     # - "| <nobr>\n"
902     # + "| <nobr>\n"
903 wakaba 1.16 # t/tree-construction/tests4.dat
904 wakaba 1.17 ok 411
905 wakaba 1.15 ok 412
906     ok 413
907     ok 414
908 wakaba 1.17 not ok 415
909     # Test 415 got: "1" (t/HTML-tree.t at line 133 fail #208)
910     # Expected: "0" (Parse error: textarea content with <em>pseudo</em> <foo>markup; 1:35:unmatched end tag;)
911 wakaba 1.15 ok 416
912 wakaba 1.11 ok 417
913     ok 418
914 wakaba 1.17 ok 419
915     ok 420
916     ok 421
917     ok 422
918     not ok 423
919     # Test 423 got: "1" (t/HTML-tree.t at line 133 fail #212)
920 wakaba 1.16 # Expected: "0" (Parse error: <title>setting head's innerHTML</title>; 1:8:in body:title;)
921 wakaba 1.17 ok 424
922 wakaba 1.16 # t/tree-construction/tests5.dat
923 wakaba 1.17 not ok 425
924     # Test 425 got: "3" (t/HTML-tree.t at line 133 fail #213)
925 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)
926 wakaba 1.17 not ok 426
927     # Test 426 got: "| <html>\n| <head>\n| <style>\n| \" <!-- </style>x\"\n" (t/HTML-tree.t at line 135 fail #213)
928 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <style>\n| \" <!-- </style>x\"\n| <body>\n" (Document tree: <style> <!-- </style>x)
929     # Line 5 is missing:
930     # - "| <body>\n"
931     ok 427
932     ok 428
933     ok 429
934     ok 430
935     ok 431
936     ok 432
937     ok 433
938     ok 434
939     ok 435
940     ok 436
941     ok 437
942     ok 438
943     ok 439
944     ok 440
945 wakaba 1.17 ok 441
946     ok 442
947     ok 443
948     ok 444
949 wakaba 1.16 # t/tree-construction/tests6.dat
950 wakaba 1.17 not ok 445
951     # Test 445 got: "2" (t/HTML-tree.t at line 133 fail #223)
952 wakaba 1.8 # Expected: "0" (Parse error: <!doctype html></head> <head>; 1:23:unmatched end tag:head, 1:29:not closed:head;)
953 wakaba 1.17 not ok 446
954     # Test 446 got: "| <!DOCTYPE HTML>\n| <html>\n| \" \"\n| <head>\n" (t/HTML-tree.t at line 135 fail #223)
955 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| \" \"\n| <body>\n" (Document tree: <!doctype html></head> <head>)
956     # Line 1 is changed:
957     # - "| <!DOCTYPE html>\n"
958     # + "| <!DOCTYPE HTML>\n"
959     # Got 1 extra line at line 3:
960     # + "| \" \"\n"
961     # Lines 5-5 are missing:
962     # - "| \" \"\n"
963     # - "| <body>\n"
964 wakaba 1.17 not ok 447
965     # Test 447 got: "3" (t/HTML-tree.t at line 133 fail #224)
966 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;)
967 wakaba 1.17 not ok 448
968     # Test 448 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| \" \"\n" (t/HTML-tree.t at line 135 fail #224)
969 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| \" \"\n" (Document tree: <!doctype html></html> <head>)
970     # Line 1 is changed:
971     # - "| <!DOCTYPE html>\n"
972     # + "| <!DOCTYPE HTML>\n"
973 wakaba 1.17 not ok 449
974     # Test 449 got: "2" (t/HTML-tree.t at line 133 fail #225)
975 wakaba 1.8 # Expected: "0" (Parse error: <!doctype html></body><meta>; 1:23:unmatched end tag:body, 1:28:not closed:head;)
976 wakaba 1.17 not ok 450
977     # Test 450 got: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <meta>\n" (t/HTML-tree.t at line 135 fail #225)
978 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <meta>\n" (Document tree: <!doctype html></body><meta>)
979     # Line 1 is changed:
980     # - "| <!DOCTYPE html>\n"
981     # + "| <!DOCTYPE HTML>\n"
982     # Line 4 is missing:
983     # - "| <body>\n"
984 wakaba 1.16 # t/tree-test-1.dat
985 wakaba 1.1 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
1067 wakaba 1.16 ok 533
1068     ok 534
1069     ok 535
1070     ok 536
1071     ok 537
1072     ok 538
1073     ok 539
1074     ok 540
1075     ok 541
1076     ok 542
1077     ok 543
1078     ok 544
1079     ok 545
1080     ok 546
1081     ok 547
1082     ok 548
1083     ok 549
1084     ok 550
1085     ok 551
1086     ok 552
1087     ok 553
1088     ok 554
1089 wakaba 1.17 ok 555
1090     ok 556
1091     ok 557
1092     ok 558

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24