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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Sat Mar 8 01:57:51 2008 UTC (18 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +16 -6 lines
html5lib tests updated

1 wakaba 1.1 #data
2     <!doctype html></head> <head>
3     #errors
4 wakaba 1.7 Line: 1 Col: 29 Unexpected start tag head. Ignored.
5 wakaba 1.1 #document
6     | <!DOCTYPE html>
7     | <html>
8     | <head>
9     | " "
10     | <body>
11    
12     #data
13     <!doctype html></html> <head>
14     #errors
15 wakaba 1.7 Line: 1 Col: 29 Unexpected start tag (head). Expected end of file.
16     Line: 1 Col: 29 Unexpected start tag token (head) in the after body phase.
17     Line: 1 Col: 29 Unexpected start tag head. Ignored.
18 wakaba 1.1 #document
19     | <!DOCTYPE html>
20     | <html>
21     | <head>
22     | <body>
23     | " "
24    
25     #data
26     <!doctype html></body><meta>
27     #errors
28 wakaba 1.7 Line: 1 Col: 28 Unexpected start tag token (meta) in the after body phase.
29 wakaba 1.1 #document
30     | <!DOCTYPE html>
31     | <html>
32     | <head>
33     | <body>
34     | <meta>
35 wakaba 1.2
36     #data
37 wakaba 1.9 <!doctype html><form><div></form><div>
38 wakaba 1.2 #errors
39 wakaba 1.7 Line: 1 Col: 33 End tag (form) seen too early. Ignored.
40     Line: 1 Col: 38 Expected closing tag. Unexpected end of file.
41 wakaba 1.2 #document
42 wakaba 1.9 | <!DOCTYPE html>
43 wakaba 1.2 | <html>
44     | <head>
45     | <body>
46     | <form>
47     | <div>
48     | <div>
49    
50     #data
51 wakaba 1.9 <!doctype html><title>&amp;</title>
52 wakaba 1.2 #errors
53     #document
54 wakaba 1.9 | <!DOCTYPE html>
55 wakaba 1.2 | <html>
56     | <head>
57     | <title>
58     | "&"
59     | <body>
60    
61     #data
62 wakaba 1.9 <!doctype html><title><!--&amp;--></title>
63 wakaba 1.2 #errors
64     #document
65 wakaba 1.9 | <!DOCTYPE html>
66 wakaba 1.2 | <html>
67     | <head>
68     | <title>
69     | "<!--&amp;-->"
70 wakaba 1.3 | <body>
71    
72     #data
73     <!doctype>
74     #errors
75 wakaba 1.7 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
76     Line: 1 Col: 10 Unexpected > character. Expected DOCTYPE name.
77     Line: 1 Col: 10 Erroneous DOCTYPE.
78 wakaba 1.3 #document
79 wakaba 1.4 | <!DOCTYPE >
80 wakaba 1.3 | <html>
81     | <head>
82     | <body>
83    
84     #data
85     <!---x
86     #errors
87 wakaba 1.7 Line: 1 Col: 6 Unexpected end of file in comment.
88     Line: 1 Col: 6 Unexpected End of file. Expected DOCTYPE.
89 wakaba 1.3 #document
90     | <!-- -x -->
91     | <html>
92     | <head>
93 wakaba 1.2 | <body>
94 wakaba 1.5
95     #data
96     <body>
97     <div>
98     #errors
99 wakaba 1.7 Line: 1 Col: 6 Unexpected start tag (body).
100     Line: 2 Col: 5 Expected closing tag. Unexpected end of file.
101 wakaba 1.5 #document-fragment
102     div
103     #document
104     | "
105     "
106     | <div>
107    
108     #data
109     <frameset></frameset>
110     foo
111     #errors
112 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
113     Line: 2 Col: 3 Unexpected non-space characters in the after frameset phase. Ignored.
114 wakaba 1.5 #document
115     | <html>
116     | <head>