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