2010-07-06 Eric Seidel <eric@webkit.org>
[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>
180
181 #data
182 <p>Test</p<p>Test2</p>
183 #errors
184 #document
185 | <html>
186 |   <head>
187 |   <body>
188 |     <p>
189 |       "TestTest2"
190
191 #data
192 <rdar://problem/6869687>
193 #errors
194 #document
195 | <html>
196 |   <head>
197 |   <body>
198 |     <rdar:>
199 |       6869687=""
200 |       problem=""
201
202 #data
203 <A>test< /A>
204 #errors
205 #document
206 | <html>
207 |   <head>
208 |   <body>
209 |     <a>
210 |       "test< /A>"
211
212 #data
213 &lt;
214 #errors
215 #document
216 | <html>
217 |   <head>
218 |   <body>
219 |     "<"
220
221 #data
222 <body foo='bar'><body foo='baz' yo='mama'>
223 #errors
224 #document
225 | <html>
226 |   <head>
227 |   <body>
228 |     foo="bar"
229 |     yo="mama"
230
231 #data
232 <body></br foo="bar"></body>
233 #errors
234 #document
235 | <html>
236 |   <head>
237 |   <body>
238 |     <br>
239
240 #data
241 <bdy><br foo="bar"></body>
242 #errors
243 #document
244 | <html>
245 |   <head>
246 |   <body>
247 |     <bdy>
248 |       <br>
249 |         foo="bar"
250
251 #data
252 <body></body></br foo="bar">
253 #errors
254 #document
255 | <html>
256 |   <head>
257 |   <body>
258 |     <br>
259
260 #data
261 <bdy></body><br foo="bar">
262 #errors
263 #document
264 | <html>
265 |   <head>
266 |   <body>
267 |     <bdy>
268 |       <br>
269 |         foo="bar"
270
271 #data
272 <html><body></body></html><!-- Hi there -->
273 #errors
274 #document
275 | <html>
276 |   <head>
277 |   <body>
278 | <!--  Hi there  -->
279
280 #data
281 <html><body></body></html>x<!-- Hi there -->
282 #errors
283 #document
284 | <html>
285 |   <head>
286 |   <body>
287 |     "x"
288 |     <!--  Hi there  -->
289
290 #data
291 <html><body></body></html>x<!-- Hi there --></html><!-- Again -->
292 #errors
293 #document
294 | <html>
295 |   <head>
296 |   <body>
297 |     "x"
298 |     <!--  Hi there  -->
299 | <!--  Again  -->
300
301 #data
302 <html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->
303 #errors
304 #document
305 | <html>
306 |   <head>
307 |   <body>
308 |     "x"
309 |     <!--  Hi there  -->
310 | <!--  Again  -->
311
312 #data
313 <html><body><ruby><div><rp>xx</rp></div></ruby></body></html>
314 #errors
315 #document
316 | <html>
317 |   <head>
318 |   <body>
319 |     <ruby>
320 |       <div>
321 |       <rp>
322 |         "xx"
323
324 #data
325 <html><body><ruby><div><rt>xx</rt></div></ruby></body></html>
326 #errors
327 #document
328 | <html>
329 |   <head>
330 |   <body>
331 |     <ruby>
332 |       <div>
333 |       <rt>
334 |         "xx"
335
336 #data
337 <html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->
338 #errors
339 #document
340 | <html>
341 |   <head>
342 |   <frameset>
343 |     <!-- 1 -->
344 |     <noframes>
345 |       "A"
346 |     <!-- 2 -->
347 |   <!-- 3 -->
348 |   <noframes>
349 |     "B"
350 |   <!-- 4 -->
351 |   <noframes>
352 |     "C"
353 | <!-- 5 -->
354 | <!-- 6 -->
355
356 #data
357 <select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select>
358 #errors
359 #document
360 | <html>
361 |   <head>
362 |   <body>
363 |     <select>
364 |       <option>
365 |         "A"
366 |     <option>
367 |       "B"
368 |       <select>
369 |         <option>
370 |           "C"
371 |     <option>
372 |       "D"
373 |       <select>
374 |         <option>
375 |           "E"
376 |     <option>
377 |       "F"
378 |       <select>
379 |         <option>
380 |           "G"
381
382 #data
383 <dd><dd><dt><dt><dd><li><li>
384 #errors
385 #document
386 | <html>
387 |   <head>
388 |   <body>
389 |     <dd>
390 |     <dd>
391 |     <dt>
392 |     <dt>
393 |     <dd>
394 |       <li>
395 |       <li>
396
397 #data
398 <div><b></div><div><nobr>a<nobr>
399 #errors
400 #document
401 | <html>
402 |   <head>
403 |   <body>
404 |     <div>
405 |       <b>
406 |     <div>
407 |       <b>
408 |         <nobr>
409 |           "a"
410 |         <nobr>