d51bc45abfec118720dbeaf094241d972e8fc35f
[WebKit-https.git] / LayoutTests / html5lib / resources / webkit01.dat
1 #data
2 Test
3 #errors
4 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE.
5 #document
6 | <html>
7 |   <head>
8 |   <body>
9 |     "Test"
10
11 #data
12 <div></div>
13 #errors
14 #document
15 | <html>
16 |   <head>
17 |   <body>
18 |     <div>
19
20 #data
21 <div>Test</div>
22 #errors
23 #document
24 | <html>
25 |   <head>
26 |   <body>
27 |     <div>
28 |       "Test"
29
30 #data
31 <di
32 #errors
33 #document
34 | <html>
35 |   <head>
36 |   <body>
37
38 #data
39 <div>Hello</div>
40 <script>
41 console.log("PASS");
42 </script>
43 <div>Bye</div>
44 #errors
45 #document
46 | <html>
47 |   <head>
48 |   <body>
49 |     <div>
50 |       "Hello"
51 |     "
52 "
53 |     <script>
54 |       "
55 console.log("PASS");
56 "
57 |     "
58 "
59 |     <div>
60 |       "Bye"
61
62 #data
63 <div foo="bar">Hello</div>
64 #errors
65 #document
66 | <html>
67 |   <head>
68 |   <body>
69 |     <div>
70 |       foo="bar"
71 |       "Hello"
72
73 #data
74 <div>Hello</div>
75 <script>
76 console.log("FOO<span>BAR</span>BAZ");
77 </script>
78 <div>Bye</div>
79 #errors
80 #document
81 | <html>
82 |   <head>
83 |   <body>
84 |     <div>
85 |       "Hello"
86 |     "
87 "
88 |     <script>
89 |       "
90 console.log("FOO<span>BAR</span>BAZ");
91 "
92 |     "
93 "
94 |     <div>
95 |       "Bye"
96
97 #data
98 <foo bar="baz"></foo><potato quack="duck"></potato>
99 #errors
100 #document
101 | <html>
102 |   <head>
103 |   <body>
104 |     <foo>
105 |       bar="baz"
106 |     <potato>
107 |       quack="duck"
108
109 #data
110 <foo bar="baz"><potato quack="duck"></potato></foo>
111 #errors
112 #document
113 | <html>
114 |   <head>
115 |   <body>
116 |     <foo>
117 |       bar="baz"
118 |       <potato>
119 |         quack="duck"
120
121 #data
122 <foo></foo bar="baz"><potato></potato quack="duck">
123 #errors
124 #document
125 | <html>
126 |   <head>
127 |   <body>
128 |     <foo>
129 |     <potato>
130
131 #data
132 1<script>document.write("2")</script>3
133 #errors
134 #document
135 | <html>
136 |   <head>
137 |   <body>
138 |     "1"
139 |     <script>
140 |       "document.write("2")"
141 |     "23"
142
143 #data
144 1<script>document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")</script>4
145 #errors
146 #document
147 | <html>
148 |   <head>
149 |   <body>
150 |     "1"
151 |     <script>
152 |       "document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")"
153 |     <script>
154 |       "document.write('2')"
155 |     "2"
156 |     <script>
157 |       "document.write('3')"
158 |     "34"
159
160 #data
161 </ tttt>
162 #errors
163 #document
164 | <!--  tttt -->
165 | <html>
166 |   <head>
167 |   <body>
168
169 #data
170 <div FOO ><img><img></div>
171 #errors
172 #document
173 | <html>
174 |   <head>
175 |   <body>
176 |     <div>
177 |       foo=""
178 |       <img>
179 |       <img>