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

Diff of /markup/html/whatpm/t/tree-construction/tests2.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Sat Jun 23 02:09:06 2007 UTC revision 1.2 by wakaba, Sat Jun 23 02:26:52 2007 UTC
# Line 1  Line 1 
1  #data  #data
2  <!doctype html>Test  <!DOCTYPE HTML>Test
3  #errors  #errors
4  #document  #document
5  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 63  frame element can't occur here Line 63  frame element can't occur here
63  |     "test"  |     "test"
64    
65  #data  #data
66  <!doctype html><frameset>test  <!DOCTYPE HTML><frameset>test
67  #errors  #errors
68  frameset can't contain text  frameset can't contain text
69  Unexpected end of file  Unexpected end of file
# Line 74  Unexpected end of file Line 74  Unexpected end of file
74  |   <frameset>  |   <frameset>
75    
76  #data  #data
77  <!doctype html><frameset><!doctype html>  <!DOCTYPE HTML><frameset><!DOCTYPE HTML>
78  #errors  #errors
79  document type declaration can only occur at the start of a document  document type declaration can only occur at the start of a document
80  Expected end tag </frameset>  Expected end tag </frameset>
# Line 85  Expected end tag </frameset> Line 85  Expected end tag </frameset>
85  |   <frameset>  |   <frameset>
86    
87  #data  #data
88  <!doctype html><font><p><b>test</font>  <!DOCTYPE HTML><font><p><b>test</font>
89  #errors  #errors
90  #document  #document
91  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 99  Expected end tag </frameset> Line 99  Expected end tag </frameset>
99  |           "test"  |           "test"
100    
101  #data  #data
102  <!DOCTYPE htmL><dt><div><dd>  <!DOCTYPE HTML><dt><div><dd>
103  #errors  #errors
104  #document  #document
105  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 151  Unexpected end of file. Line 151  Unexpected end of file.
151  |       "</plaintext>"  |       "</plaintext>"
152    
153  #data  #data
154  <!doctype html><table><tr>TEST  <!DOCTYPE HTML><table><tr>TEST
155  #errors  #errors
156  TEST can't occur in <tr>  TEST can't occur in <tr>
157  Unexpected end of file.  Unexpected end of file.
# Line 166  Unexpected end of file. Line 166  Unexpected end of file.
166  |         <tr>  |         <tr>
167    
168  #data  #data
169  <!doctype html><body t1=1><body t2=2><body t3=3 t4=4>  <!DOCTYPE HTML><body t1=1><body t2=2><body t3=3 t4=4>
170  #errors  #errors
171  Unexpected start tag "body"  Unexpected start tag "body"
172  Unexpected start tag "body"  Unexpected start tag "body"
# Line 193  Unexpected end tag. Line 193  Unexpected end tag.
193  |   <body>  |   <body>
194    
195  #data  #data
196  <!doctype HtML></b test<b &=&amp>X  <!DOCTYPE HTML></b test<b &=&amp>X
197  #errors  #errors
198  Unexpected < in attribute  Unexpected < in attribute
199  End tag contains attributes.  End tag contains attributes.
200  Unexpected end tag.  Unexpected end tag.
201  Named entity didn't end with ;  Named entity didn't end with ;
 Unexpected EOF. Missing closing tag.  
202  #document  #document
203  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
204  | <html>  | <html>
205  |   <head>  |   <head>
206  |   <body>  |   <body>
207  |     <b>  |     "X"
 |       &="&"  
 |       "X"  
208    
209  #data  #data
210  <!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt  <!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt
# Line 215  Unexpected EOF. Missing closing tag. Line 212  Unexpected EOF. Missing closing tag.
212  No space after literal DOCTYPE.  No space after literal DOCTYPE.
213  Unexpected EOF in (end) tag name  Unexpected EOF in (end) tag name
214  #document  #document
215  | <!DOCTYPE HTML>  | <!DOCTYPE html>
216  | <html>  | <html>
217  |   <head>  |   <head>
218  |     <script>  |     <script>
# Line 294  Unfinished named entity. Line 291  Unfinished named entity.
291  #errors  #errors
292  No space after literal DOCTYPE.  No space after literal DOCTYPE.
293  #document  #document
294  | <!DOCTYPE HTML>  | <!DOCTYPE html>
295  | <html>  | <html>
296  |   <head>  |   <head>
297  |   <body>  |   <body>
# Line 302  No space after literal DOCTYPE. Line 299  No space after literal DOCTYPE.
299  |     <li>  |     <li>
300    
301  #data  #data
302  <!doctypehtml><p><dt>  <!doctypeHTML><p><dt>
303  #errors  #errors
304  No space after literal DOCTYPE.  No space after literal DOCTYPE.
305  #document  #document
# Line 314  No space after literal DOCTYPE. Line 311  No space after literal DOCTYPE.
311  |     <dt>  |     <dt>
312    
313  #data  #data
314  <!doctypehtml><p><dd>  <!doctypehtmL><p><dd>
315  #errors  #errors
316  No space after literal DOCTYPE.  No space after literal DOCTYPE.
317  #document  #document
318  | <!DOCTYPE HTML>  | <!DOCTYPE htmL>
319  | <html>  | <html>
320  |   <head>  |   <head>
321  |   <body>  |   <body>
# Line 331  No space after literal DOCTYPE. Line 328  No space after literal DOCTYPE.
328  No space after literal DOCTYPE.  No space after literal DOCTYPE.
329  Unexpected EOF.  Unexpected EOF.
330  #document  #document
331  | <!DOCTYPE HTML>  | <!DOCTYPE html>
332  | <html>  | <html>
333  |   <head>  |   <head>
334  |   <body>  |   <body>
# Line 339  Unexpected EOF. Line 336  Unexpected EOF.
336  |     <form>  |     <form>
337    
338  #data  #data
339  <!doctype html><p><b><i><u></p> <p>X  <!DOCTYPE HTML><p><b><i><u></p> <p>X
340  #errors  #errors
341  Unexpected end tag </p>.  Unexpected end tag </p>.
342  Unexpected end EOF. Missing closing tags.  Unexpected end EOF. Missing closing tags.
# Line 360  Unexpected end EOF. Missing closing tags Line 357  Unexpected end EOF. Missing closing tags
357  |             "X"  |             "X"
358    
359  #data  #data
360  <!doctype html><p></P>X  <!DOCTYPE HTML><p></P>X
361  #errors  #errors
362  #document  #document
363  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 393  Invalid entity. Line 390  Invalid entity.
390  |     "&AMp;"  |     "&AMp;"
391    
392  #data  #data
393  <!doctype html><html><head></head><body><thisISasillyTESTelementNameToMakeSureCrazyTagNamesArePARSEDcorrectLY>  <!DOCTYPE HTML><html><head></head><body><thisISasillyTESTelementNameToMakeSureCrazyTagNamesArePARSEDcorrectLY>
394  #errors  #errors
395  Unexpected end of file.  Unexpected end of file.
396  #document  #document
# Line 404  Unexpected end of file. Line 401  Unexpected end of file.
401  |     <thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly>  |     <thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly>
402    
403  #data  #data
404  <!doctype html>X</body>X  <!DOCTYPE HTML>X</body>X
405  #errors  #errors
406  Unexpected non-space characters in the after body phase.  Unexpected non-space characters in the after body phase.
407  #document  #document
# Line 415  Unexpected non-space characters in the a Line 412  Unexpected non-space characters in the a
412  |     "XX"  |     "XX"
413    
414  #data  #data
415  <!doctype html><!-- X  <!DOCTYPE HTML><!-- X
416  #errors  #errors
417  Unexpected end of file in comment.  Unexpected end of file in comment.
418  #document  #document
# Line 426  Unexpected end of file in comment. Line 423  Unexpected end of file in comment.
423  |   <body>  |   <body>
424    
425  #data  #data
426  <!doctype html><table><caption>test TEST</caption><td>test  <!DOCTYPE HTML><table><caption>test TEST</caption><td>test
427  #errors  #errors
428  Unexpected <td> in table body phase.  Unexpected <td> in table body phase.
429  Unexpected end of file.  Unexpected end of file.
# Line 444  Unexpected end of file. Line 441  Unexpected end of file.
441  |             "test"  |             "test"
442    
443  #data  #data
444  <!doctype html><select><option><optgroup>  <!DOCTYPE HTML><select><option><optgroup>
445  #errors  #errors
446  Unexpected end of file. Missing closing tags.  Unexpected end of file. Missing closing tags.
447  #document  #document
# Line 457  Unexpected end of file. Missing closing Line 454  Unexpected end of file. Missing closing
454  |       <optgroup>  |       <optgroup>
455    
456  #data  #data
457  <!doctype html><select><optgroup><option></optgroup><option><select><option>  <!DOCTYPE HTML><select><optgroup><option></optgroup><option><select><option>
458  #errors  #errors
459  Unexpected start tag <select> in <select>.  Unexpected start tag <select> in <select>.
460  Unexpected start tag <option>.  Unexpected start tag <option>.
# Line 472  Unexpected start tag <option>. Line 469  Unexpected start tag <option>.
469  |       <option>  |       <option>
470    
471  #data  #data
472  <!doctype html><select><optgroup><option><optgroup>  <!DOCTYPE HTML><select><optgroup><option><optgroup>
473  #errors  #errors
474  Unexpected end of file. Missing closing tags.  Unexpected end of file. Missing closing tags.
475  #document  #document
# Line 486  Unexpected end of file. Missing closing Line 483  Unexpected end of file. Missing closing
483  |       <optgroup>  |       <optgroup>
484    
485  #data  #data
486  <!doctype html><font><input><input></font>  <!DOCTYPE HTML><font><input><input></font>
487  #errors  #errors
488  #document  #document
489  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 498  Unexpected end of file. Missing closing Line 495  Unexpected end of file. Missing closing
495  |       <input>  |       <input>
496    
497  #data  #data
498  <!DoctypE html><!-- XXX - XXX -->  <!DOCTYPE HTML><!-- XXX - XXX -->
499  #errors  #errors
500  #document  #document
501  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 508  Unexpected end of file. Missing closing Line 505  Unexpected end of file. Missing closing
505  |   <body>  |   <body>
506    
507  #data  #data
508  <!DoctypE html><!-- XXX - XXX  <!DOCTYPE HTML><!-- XXX - XXX
509  #errors  #errors
510  Unexpected EOF in comment.  Unexpected EOF in comment.
511  #document  #document
# Line 519  Unexpected EOF in comment. Line 516  Unexpected EOF in comment.
516  |   <body>  |   <body>
517    
518  #data  #data
519  <!DoctypE html><!-- XXX - XXX - XXX -->  <!DOCTYPE HTML><!-- XXX - XXX - XXX -->
520  #errors  #errors
521  #document  #document
522  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 583  Unexpected EOF. Line 580  Unexpected EOF.
580  |             "X"  |             "X"
581    
582  #data  #data
583  <!doctype html><body><title>test</body></title>  <!DOCTYPE HTML><body><title>test</body></title>
584  #errors  #errors
585  Unexpected start tag that belongs in the head.  Unexpected start tag that belongs in the head.
586  Expected closing tag after </.  Expected closing tag after </.
# Line 596  Expected closing tag after </. Line 593  Expected closing tag after </.
593  |   <body>  |   <body>
594    
595  #data  #data
596  <!doctype html><body><title>X</title><meta name=z><link rel=foo><style>  <!DOCTYPE HTML><body><title>X</title><meta name=z><link rel=foo><style>
597  x { content:"</style" } </style>  x { content:"</style" } </style>
598  #errors  #errors
599  Unexpected start tag that belongs in head.  Unexpected start tag that belongs in head.
# Line 609  Expected closing tag after </. Line 606  Expected closing tag after </.
606  |   <head>  |   <head>
607  |     <title>  |     <title>
608  |       "X"  |       "X"
609    |   <body>
610  |     <meta>  |     <meta>
611  |       name="z"  |       name="z"
612  |     <link>  |     <link>
613  |       rel="foo"  |       rel="foo"
 |   <body>  
614  |     <style>  |     <style>
615  |       "  |       "
616  x { content:"</style" } "  x { content:"</style" } "
617    
618  #data  #data
619  <!doctype html><select><optgroup></optgroup></select>  <!DOCTYPE HTML><select><optgroup></optgroup></select>
620  #errors  #errors
621  #document  #document
622  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 642  No doctype. Line 639  No doctype.
639  |   <body>  |   <body>
640    
641  #data  #data
642  <!doctype html>  <html>  <!DOCTYPE HTML>  <html>
643  #errors  #errors
644  #document  #document
645  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 652  No doctype. Line 649  No doctype.
649  |   <body>  |   <body>
650    
651  #data  #data
652  <!doctype html><script>  <!DOCTYPE HTML><script>
653  </script>  <title>x</title>  </head>  </script>  <title>x</title>  </head>
654  #errors  #errors
655  #document  #document
# Line 669  No doctype. Line 666  No doctype.
666  |   <body>  |   <body>
667    
668  #data  #data
669  <!doctype html><html><body><html id=x>  <!DOCTYPE HTML><html><body><html id=x>
670  #errors  #errors
671  duplicate html start tag  duplicate html start tag
672  #document  #document
# Line 680  duplicate html start tag Line 677  duplicate html start tag
677  |   <body>  |   <body>
678    
679  #data  #data
680  <!doctype html>X</body><html id="x">  <!DOCTYPE HTML>X</body><html id="x">
681  #errors  #errors
682  Unexpected html start tag in the after body phase.  Unexpected html start tag in the after body phase.
683  html needs to be the first start tag.  html needs to be the first start tag.
# Line 693  html needs to be the first start tag. Line 690  html needs to be the first start tag.
690  |     "X"  |     "X"
691    
692  #data  #data
693  <!doctype html><head><html id=x>  <!DOCTYPE HTML><head><html id=x>
694  #errors  #errors
695  html start tag too late  html start tag too late
696  #document  #document
# Line 704  html start tag too late Line 701  html start tag too late
701  |   <body>  |   <body>
702    
703  #data  #data
704  <!doctype html>X</html>X  <!DOCTYPE HTML>X</html>X
705  #errors  #errors
706  Unexpected non-space characters. Expected end of file.  Unexpected non-space characters. Expected end of file.
707  Unexpected non-space characters in after body phase. Expected end of file.  Unexpected non-space characters in after body phase. Expected end of file.
# Line 716  Unexpected non-space characters in after Line 713  Unexpected non-space characters in after
713  |     "XX"  |     "XX"
714    
715  #data  #data
716  <!doctype html>X</html>  <!DOCTYPE HTML>X</html>
717  #errors  #errors
718  #document  #document
719  | <!DOCTYPE HTML>  | <!DOCTYPE HTML>
# Line 726  Unexpected non-space characters in after Line 723  Unexpected non-space characters in after
723  |     "X "  |     "X "
724    
725  #data  #data
726  <!doctype html>X</html><p>X  <!DOCTYPE HTML>X</html><p>X
727  #errors  #errors
728  Unexpected start tag <p> in trailing end phase.  Unexpected start tag <p> in trailing end phase.
729  Unexpected start tag <p> in after body phase.  Unexpected start tag <p> in after body phase.
# Line 740  Unexpected start tag <p> in after body p Line 737  Unexpected start tag <p> in after body p
737  |       "X"  |       "X"
738    
739  #data  #data
740  <!doctype html>X<p/x/y/z>  <!DOCTYPE HTML>X<p/x/y/z>
741  #errors  #errors
742  Solidus (/) incorrectly placed.  Solidus (/) incorrectly placed.
743  Solidus (/) incorrectly placed.  Solidus (/) incorrectly placed.
# Line 757  Solidus (/) incorrectly placed. Line 754  Solidus (/) incorrectly placed.
754  |       z=""  |       z=""
755    
756  #data  #data
757  <!doctype html><!--x--  <!DOCTYPE HTML><!--x--
758  #errors  #errors
759  Unexpected end of file in comment.  Unexpected end of file in comment.
760  #document  #document
# Line 768  Unexpected end of file in comment. Line 765  Unexpected end of file in comment.
765  |   <body>  |   <body>
766    
767  #data  #data
768  <!doctype html><table><tr><td></p></table>  <!DOCTYPE HTML><table><tr><td></p></table>
769  #errors  #errors
770  Unexpected </p> end tag.  Unexpected </p> end tag.
771  #document  #document

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24