/[suikacvs]/markup/html/whatpm/t/tree-construction/tests7.dat
Suika

Contents of /markup/html/whatpm/t/tree-construction/tests7.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Oct 4 17:16:02 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +48 -28 lines
++ whatpm/t/ChangeLog	4 Oct 2008 17:15:55 -0000
2008-10-05  Wakaba  <wakaba@suika.fam.cx>

	* HTML-tree.t: New test files added.

	* Makefile: New test files added.

++ whatpm/Whatpm/ChangeLog	4 Oct 2008 17:15:20 -0000
2008-10-05  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: An AAA bug fixed.

1 wakaba 1.1 #data
2     <!doctype html><body><title>X</title>
3     #errors
4     #document
5     | <!DOCTYPE html>
6     | <html>
7     | <head>
8     | <title>
9     | "X"
10 wakaba 1.2 | <body>
11 wakaba 1.1
12     #data
13     <!doctype html><table><title>X</title></table>
14     #errors
15 wakaba 1.2 Line: 1 Col: 29 Unexpected start tag (title) in table context caused voodoo mode.
16     Line: 1 Col: 38 Unexpected end tag (title) in table context caused voodoo mode.
17 wakaba 1.1 #document
18     | <!DOCTYPE html>
19     | <html>
20     | <head>
21     | <title>
22     | "X"
23 wakaba 1.2 | <body>
24 wakaba 1.1 | <table>
25    
26     #data
27     <!doctype html><head></head><title>X</title>
28     #errors
29 wakaba 1.2 Line: 1 Col: 35 Unexpected start tag (title) that can be in head. Moved.
30 wakaba 1.1 #document
31     | <!DOCTYPE html>
32     | <html>
33     | <head>
34     | <title>
35     | "X"
36     | <body>
37    
38     #data
39     <!doctype html></head><title>X</title>
40     #errors
41 wakaba 1.2 Line: 1 Col: 29 Unexpected start tag (title) that can be in head. Moved.
42 wakaba 1.1 #document
43     | <!DOCTYPE html>
44     | <html>
45     | <head>
46     | <title>
47     | "X"
48     | <body>
49    
50     #data
51     <!doctype html></body><title>X</title>
52     #errors
53 wakaba 1.2 Line: 1 Col: 29 Unexpected start tag token (title) in the after body phase.
54 wakaba 1.1 #document
55     | <!DOCTYPE html>
56     | <html>
57     | <head>
58     | <title>
59     | "X"
60 wakaba 1.2 | <body>
61 wakaba 1.1
62     #data
63     <!doctype html><table><meta></table>
64     #errors
65 wakaba 1.2 Line: 1 Col: 28 Unexpected start tag (meta) in table context caused voodoo mode.
66 wakaba 1.1 #document
67     | <!DOCTYPE html>
68     | <html>
69     | <head>
70     | <body>
71     | <meta>
72     | <table>
73    
74     #data
75     <!doctype html><table> X<meta></table>
76     #errors
77 wakaba 1.2 Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode.
78 wakaba 1.1 #document
79     | <!DOCTYPE html>
80     | <html>
81     | <head>
82     | <body>
83     | "X"
84     | <meta>
85     | <table>
86     | " "
87    
88     #data
89     <!doctype html><table>X<tr><td><table> <meta></table></table>
90     #errors
91 wakaba 1.2 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
92     Line: 1 Col: 45 Unexpected start tag (meta) in table context caused voodoo mode.
93 wakaba 1.1 #document
94     | <!DOCTYPE html>
95     | <html>
96     | <head>
97     | <body>
98     | "X"
99     | <table>
100     | <tbody>
101     | <tr>
102     | <td>
103     | <meta>
104     | <table>
105     | " "
106    
107     #data
108     <!doctype html><html> <head>
109     #errors
110     #document
111     | <!DOCTYPE html>
112     | <html>
113     | <head>
114     | <body>
115    
116     #data
117     <!doctype html> <head>
118     #errors
119     #document
120     | <!DOCTYPE html>
121     | <html>
122     | <head>
123     | <body>
124    
125     #data
126     <!doctype html><table> x</table>
127     #errors
128 wakaba 1.2 Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode.
129 wakaba 1.1 #document
130     | <!DOCTYPE html>
131     | <html>
132     | <head>
133     | <body>
134     | "x"
135     | <table>
136     | " "
137    
138     #data
139     <!doctype html><table> x </table>
140     #errors
141 wakaba 1.2 Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode.
142 wakaba 1.1 #document
143     | <!DOCTYPE html>
144     | <html>
145     | <head>
146     | <body>
147     | "x "
148     | <table>
149     | " "
150    
151     #data
152     <!doctype html><table><tr> x</table>
153     #errors
154 wakaba 1.2 Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode.
155 wakaba 1.1 #document
156     | <!DOCTYPE html>
157     | <html>
158     | <head>
159     | <body>
160     | "x"
161     | <table>
162     | <tbody>
163     | <tr>
164     | " "
165    
166     #data
167     <!doctype html><table><style> <tr>x </style> </table>
168     #errors
169 wakaba 1.2 Line: 1 Col: 44 Unexpected end tag (style) in table context caused voodoo mode.
170 wakaba 1.1 #document
171     | <!DOCTYPE html>
172     | <html>
173     | <head>
174     | <body>
175     | <table>
176     | <style>
177     | " <tr>x "
178     | " "
179    
180     #data
181     <!doctype html><table><TBODY><script> <tr>x </script> </table>
182     #errors
183 wakaba 1.2 Line: 1 Col: 53 Unexpected end tag (script) in table context caused voodoo mode.
184 wakaba 1.1 #document
185     | <!DOCTYPE html>
186     | <html>
187     | <head>
188     | <body>
189     | <table>
190     | <tbody>
191     | <script>
192     | " <tr>x "
193     | " "
194    
195     #data
196     <!doctype html><table>X<style> <tr>x </style> </table>
197     #errors
198 wakaba 1.2 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
199     Line: 1 Col: 45 Unexpected end tag (style) in table context caused voodoo mode.
200 wakaba 1.1 #document
201     | <!DOCTYPE html>
202     | <html>
203     | <head>
204     | <body>
205     | "X"
206     | <style>
207     | " <tr>x "
208     | " "
209     | <table>
210    
211     #data
212     <!doctype html><p><applet><p>X</p></applet>
213     #errors
214     #document
215     | <!DOCTYPE html>
216     | <html>
217     | <head>
218     | <body>
219     | <p>
220     | <applet>
221     | <p>
222     | "X"
223    
224     #data
225     <!doctype html><listing>
226     X</listing>
227     #errors
228     #document
229     | <!DOCTYPE html>
230     | <html>
231     | <head>
232     | <body>
233     | <listing>
234     | "X"
235    
236     #data
237     <!doctype html><select><input>X
238     #errors
239 wakaba 1.2 Line: 1 Col: 30 Unexpected input start tag in the select phase.
240 wakaba 1.1 #document
241     | <!DOCTYPE html>
242     | <html>
243     | <head>
244     | <body>
245     | <select>
246     | <input>
247     | "X"
248    
249     #data
250     <!doctype html><select><select>X
251     #errors
252 wakaba 1.2 Line: 1 Col: 31 Unexpected select start tag in the select phase treated as select end tag.
253 wakaba 1.1 #document
254     | <!DOCTYPE html>
255     | <html>
256     | <head>
257     | <body>
258     | <select>
259     | "X"
260    
261     #data
262     <!doctype html><table><input type=hidDEN></table>
263     #errors
264 wakaba 1.2 Line: 1 Col: 41 Unexpected input with type hidden in table context.
265 wakaba 1.1 #document
266     | <!DOCTYPE html>
267     | <html>
268     | <head>
269     | <body>
270     | <table>
271     | <input>
272     | type="hidDEN"
273    
274     #data
275     <!doctype html><table>X<input type=hidDEN></table>
276     #errors
277 wakaba 1.2 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
278 wakaba 1.1 #document
279     | <!DOCTYPE html>
280     | <html>
281     | <head>
282     | <body>
283     | "X"
284     | <input>
285     | type="hidDEN"
286     | <table>
287    
288     #data
289     <!doctype html><table> <input type=hidDEN></table>
290     #errors
291 wakaba 1.2 Line: 1 Col: 43 Unexpected input with type hidden in table context.
292 wakaba 1.1 #document
293     | <!DOCTYPE html>
294     | <html>
295     | <head>
296     | <body>
297     | <table>
298     | " "
299     | <input>
300     | type="hidDEN"
301    
302     #data
303     <!doctype html><table> <input type='hidDEN'></table>
304     #errors
305 wakaba 1.2 Line: 1 Col: 45 Unexpected input with type hidden in table context.
306 wakaba 1.1 #document
307     | <!DOCTYPE html>
308     | <html>
309     | <head>
310     | <body>
311     | <table>
312     | " "
313     | <input>
314     | type="hidDEN"
315    
316     #data
317     <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
318     #errors
319 wakaba 1.2 Line: 1 Col: 44 Unexpected start tag (input) in table context caused voodoo mode.
320 wakaba 1.1 #document
321     | <!DOCTYPE html>
322     | <html>
323     | <head>
324     | <body>
325     | <input>
326     | type=" hidden"
327     | <input>
328     | type="hidDEN"
329     | <table>
330    
331     #data
332     <!doctype html><table><select>X<tr>
333     #errors
334 wakaba 1.2 Line: 1 Col: 30 Unexpected start tag (select) in table context caused voodoo mode.
335     Line: 1 Col: 35 Unexpected table element start tag (trs) in the select in table phase.
336     Line: 1 Col: 35 Expected closing tag. Unexpected end of file.
337 wakaba 1.1 #document
338     | <!DOCTYPE html>
339     | <html>
340     | <head>
341     | <body>
342     | <select>
343     | "X"
344     | <table>
345     | <tbody>
346     | <tr>
347    
348     #data
349     <!doctype html><select>X</select>
350     #errors
351     #document
352     | <!DOCTYPE html>
353     | <html>
354     | <head>
355     | <body>
356     | <select>
357     | "X"
358    
359     #data
360     <!DOCTYPE hTmL><html></html>
361     #errors
362     #document
363     | <!DOCTYPE hTmL>
364     | <html>
365     | <head>
366     | <body>
367    
368     #data
369     <!DOCTYPE HTML><html></html>
370     #errors
371     #document
372     | <!DOCTYPE HTML>
373     | <html>
374     | <head>
375     | <body>
376    
377     #data
378     <body>X</body></body>
379     #errors
380 wakaba 1.2 Line: 1 Col: 21 Unexpected end tag token (body) in the after body phase.
381     Line: 1 Col: 21 Unexpected EOF in inner html mode.
382 wakaba 1.1 #document-fragment
383     html
384     #document
385     | <head>
386     | <body>
387     | "X"
388    
389     #data
390     <!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>
391     #errors
392 wakaba 1.2 Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode.
393     Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode.
394 wakaba 1.1 #document
395     | <!DOCTYPE html>
396     | <html>
397     | <head>
398     | <body>
399     | <div>
400     | <a>
401     | "foo"
402     | " "
403     | <table>
404     | <tbody>
405     | <tr>
406     | <td>
407 wakaba 1.2 | "bar"
408    
409     #data
410     <div><p>a</x> b
411     #errors
412     Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
413     Line: 1 Col: 13 Unexpected end tag (x). Ignored.
414     Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
415     #document
416     | <html>
417     | <head>
418     | <body>
419     | <div>
420     | <p>
421     | "a b"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24