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