/[suikacvs]/markup/html/whatpm/t/tree-test-2.dat
Suika

Contents of /markup/html/whatpm/t/tree-test-2.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Thu Mar 6 15:23:24 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +12 -0 lines
++ whatpm/t/ChangeLog	6 Mar 2008 15:10:39 -0000
2008-03-06  Wakaba  <wakaba@suika.fam.cx>

	* tree-test-1.dat, tree-test-2.dat: More <html> test
	cases are added (HTML5 revision 1314).

++ whatpm/Whatpm/ChangeLog	6 Mar 2008 15:10:14 -0000
2008-03-06  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: <html> treatement refined (HTML5 revision 1314).

1 wakaba 1.1
2     #data
3     <link rel="a" href="b">
4     #errors
5     #document-fragment head
6     | <link>
7     | href="b"
8     | rel="a"
9    
10     #data
11     <meta name="a" content="b">
12     #errors
13     #document-fragment head
14     | <meta>
15     | content="b"
16     | name="a"
17    
18     #data
19     <base href="a" target="b">
20     #errors
21     #document-fragment head
22     | <base>
23     | href="a"
24     | target="b"
25    
26     #data
27     <base href="a" target="b">a
28     #errors
29     #document-fragment head
30     | <base>
31     | href="a"
32     | target="b"
33     | "a"
34    
35    
36     #data
37     </style>
38     #errors
39     #document-fragment style
40     | "</style>"
41    
42     #data
43     </style>abc
44     #errors
45     #document-fragment style
46     | "</style>abc"
47    
48     #data
49     <style>ABC</style>abc
50     #errors
51     #document-fragment style
52     | "<style>ABC</style>abc"
53    
54     #data
55     <style>ABC</style>abc
56     #errors
57     #document-fragment div
58     | <style>
59     | "ABC"
60     | "abc"
61    
62     #data
63     </stylesheet
64     #errors
65     #document-fragment style
66     | "</stylesheet"
67    
68     #data
69     </title>
70     #errors
71     #document-fragment title
72     | "</title>"
73    
74     #data
75     </title>abc
76     #errors
77     #document-fragment title
78     | "</title>abc"
79    
80     #data
81     </titletext
82     #errors
83     #document-fragment title
84     | "</titletext"
85    
86     #data
87     <table><tr><td><table></table>
88     #errors
89     outer <table> not closed
90     #document-fragment div
91     | <table>
92     | <tbody>
93     | <tr>
94     | <td>
95     | <table>
96    
97     #data
98     <table><caption><table></table><tr><td>
99     #errors
100     outer <table> not closed
101     <caption> not closed
102     #document-fragment div
103     | <table>
104     | <caption>
105     | <table>
106     | <tbody>
107     | <tr>
108     | <td>
109    
110 wakaba 1.2 #data
111     <title>a</title>
112     #errors
113     <title> in body
114     #document-fragment p
115     | <title>
116     | "a"
117    
118     #data
119     <table><title>a</title></table>
120     #errors
121     <title> in table
122     <title> in body
123     #document-fragment div
124     | <title>
125     | "a"
126     | <table>
127    
128     #data
129     <title>a</title>
130     #errors
131     <title> in table
132     <title> in body
133     #document-fragment table
134     | <title>
135     | "a"
136 wakaba 1.3
137     #data
138 wakaba 1.6 </table>
139     #errors
140     </table> in <caption>
141     </caption> implied by </table> is ignored
142     #document-fragment caption
143    
144     #data
145     <tbody>
146     #errors
147     <tbody> in <caption>
148     </caption> implied by <tbody> is ignored
149     #document-fragment caption
150    
151     #data
152     <tbody>a
153     #errors
154     <tbody> in <caption>
155     </caption> implied by <tbody> is ignored
156     #document-fragment caption
157     | "a"
158    
159     #data
160     <caption>x
161     #errors
162     <caption> in <caption>
163     </caption> implied by <caption> is ignored
164     #document-fragment caption
165     | "x"
166    
167     #data
168     <tr>
169     #errors
170     <tr> in <caption>
171     </caption> implied by <tr> is ignored
172     #document-fragment caption
173    
174     #data
175     <tr>x
176     #errors
177     <tr> in <caption>
178     </caption> implied by <tr> is ignored
179     #document-fragment caption
180     | "x"
181    
182     #data
183     <td>
184     #errors
185     <td> in <caption>
186     </caption> implied by <td> is ignored
187     #document-fragment caption
188    
189     #data
190     <td>x
191     #errors
192     <td> in <caption>
193     </caption> implied by <td> is ignored
194     #document-fragment caption
195     | "x"
196    
197     #data
198     <th>
199     #errors
200     <th> in <caption>
201     </caption> implied by <th> is ignored
202     #document-fragment caption
203    
204     #data
205     <th>x
206     #errors
207     <th> in <caption>
208     </caption> implied by <th> is ignored
209     #document-fragment caption
210     | "x"
211    
212     #data
213     <col>
214     #errors
215     <col> in <caption>
216     </caption> implied by <col> is ignored
217     #document-fragment caption
218    
219     #data
220     <col>x
221     #errors
222     <col> in <caption>
223     </caption> implied by <col> is ignored
224     #document-fragment caption
225     | "x"
226    
227     #data
228     <caption><tbody>
229     #errors
230     <caption> in <tbody>
231     <tbody> in <tbody>
232     #document-fragment tbody
233    
234     #data
235     <caption>
236     #errors
237     <caption> in <tr>
238     #document-fragment tr
239    
240     #data
241     <caption>x
242     #errors
243     <caption> in <tr>
244     char in <tr>
245     #document-fragment tr
246     | "x"
247    
248     #data
249     </table>
250     #errors
251     </table> in <tr>.innerHTML
252     #document-fragment tr
253    
254     #data
255     </table><td>
256     #errors
257     </table> in <tr>.innerHTML
258     #document-fragment tr
259     | <td>
260    
261     #data
262     </tbody>
263     #errors
264     </tbody> in <tr>.innerHTML
265     #document-fragment tr
266    
267     #data
268     <table>
269     #errors
270     <table> in <table>
271     #document-fragment table
272    
273     #data
274     <table><tr>
275     #errors
276     <table> in <table>
277     #document-fragment table
278     | <tbody>
279     | <tr>
280    
281     #data
282     </colgroup>
283     #errors
284     </colgroup> in <colgroup>.innerHTML
285     #document-fragment colgroup
286    
287     #data
288     </colgroup><col>
289     #errors
290     </colgroup> in <colgroup>.innerHTML
291     #document-fragment colgroup
292     | <col>
293    
294     #data
295     </select>
296     #errors
297     </select> in <select>.innerHTML
298     #document-fragment select
299    
300     #data
301     </select><option>
302     #errors
303     </select> in <select>.innerHTML
304     #document-fragment select
305     | <option>
306    
307     #data
308     <select>
309     #errors
310     <select> in <select> - treated as if </select>
311     </select> in <select>.innerHTML
312     #document-fragment select
313    
314     #data
315     <select><option>
316     #errors
317     <select> in <select> - treated as if </select>
318     </select> in <select>.innerHTML
319     #document-fragment select
320     | <option>
321    
322     #data
323     </optgroup>
324     #errors
325     unmatched </optgroup>
326     #document-fragment optgroup
327    
328     #data
329     </optgroup><option>
330     #errors
331     unmatched </optgroup>
332     <option> in body
333     #document-fragment optgroup
334    
335     #data
336     </optgroup>
337     #errors
338     unmatched </optgroup>
339     #document-fragment option
340    
341     #data
342     </optgroup><option>
343     #errors
344     unmatched </optgroup>
345     <option> in body
346     #document-fragment option
347    
348     #data
349     </optgroup>a
350     #errors
351     unmatched </optgroup>
352     #document-fragment option
353     | "a"
354    
355     #data
356     </optgroup>
357     #errors
358     unmatched </optgroup>
359     #document-fragment select
360    
361     #data
362     </option>
363     #errors
364     unmatched </option>
365     #document-fragment select
366    
367     #data
368     </option>
369     #errors
370     unmatched </option>
371     #document-fragment option
372    
373     #data
374     </table>
375     #errors
376     </table> in <select>
377     #document-fragment select
378    
379     #data
380     </tbody>
381     #errors
382     </tbody> in <select>
383     #document-fragment select
384    
385     #data
386     </thead>
387     #errors
388     </thead> in <select>
389     #document-fragment select
390    
391     #data
392     </tfoot>
393     #errors
394     </tfoot> in <select>
395     #document-fragment select
396    
397     #data
398     </tr>
399     #errors
400     </tr> in <select>
401     #document-fragment select
402    
403     #data
404     <option>
405     #errors
406     #document-fragment select
407     | <option>
408    
409     #data
410     <optgroup>
411     #errors
412     #document-fragment select
413     | <optgroup>
414    
415     #data
416     </tr><option>a
417     #errors
418     </tr> in <select>
419     #document-fragment select
420     | <option>
421     | "a"
422    
423     #data
424     </caption>
425     #errors
426     </caption> in <select>
427     #document-fragment select
428    
429     #data
430     </td>
431     #errors
432     </td> in <select>
433     #document-fragment select
434    
435     #data
436     </th>
437     #errors
438     </th> in <select>
439     #document-fragment select
440    
441     #data
442     </th>aaa
443     #errors
444     unmatched </th>
445     #document-fragment option
446     | "aaa"
447    
448     #data
449 wakaba 1.3 </frameset>
450     #errors
451     unmatched </frameset>
452     #document-fragment frameset
453    
454     #data
455     </frameset></frameset>
456     #errors
457     unmatched </frameset>
458     unmatched </frameset>
459     #document-fragment frameset
460    
461     #data
462     </frameset></frameset></frameset>
463     #errors
464     unmatched </frameset>
465     unmatched </frameset>
466     unmatched </frameset>
467     #document-fragment frameset
468    
469     #data
470     </frameset></html>
471     #errors
472     unmatched </frameset>
473     unmatched </html>
474     #document-fragment frameset
475    
476     #data
477     </frameset></frameset></html>
478     #errors
479     unmatched </frameset>
480     unmatched </frameset>
481     unmatched </html>
482     #document-fragment frameset
483    
484     #data
485     </frameset><frame>
486     #errors
487     unmatched </frameset>
488     #document-fragment frameset
489     | <frame>
490    
491     #data
492     </frameset><!---->
493     #errors
494     unmatched </frameset>
495     #document-fragment frameset
496     | <!-- -->
497    
498     #data
499     </frameset></html><!---->
500     #errors
501     unmatched </frameset>
502     unmatched </html>
503     #document-fragment frameset
504     | <!-- -->
505 wakaba 1.4
506     #data
507     a
508     #errors
509     character in table body
510     #document-fragment tbody
511     | "a"
512    
513     #data
514     a
515     #errors
516     character in table body
517     #document-fragment thead
518     | "a"
519    
520     #data
521     a
522     #errors
523     character in table body
524     #document-fragment tfoot
525     | "a"
526 wakaba 1.5
527     #data
528     a
529     #errors
530     #document-fragment html
531     | <head>
532     | <body>
533     | "a"
534    
535     #data
536     <p>
537     #errors
538     #document-fragment html
539     | <head>
540     | <body>
541     | <p>
542    
543     #data
544     <title>aa
545     #errors
546     EOF in <title>
547     unexpected end of file
548     #document-fragment html
549     | <head>
550     | <title>
551     | "aa"
552    
553     #data
554     <title>aa</title>
555     #errors
556     unexpected end of file
557     #document-fragment html
558     | <head>
559     | <title>
560     | "aa"
561    
562     #data
563     <style></style>
564     #errors
565     unexpected end of file
566     #document-fragment html
567     | <head>
568     | <style>
569 wakaba 1.6
570     #data
571     #errors
572     #document-fragment html
573    
574     #data
575     <head>
576     #errors
577     unexpected end of file (no <body>)
578     #document-fragment html
579     | <head>
580    
581     #data
582     <link>
583     #errors
584     unexpected end of file (no <body>)
585     #document-fragment html
586     | <head>
587     | <link>
588    
589     #data
590     </html>
591     #errors
592     unmarched </html>
593     #document-fragment html
594     | <head>
595     | <body>
596    
597     #data
598     </html>a
599     #errors
600     unmatched </html>
601     char after </body> implied by </html>
602     #document-fragment html
603     | <head>
604     | <body>
605     | "a"
606    
607     #data
608     <span></html>
609     #errors
610     <span> not closed at </body> implied by </html>
611     unmatched </html>
612     unexpected end of file (no </span>)
613     #document-fragment html
614     | <head>
615     | <body>
616     | <span>
617    
618     #data
619     <span></html>a
620     #errors
621     <span> not closed at </body> implied by </html>
622     char after </body> implied by </html>
623     unmatched </html>
624     unexpected end of file (no </span>)
625     #document-fragment html
626     | <head>
627     | <body>
628     | <span>
629     | "a"
630    
631     #data
632     </html>
633     #errors
634     unmarched </html>
635     #document-fragment p
636    
637     #data
638     </html>a
639     #errors
640     unmatched </html>
641     #document-fragment p
642     | "a"
643    
644     #data
645     <span></html>
646     #errors
647     unmatched </html>
648     <span> not closed
649     #document-fragment p
650     | <span>
651    
652     #data
653     <span></html>a
654     #errors
655     unmatched </html>
656     <span> not closed
657     #document-fragment p
658     | <span>
659     | "a"
660    
661     #data escaped
662     aa\u0000b
663     #errors
664     NULL
665     #document-fragment p escaped
666     | "aa\ufffdb"
667    
668     #data escaped
669     a\U12345678b
670     #errors
671     #document-fragment p escaped
672     | "a\ufffdb"
673    
674     #data
675     <input>
676     #errors
677     #document-fragment form
678     | <input>
679 wakaba 1.7
680     #data
681     <html>
682     #errors
683     <html> in <body>
684     #document-fragment body
685    
686     #data
687     <html>
688     #errors
689     <html> in <html>
690     #document-fragment html

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24