/[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.20 - (hide annotations) (download)
Sat Jun 23 12:21:01 2007 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.19: +282 -170 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	23 Jun 2007 11:53:34 -0000
	* HTML-tokenizer.t: Support for new DOCTYPE token syntax.

	* tokenizer-test-1.test: Tests for DOCTYPE tokens
	are revised and added.

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

++ whatpm/Whatpm/ChangeLog	23 Jun 2007 11:57:47 -0000
	* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).

	* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
	New attributes.

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.20 # Current time local: Sat Jun 23 21:18:26 2007
4     # Current time GMT: Sat Jun 23 12:18:26 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.20 # Expected: "1" (Parse error: <head>; 1:6:no DOCTYPE, 1:6:not closed:head;6: missing document type declaration)
53 wakaba 1.16 # 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.20 # Expected: "1" (Parse error: <html><head>; 1:7:no 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.20 # Expected: "2" (Parse error: <h1>Hello<h2>World; 1:5:no 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.20 # Expected: "4" (Parse error: <!--><div>--<!-->; 1:13:dash in comment, 1:17:no 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 wakaba 1.20 # Expected: "9" (Parse error: <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->; 1:7:dash in comment, 1:15:no 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.20 # Expected: "8" (Parse error: <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe; 1:16:no 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 wakaba 1.20 # Expected: "6" (Parse error: <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe; 1:8:no 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.20 # Expected: "1" (Parse error: <title><meta></title><link><title><meta></title>; 1:8:no 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.20 # Expected: "2" (Parse error: <style><!--</style><meta><script>--><link></script>; 1:8:no 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.20 # Expected: "7" (Parse error: <body><body><base><link><meta><title><p></title><body><p></body>; 1:7:no 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 wakaba 1.20 # Expected: "12" (Parse error: <a><table><a></table><p><a><div><a>; 1:4:no 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 wakaba 1.17 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.20 # Expected: "3" (Parse error: <head></html><meta><p>; 1:7:no 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.20 # Expected: "2" (Parse error: <h1><h2>; 1:5:no 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 wakaba 1.20 # Expected: "2" (Parse error: <ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>; 1:5:no 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.20 # Expected: "4" (Parse error: <h1><table><td><h3></table><h3></h1>; 1:5:no 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.20 # 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:no 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.20 # Expected: "3" (Parse error: <script></x; 1:9:no 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.20 # Expected: "4" (Parse error: <table><plaintext><td>; 1:8:no 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 wakaba 1.20 # 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 wakaba 1.1 # Line 7 is missing:
526     # - "| <body>\n"
527 wakaba 1.16 ok 287
528     ok 288
529     ok 289
530     ok 290
531     ok 291
532     ok 292
533     ok 293
534     ok 294
535     ok 295
536 wakaba 1.17 ok 296
537     ok 297
538     ok 298
539     ok 299
540 wakaba 1.20 ok 300
541 wakaba 1.17 ok 301
542     ok 302
543     ok 303
544 wakaba 1.20 ok 304
545 wakaba 1.17 ok 305
546 wakaba 1.20 ok 306
547 wakaba 1.17 ok 307
548     not ok 308
549     # 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)
550 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)
551 wakaba 1.1 # Lines 9-13 are changed:
552     # - "| \" \"\n"
553     # + "| <b>\n"
554     # - "| <p>\n"
555     # + "| <i>\n"
556     # - "| <b>\n"
557     # + "| <u>\n"
558     # - "| <i>\n"
559     # + "| \" \"\n"
560     # - "| <u>\n"
561     # + "| <p>\n"
562 wakaba 1.16 ok 309
563     ok 310
564     ok 311
565     ok 312
566     ok 313
567     ok 314
568     ok 315
569 wakaba 1.17 ok 316
570     ok 317
571     ok 318
572     ok 319
573     not ok 320
574     # Test 320 got: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #160)
575 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- X -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- X)
576 wakaba 1.1 # Lines 4-4 are missing:
577     # - "| <head>\n"
578     # - "| <body>\n"
579 wakaba 1.16 ok 321
580     ok 322
581     ok 323
582     ok 324
583     ok 325
584     ok 326
585     ok 327
586 wakaba 1.17 ok 328
587     ok 329
588     ok 330
589     ok 331
590     not ok 332
591     # Test 332 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #166)
592 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX -->)
593 wakaba 1.1 # Lines 4-4 are missing:
594     # - "| <head>\n"
595     # - "| <body>\n"
596 wakaba 1.17 ok 333
597     not ok 334
598     # Test 334 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #167)
599 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX)
600 wakaba 1.1 # Lines 4-4 are missing:
601     # - "| <head>\n"
602     # - "| <body>\n"
603 wakaba 1.17 ok 335
604     not ok 336
605     # Test 336 got: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #168)
606 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- XXX - XXX - XXX -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!-- XXX - XXX - XXX -->)
607 wakaba 1.1 # Lines 4-4 are missing:
608     # - "| <head>\n"
609     # - "| <body>\n"
610 wakaba 1.17 ok 337
611     not ok 338
612     # 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)
613 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>)
614     # Line 8 is changed:
615     # - "| \"This is a searchable index. Insert your search keywords here:\"\n"
616     # + "| \"This is a searchable index. Insert your search keywords here: \"\n"
617     # Got 1 extra line at line 10:
618     # + "| name=\"isindex\"\n"
619     # Line 12 is missing:
620     # - "| name=\"isindex\"\n"
621 wakaba 1.17 ok 339
622     ok 340
623     ok 341
624     not ok 342
625     # 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)
626 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>
627     #<p>X)
628     # Line 8 is changed:
629     # - "| \"\n"
630     # + "| <b>\n"
631     # Got 3 extra lines at line 9:
632     # + "| <i>\n"
633     # + "| <u>\n"
634     # + "| \"\n"
635     # Line 13 is changed:
636     # - "| <p>\n"
637     # + "| <p>\n"
638     # Lines 14-14 are missing:
639     # - "| <b>\n"
640     # - "| <i>\n"
641     # - "| <u>\n"
642 wakaba 1.17 ok 343
643     ok 344
644     ok 345
645     not ok 346
646     # 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)
647 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>
648     #x { content:"</style" } </style>)
649     # Line 6 is missing:
650     # - "| <body>\n"
651     # Got 1 extra line at line 10:
652     # + "| <body>\n"
653 wakaba 1.17 ok 347
654     ok 348
655     ok 349
656     not ok 350
657 wakaba 1.20 # Test 350 got: "| <html>\n" (t/HTML-tree.t at line 135 fail #175)
658 wakaba 1.1 # Expected: "| \" \n \"\n| <html>\n| <head>\n| <body>\n" (Document tree:
659     # )
660 wakaba 1.20 # Lines 1-1 are missing:
661     # - "| \" \n"
662     # - " \"\n"
663     # Lines 2-2 are missing:
664 wakaba 1.1 # - "| <head>\n"
665     # - "| <body>\n"
666 wakaba 1.17 ok 351
667     not ok 352
668     # Test 352 got: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n" (t/HTML-tree.t at line 135 fail #176)
669 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| \" \"\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML> <html>)
670 wakaba 1.1 # Lines 4-4 are missing:
671     # - "| <head>\n"
672     # - "| <body>\n"
673 wakaba 1.17 ok 353
674     not ok 354
675     # 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)
676 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>
677 wakaba 1.1 #</script> <title>x</title> </head>)
678     # Line 11 is missing:
679     # - "| <body>\n"
680 wakaba 1.17 not ok 355
681     # Test 355 got: "0" (t/HTML-tree.t at line 133 fail #178)
682 wakaba 1.8 # Expected: "1" (Parse error: <!DOCTYPE HTML><html><body><html id=x>; ;duplicate html start tag)
683 wakaba 1.17 ok 356
684     not ok 357
685     # Test 357 got: "0" (t/HTML-tree.t at line 133 fail #179)
686 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.)
687 wakaba 1.17 ok 358
688     ok 359
689     not ok 360
690     # Test 360 got: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n" (t/HTML-tree.t at line 135 fail #180)
691 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <html>\n| id=\"x\"\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><head><html id=x>)
692 wakaba 1.1 # Line 5 is missing:
693     # - "| <body>\n"
694 wakaba 1.16 ok 361
695     ok 362
696     ok 363
697 wakaba 1.17 ok 364
698     ok 365
699     ok 366
700     ok 367
701     not ok 368
702     # 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)
703 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>)
704 wakaba 1.1 # Got 1 extra line at line 7:
705     # + "| x=\"\"\n"
706     # Line 9 is missing:
707     # - "| x=\"\"\n"
708 wakaba 1.17 ok 369
709     not ok 370
710     # Test 370 got: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n" (t/HTML-tree.t at line 135 fail #185)
711 wakaba 1.8 # Expected: "| <!DOCTYPE HTML>\n| <!-- x -->\n| <html>\n| <head>\n| <body>\n" (Document tree: <!DOCTYPE HTML><!--x--)
712 wakaba 1.1 # Lines 4-4 are missing:
713     # - "| <head>\n"
714     # - "| <body>\n"
715 wakaba 1.17 ok 371
716     ok 372
717 wakaba 1.16 # t/tree-construction/tests3.dat
718 wakaba 1.17 ok 373
719     not ok 374
720     # Test 374 got: "| <html>\n| <head>\n| <style>\n" (t/HTML-tree.t at line 135 fail #187)
721 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <style>\n| <body>\n" (Document tree: <head></head><style></style>)
722     # Line 4 is missing:
723     # - "| <body>\n"
724 wakaba 1.17 ok 375
725     not ok 376
726     # Test 376 got: "| <html>\n| <head>\n| <script>\n" (t/HTML-tree.t at line 135 fail #188)
727 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <script>\n| <body>\n" (Document tree: <head></head><script></script>)
728     # Line 4 is missing:
729     # - "| <body>\n"
730 wakaba 1.17 ok 377
731     not ok 378
732     # Test 378 got: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n" (t/HTML-tree.t at line 135 fail #189)
733 wakaba 1.1 # Expected: "| <html>\n| <head>\n| <style>\n| <script>\n| <!-- -->\n| <!-- -->\n| <body>\n" (Document tree: <head></head><!-- --><style></style><!-- --><script></script>)
734     # Line 7 is missing:
735     # - "| <body>\n"
736 wakaba 1.17 ok 379
737     ok 380
738     ok 381
739 wakaba 1.20 ok 382
740 wakaba 1.17 ok 383
741     not ok 384
742 wakaba 1.20 # 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)
743 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>
744 wakaba 1.1 #
745     #foo</pre></body></html>)
746     # Line 6 is changed:
747     # - "| \"foo\"\n"
748     # + "| \"\n"
749     # Got 1 extra line at line 7:
750     # + "foo\"\n"
751 wakaba 1.17 ok 385
752     not ok 386
753 wakaba 1.20 # 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)
754 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>
755 wakaba 1.1 #
756     #foo
757     #</pre></body></html>)
758     # Line 6 is changed:
759     # - "| \"foo\n"
760     # + "| \"\n"
761     # Got 1 extra line at line 7:
762     # + "foo\n"
763 wakaba 1.17 ok 387
764 wakaba 1.20 ok 388
765 wakaba 1.17 ok 389
766 wakaba 1.20 ok 390
767 wakaba 1.17 not ok 391
768     # Test 391 got: "1" (t/HTML-tree.t at line 133 fail #196)
769 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><html><head></head><body><pre>x<div>
770 wakaba 1.1 #y</pre></body></html>; 2:8:not closed:div;)
771 wakaba 1.17 not ok 392
772 wakaba 1.20 # 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)
773 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>
774 wakaba 1.1 #y</pre></body></html>)
775     # Line 9 is changed:
776     # - "| y\"\n"
777     # + "y\"\n"
778 wakaba 1.17 not ok 393
779     # Test 393 got: "1" (t/HTML-tree.t at line 133 fail #197)
780 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><HTML><META><HEAD></HEAD></HTML>; 1:34:in head:head;)
781 wakaba 1.20 ok 394
782 wakaba 1.17 not ok 395
783     # Test 395 got: "1" (t/HTML-tree.t at line 133 fail #198)
784 wakaba 1.8 # Expected: "0" (Parse error: <!DOCTYPE htML><HTML><HEAD><head></HEAD></HTML>; 1:34:in head:head;)
785 wakaba 1.20 ok 396
786 wakaba 1.17 not ok 397
787     # Test 397 got: "3" (t/HTML-tree.t at line 133 fail #199)
788 wakaba 1.20 # Expected: "0" (Parse error: <textarea>foo<span>bar</span><i>baz; 1:11:no DOCTYPE, 1:25:unmatched end tag, 1:35:in CDATA:#end-of-file;)
789 wakaba 1.17 ok 398
790     not ok 399
791     # Test 399 got: "4" (t/HTML-tree.t at line 133 fail #200)
792 wakaba 1.20 # Expected: "0" (Parse error: <title>foo<span>bar</em><i>baz; 1:8:no DOCTYPE, 1:22:unmatched end tag, 1:30:in RCDATA:#end-of-file, 1:30:not closed:head;)
793 wakaba 1.17 not ok 400
794     # 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)
795 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)
796     # Line 5 is missing:
797     # - "| <body>\n"
798 wakaba 1.17 ok 401
799 wakaba 1.20 ok 402
800 wakaba 1.17 ok 403
801     not ok 404
802 wakaba 1.20 # 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)
803 wakaba 1.8 # Expected: "| <!DOCTYPE htML>\n| <html>\n| <head>\n| <body>\n| <textarea>\n| \"foo\"\n" (Document tree: <!DOCTYPE htML><textarea>
804     #
805     #foo</textarea>)
806     # Line 6 is changed:
807     # - "| \"foo\"\n"
808     # + "| \"\n"
809 wakaba 1.9 # Got 1 extra line at line 7:
810 wakaba 1.8 # + "foo\"\n"
811 wakaba 1.17 ok 405
812 wakaba 1.20 ok 406
813 wakaba 1.17 ok 407
814     not ok 408
815 wakaba 1.20 # 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)
816 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>)
817     # Lines 6-7 are changed:
818     # - "| <nobr>\n"
819     # + "| <nobr>\n"
820     # - "| <nobr>\n"
821     # + "| <nobr>\n"
822 wakaba 1.17 ok 409
823     not ok 410
824 wakaba 1.20 # 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)
825 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>)
826     # Lines 6-7 are changed:
827     # - "| <nobr>\n"
828     # + "| <nobr>\n"
829     # - "| <nobr>\n"
830     # + "| <nobr>\n"
831 wakaba 1.16 # t/tree-construction/tests4.dat
832 wakaba 1.17 ok 411
833 wakaba 1.15 ok 412
834     ok 413
835     ok 414
836 wakaba 1.17 not ok 415
837     # Test 415 got: "1" (t/HTML-tree.t at line 133 fail #208)
838     # Expected: "0" (Parse error: textarea content with <em>pseudo</em> <foo>markup; 1:35:unmatched end tag;)
839 wakaba 1.15 ok 416
840 wakaba 1.11 ok 417
841     ok 418
842 wakaba 1.17 ok 419
843     ok 420
844     ok 421
845     ok 422
846     not ok 423
847     # Test 423 got: "1" (t/HTML-tree.t at line 133 fail #212)
848 wakaba 1.16 # Expected: "0" (Parse error: <title>setting head's innerHTML</title>; 1:8:in body:title;)
849 wakaba 1.17 ok 424
850 wakaba 1.16 # t/tree-construction/tests5.dat
851 wakaba 1.17 not ok 425
852     # Test 425 got: "3" (t/HTML-tree.t at line 133 fail #213)
853 wakaba 1.20 # Expected: "2" (Parse error: <style> <!-- </style>x; 1:8:no DOCTYPE, 1:22:in CDATA:#end-of-file, 1:22:not closed:head;No DOCTYPE, Unexpected end of file)
854 wakaba 1.17 not ok 426
855     # Test 426 got: "| <html>\n| <head>\n| <style>\n| \" <!-- </style>x\"\n" (t/HTML-tree.t at line 135 fail #213)
856 wakaba 1.16 # Expected: "| <html>\n| <head>\n| <style>\n| \" <!-- </style>x\"\n| <body>\n" (Document tree: <style> <!-- </style>x)
857     # Line 5 is missing:
858     # - "| <body>\n"
859     ok 427
860     ok 428
861     ok 429
862     ok 430
863     ok 431
864     ok 432
865     ok 433
866     ok 434
867     ok 435
868     ok 436
869     ok 437
870     ok 438
871     ok 439
872     ok 440
873 wakaba 1.17 ok 441
874     ok 442
875     ok 443
876     ok 444
877 wakaba 1.16 # t/tree-construction/tests6.dat
878 wakaba 1.17 not ok 445
879     # Test 445 got: "2" (t/HTML-tree.t at line 133 fail #223)
880 wakaba 1.8 # Expected: "0" (Parse error: <!doctype html></head> <head>; 1:23:unmatched end tag:head, 1:29:not closed:head;)
881 wakaba 1.17 not ok 446
882 wakaba 1.20 # Test 446 got: "| <!DOCTYPE html>\n| <html>\n| \" \"\n| <head>\n" (t/HTML-tree.t at line 135 fail #223)
883 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| \" \"\n| <body>\n" (Document tree: <!doctype html></head> <head>)
884     # Got 1 extra line at line 3:
885     # + "| \" \"\n"
886     # Lines 5-5 are missing:
887     # - "| \" \"\n"
888     # - "| <body>\n"
889 wakaba 1.17 not ok 447
890     # Test 447 got: "3" (t/HTML-tree.t at line 133 fail #224)
891 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;)
892 wakaba 1.20 ok 448
893 wakaba 1.17 not ok 449
894     # Test 449 got: "2" (t/HTML-tree.t at line 133 fail #225)
895 wakaba 1.8 # Expected: "0" (Parse error: <!doctype html></body><meta>; 1:23:unmatched end tag:body, 1:28:not closed:head;)
896 wakaba 1.17 not ok 450
897 wakaba 1.20 # Test 450 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <meta>\n" (t/HTML-tree.t at line 135 fail #225)
898 wakaba 1.8 # Expected: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <meta>\n" (Document tree: <!doctype html></body><meta>)
899     # Line 4 is missing:
900     # - "| <body>\n"
901 wakaba 1.16 # t/tree-test-1.dat
902 wakaba 1.1 ok 451
903 wakaba 1.20 not ok 452
904     # Test 452 got: "| <!DOCTYPE html>\n| <html>\n| title=\"t\"\n| <head>\n| <title>\n| <body>\n" (t/HTML-tree.t at line 135 fail #226)
905     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| title=\"t\"\n| <head>\n| <title>\n| <body>\n" (Document tree: <!DOCTYPE html><html title="t"><head><title></title></head><body></body></html>)
906     # Line 1 is changed:
907     # - "| <!DOCTYPE HTML>\n"
908     # + "| <!DOCTYPE html>\n"
909 wakaba 1.1 ok 453
910 wakaba 1.20 not ok 454
911     # Test 454 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| title=\"t\"\n| <title>\n| <body>\n" (t/HTML-tree.t at line 135 fail #227)
912     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| title=\"t\"\n| <title>\n| <body>\n" (Document tree: <!DOCTYPE html><html><head title="t"><title></title></head><body></body></html>)
913     # Line 1 is changed:
914     # - "| <!DOCTYPE HTML>\n"
915     # + "| <!DOCTYPE html>\n"
916 wakaba 1.1 ok 455
917 wakaba 1.20 not ok 456
918     # Test 456 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| class=\"t\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #228)
919     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| class=\"t\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title class="t"></title></head><body></body></html>)
920     # Line 1 is changed:
921     # - "| <!DOCTYPE HTML>\n"
922     # + "| <!DOCTYPE html>\n"
923 wakaba 1.1 ok 457
924 wakaba 1.20 not ok 458
925     # Test 458 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| class=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #229)
926     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| class=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head></head><body><title class="a"></title></body></html>)
927     # Line 1 is changed:
928     # - "| <!DOCTYPE HTML>\n"
929     # + "| <!DOCTYPE html>\n"
930 wakaba 1.3 ok 459
931 wakaba 1.20 not ok 460
932     # Test 460 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| class=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #230)
933     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| class=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head></head><body></body><title class="a"></title></html>)
934     # Line 1 is changed:
935     # - "| <!DOCTYPE HTML>\n"
936     # + "| <!DOCTYPE html>\n"
937 wakaba 1.3 ok 461
938 wakaba 1.20 not ok 462
939     # Test 462 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <body>\n| title=\"t\"\n" (t/HTML-tree.t at line 135 fail #231)
940     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <body>\n| title=\"t\"\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body title="t"></body></html>)
941     # Line 1 is changed:
942     # - "| <!DOCTYPE HTML>\n"
943     # + "| <!DOCTYPE html>\n"
944 wakaba 1.3 ok 463
945 wakaba 1.20 not ok 464
946     # Test 464 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <meta>\n| name=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #232)
947     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <meta>\n| name=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title><meta name="a"></head><body></body></html>)
948     # Line 1 is changed:
949     # - "| <!DOCTYPE HTML>\n"
950     # + "| <!DOCTYPE html>\n"
951 wakaba 1.3 ok 465
952 wakaba 1.20 not ok 466
953     # Test 466 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <meta>\n| name=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #233)
954     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <meta>\n| name=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body><meta name="a"></body></html>)
955     # Line 1 is changed:
956     # - "| <!DOCTYPE HTML>\n"
957     # + "| <!DOCTYPE html>\n"
958 wakaba 1.3 ok 467
959 wakaba 1.20 not ok 468
960     # Test 468 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <meta>\n| name=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #234)
961     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <meta>\n| name=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body></body><meta name="a"></html>)
962     # Line 1 is changed:
963     # - "| <!DOCTYPE HTML>\n"
964     # + "| <!DOCTYPE html>\n"
965 wakaba 1.3 ok 469
966 wakaba 1.20 not ok 470
967     # Test 470 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <link>\n| rel=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #235)
968     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <link>\n| rel=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title><link rel="a"></head><body></body></html>)
969     # Line 1 is changed:
970     # - "| <!DOCTYPE HTML>\n"
971     # + "| <!DOCTYPE html>\n"
972 wakaba 1.6 ok 471
973 wakaba 1.20 not ok 472
974     # Test 472 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <link>\n| rel=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #236)
975     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <link>\n| rel=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body><link rel="a"></body></html>)
976     # Line 1 is changed:
977     # - "| <!DOCTYPE HTML>\n"
978     # + "| <!DOCTYPE html>\n"
979 wakaba 1.8 ok 473
980 wakaba 1.20 not ok 474
981     # Test 474 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <link>\n| rel=\"a\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #237)
982     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <link>\n| rel=\"a\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body></body><link rel="a"></html>)
983     # Line 1 is changed:
984     # - "| <!DOCTYPE HTML>\n"
985     # + "| <!DOCTYPE html>\n"
986 wakaba 1.8 ok 475
987 wakaba 1.20 not ok 476
988     # Test 476 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <base>\n| href=\"http://\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #238)
989     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <base>\n| href=\"http://\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title><base href="http://"></head><body></body></html>)
990     # Line 1 is changed:
991     # - "| <!DOCTYPE HTML>\n"
992     # + "| <!DOCTYPE html>\n"
993 wakaba 1.8 ok 477
994 wakaba 1.20 not ok 478
995     # Test 478 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <base>\n| href=\"http://\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #239)
996     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <base>\n| href=\"http://\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body><base href="http://"></body></html>)
997     # Line 1 is changed:
998     # - "| <!DOCTYPE HTML>\n"
999     # + "| <!DOCTYPE html>\n"
1000 wakaba 1.8 ok 479
1001 wakaba 1.20 not ok 480
1002     # Test 480 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <base>\n| href=\"http://\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #240)
1003     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <base>\n| href=\"http://\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title></head><body></body><base href="http://"></html>)
1004     # Line 1 is changed:
1005     # - "| <!DOCTYPE HTML>\n"
1006     # + "| <!DOCTYPE html>\n"
1007 wakaba 1.8 ok 481
1008 wakaba 1.20 not ok 482
1009     # Test 482 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <p>\n| <b>\n| <p>\n| <b>\n| \"X\"\n" (t/HTML-tree.t at line 135 fail #241)
1010     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <p>\n| <b>\n| <p>\n| <b>\n| \"X\"\n" (Document tree: <!DOCTYPE html><p><b><p>X)
1011     # Line 1 is changed:
1012     # - "| <!DOCTYPE HTML>\n"
1013     # + "| <!DOCTYPE html>\n"
1014 wakaba 1.8 ok 483
1015 wakaba 1.20 not ok 484
1016     # Test 484 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <b>\n| <p>\n" (t/HTML-tree.t at line 135 fail #242)
1017     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <b>\n| <p>\n" (Document tree: <!DOCTYPE html><b><p>)
1018     # Line 1 is changed:
1019     # - "| <!DOCTYPE HTML>\n"
1020     # + "| <!DOCTYPE html>\n"
1021 wakaba 1.8 ok 485
1022 wakaba 1.20 not ok 486
1023     # Test 486 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <b>\n| <p>\n| \"X\"\n" (t/HTML-tree.t at line 135 fail #243)
1024     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <b>\n| <p>\n| \"X\"\n" (Document tree: <!DOCTYPE html><b><p>X)
1025     # Line 1 is changed:
1026     # - "| <!DOCTYPE HTML>\n"
1027     # + "| <!DOCTYPE html>\n"
1028 wakaba 1.8 ok 487
1029     ok 488
1030     ok 489
1031     ok 490
1032     ok 491
1033     ok 492
1034     ok 493
1035     ok 494
1036     ok 495
1037 wakaba 1.20 not ok 496
1038     # Test 496 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <ins>\n| <p>\n| \"XXYYY\"\n" (t/HTML-tree.t at line 135 fail #248)
1039     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <ins>\n| <p>\n| \"XXYYY\"\n" (Document tree: <!DOCTYPE html><ins><p>XX</ins>YYY)
1040     # Line 1 is changed:
1041     # - "| <!DOCTYPE HTML>\n"
1042     # + "| <!DOCTYPE html>\n"
1043 wakaba 1.8 ok 497
1044 wakaba 1.20 not ok 498
1045     # Test 498 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noscript>\n| \"aaa\"\n| <noscript>\n| \"bbb\"\n| \"ccc\"\n" (t/HTML-tree.t at line 135 fail #249)
1046     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noscript>\n| \"aaa\"\n| <noscript>\n| \"bbb\"\n| \"ccc\"\n" (Document tree: <!DOCTYPE html><noscript>aaa<noscript>bbb</noscript>ccc</noscript>)
1047     # Line 1 is changed:
1048     # - "| <!DOCTYPE HTML>\n"
1049     # + "| <!DOCTYPE html>\n"
1050 wakaba 1.8 ok 499
1051 wakaba 1.20 not ok 500
1052     # Test 500 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <iframe>\n" (t/HTML-tree.t at line 135 fail #250)
1053     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <iframe>\n" (Document tree: <!DOCTYPE html><iframe>)
1054     # Line 1 is changed:
1055     # - "| <!DOCTYPE HTML>\n"
1056     # + "| <!DOCTYPE html>\n"
1057 wakaba 1.8 ok 501
1058 wakaba 1.20 not ok 502
1059     # Test 502 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <iframe>\n" (t/HTML-tree.t at line 135 fail #251)
1060     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <iframe>\n" (Document tree: <!DOCTYPE html><iframe></iframe>)
1061     # Line 1 is changed:
1062     # - "| <!DOCTYPE HTML>\n"
1063     # + "| <!DOCTYPE html>\n"
1064 wakaba 1.8 ok 503
1065 wakaba 1.20 not ok 504
1066     # Test 504 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <iframe>\n| \"a\"\n" (t/HTML-tree.t at line 135 fail #252)
1067     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <iframe>\n| \"a\"\n" (Document tree: <!DOCTYPE html><iframe>a</iframe>)
1068     # Line 1 is changed:
1069     # - "| <!DOCTYPE HTML>\n"
1070     # + "| <!DOCTYPE html>\n"
1071 wakaba 1.8 ok 505
1072 wakaba 1.20 not ok 506
1073     # Test 506 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (t/HTML-tree.t at line 135 fail #253)
1074     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (Document tree: <!DOCTYPE html><noframes>)
1075     # Line 1 is changed:
1076     # - "| <!DOCTYPE HTML>\n"
1077     # + "| <!DOCTYPE html>\n"
1078 wakaba 1.8 ok 507
1079 wakaba 1.20 not ok 508
1080     # Test 508 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (t/HTML-tree.t at line 135 fail #254)
1081     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (Document tree: <!DOCTYPE html><noframes></noframes>)
1082     # Line 1 is changed:
1083     # - "| <!DOCTYPE HTML>\n"
1084     # + "| <!DOCTYPE html>\n"
1085 wakaba 1.11 ok 509
1086 wakaba 1.20 not ok 510
1087     # Test 510 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noframes>\n| \"a\"\n" (t/HTML-tree.t at line 135 fail #255)
1088     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noframes>\n| \"a\"\n" (Document tree: <!DOCTYPE html><noframes>a</noframes>)
1089     # Line 1 is changed:
1090     # - "| <!DOCTYPE HTML>\n"
1091     # + "| <!DOCTYPE html>\n"
1092 wakaba 1.12 ok 511
1093 wakaba 1.20 not ok 512
1094     # Test 512 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (t/HTML-tree.t at line 135 fail #256)
1095     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (Document tree: <!DOCTYPE html><noframes>)
1096     # Line 1 is changed:
1097     # - "| <!DOCTYPE HTML>\n"
1098     # + "| <!DOCTYPE html>\n"
1099 wakaba 1.12 ok 513
1100 wakaba 1.20 not ok 514
1101     # Test 514 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (t/HTML-tree.t at line 135 fail #257)
1102     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noframes>\n" (Document tree: <!DOCTYPE html><noframes></noframes>)
1103     # Line 1 is changed:
1104     # - "| <!DOCTYPE HTML>\n"
1105     # + "| <!DOCTYPE html>\n"
1106 wakaba 1.12 ok 515
1107 wakaba 1.20 not ok 516
1108     # Test 516 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <noframes>\n| \"a\"\n" (t/HTML-tree.t at line 135 fail #258)
1109     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <noframes>\n| \"a\"\n" (Document tree: <!DOCTYPE html><noframes>a</noframes>)
1110     # Line 1 is changed:
1111     # - "| <!DOCTYPE HTML>\n"
1112     # + "| <!DOCTYPE html>\n"
1113 wakaba 1.12 ok 517
1114 wakaba 1.20 not ok 518
1115     # Test 518 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <xmp>\n" (t/HTML-tree.t at line 135 fail #259)
1116     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <xmp>\n" (Document tree: <!DOCTYPE html><xmp>)
1117     # Line 1 is changed:
1118     # - "| <!DOCTYPE HTML>\n"
1119     # + "| <!DOCTYPE html>\n"
1120 wakaba 1.12 ok 519
1121 wakaba 1.20 not ok 520
1122     # Test 520 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <xmp>\n" (t/HTML-tree.t at line 135 fail #260)
1123     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <xmp>\n" (Document tree: <!DOCTYPE html><xmp></xmp>)
1124     # Line 1 is changed:
1125     # - "| <!DOCTYPE HTML>\n"
1126     # + "| <!DOCTYPE html>\n"
1127 wakaba 1.12 ok 521
1128 wakaba 1.20 not ok 522
1129     # Test 522 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <xmp>\n| \"a\"\n" (t/HTML-tree.t at line 135 fail #261)
1130     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <xmp>\n| \"a\"\n" (Document tree: <!DOCTYPE html><xmp>a</xmp>)
1131     # Line 1 is changed:
1132     # - "| <!DOCTYPE HTML>\n"
1133     # + "| <!DOCTYPE html>\n"
1134 wakaba 1.12 ok 523
1135 wakaba 1.20 not ok 524
1136     # Test 524 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <style>\n| <body>\n" (t/HTML-tree.t at line 135 fail #262)
1137     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <style>\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title><style></style></head><body>)
1138     # Line 1 is changed:
1139     # - "| <!DOCTYPE HTML>\n"
1140     # + "| <!DOCTYPE html>\n"
1141 wakaba 1.12 ok 525
1142 wakaba 1.20 not ok 526
1143     # Test 526 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <style>\n| type=\"text/css\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #263)
1144     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <style>\n| type=\"text/css\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title><style type="text/css"></style></head><body>)
1145     # Line 1 is changed:
1146     # - "| <!DOCTYPE HTML>\n"
1147     # + "| <!DOCTYPE html>\n"
1148 wakaba 1.12 ok 527
1149 wakaba 1.20 not ok 528
1150     # Test 528 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <style>\n| type=\"text/css\"\n| \"p {}\"\n| <body>\n" (t/HTML-tree.t at line 135 fail #264)
1151     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <style>\n| type=\"text/css\"\n| \"p {}\"\n| <body>\n" (Document tree: <!DOCTYPE html><html><head><title></title><style type="text/css">p {}</style></head><body>)
1152     # Line 1 is changed:
1153     # - "| <!DOCTYPE HTML>\n"
1154     # + "| <!DOCTYPE html>\n"
1155 wakaba 1.12 ok 529
1156 wakaba 1.20 not ok 530
1157     # Test 530 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <style>\n| type=\"text/css\"\n| <title>\n| <body>\n" (t/HTML-tree.t at line 135 fail #265)
1158     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <style>\n| type=\"text/css\"\n| <title>\n| <body>\n" (Document tree: <!DOCTYPE html><html><style type="text/css"></style><title></title></head><body>)
1159     # Line 1 is changed:
1160     # - "| <!DOCTYPE HTML>\n"
1161     # + "| <!DOCTYPE html>\n"
1162 wakaba 1.14 ok 531
1163 wakaba 1.20 not ok 532
1164     # Test 532 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <style>\n| type=\"text/css\"\n| <title>\n| <body>\n" (t/HTML-tree.t at line 135 fail #266)
1165     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <style>\n| type=\"text/css\"\n| <title>\n| <body>\n" (Document tree: <!DOCTYPE html><style type="text/css"></style><title></title><body>)
1166     # Line 1 is changed:
1167     # - "| <!DOCTYPE HTML>\n"
1168     # + "| <!DOCTYPE html>\n"
1169 wakaba 1.16 ok 533
1170 wakaba 1.20 not ok 534
1171     # Test 534 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <title>\n| <body>\n| <p>\n| \"a\"\n| <style>\n| type=\"text/css\"\n" (t/HTML-tree.t at line 135 fail #267)
1172     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <title>\n| <body>\n| <p>\n| \"a\"\n| <style>\n| type=\"text/css\"\n" (Document tree: <!DOCTYPE html><title></title><body><p>a<style type="text/css"></style>)
1173     # Line 1 is changed:
1174     # - "| <!DOCTYPE HTML>\n"
1175     # + "| <!DOCTYPE html>\n"
1176 wakaba 1.16 ok 535
1177 wakaba 1.20 not ok 536
1178     # Test 536 got: "| <!DOCTYPE html>\n| <html>\n| <head>\n| <body>\n| <form>\n" (t/HTML-tree.t at line 135 fail #268)
1179     # Expected: "| <!DOCTYPE HTML>\n| <html>\n| <head>\n| <body>\n| <form>\n" (Document tree: <!DOCTYPE html><form><form></form>)
1180     # Line 1 is changed:
1181     # - "| <!DOCTYPE HTML>\n"
1182     # + "| <!DOCTYPE html>\n"
1183 wakaba 1.16 ok 537
1184     ok 538
1185     ok 539
1186     ok 540
1187     ok 541
1188     ok 542
1189     ok 543
1190     ok 544
1191     ok 545
1192     ok 546
1193     ok 547
1194     ok 548
1195     ok 549
1196     ok 550
1197     ok 551
1198     ok 552
1199     ok 553
1200     ok 554
1201 wakaba 1.17 ok 555
1202     ok 556
1203     ok 557
1204     ok 558

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24