2010-07-03 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 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 |       "Test"
190 |       "Test2"
191
192 #data
193 <rdar://problem/6869687>
194 #errors
195 #document
196 | <html>
197 |   <head>
198 |   <body>
199 |     <rdar:>
200 |       6869687=""
201 |       problem=""
202
203 #data
204 <A>test< /A>
205 #errors
206 #document
207 | <html>
208 |   <head>
209 |   <body>
210 |     <a>
211 |       "test< /A>"
212
213 #data
214 &lt;
215 #errors
216 #document
217 | <html>
218 |   <head>
219 |   <body>
220 |     "<"
221
222 #data
223 <body foo='bar'><body foo='baz' yo='mama'>
224 #errors
225 #document
226 | <html>
227 |   <head>
228 |   <body>
229 |     foo="bar"
230 |     yo="mama"
231
232 #data
233 <body></br foo="bar"></body>
234 #errors
235 #document
236 | <html>
237 |   <head>
238 |   <body>
239 |     <br>
240
241 #data
242 <bdy><br foo="bar"></body>
243 #errors
244 #document
245 | <html>
246 |   <head>
247 |   <body>
248 |     <bdy>
249 |       <br>
250 |         foo="bar"
251
252 #data
253 <body></body></br foo="bar">
254 #errors
255 #document
256 | <html>
257 |   <head>
258 |   <body>
259 |     <br>
260
261 #data
262 <bdy></body><br foo="bar">
263 #errors
264 #document
265 | <html>
266 |   <head>
267 |   <body>
268 |     <bdy>
269 |       <br>
270 |         foo="bar"
271
272 #data
273 <html><body></body></html><!-- Hi there -->
274 #errors
275 #document
276 | <html>
277 |   <head>
278 |   <body>
279 | <!--  Hi there  -->
280
281 #data
282 <html><body></body></html>x<!-- Hi there -->
283 #errors
284 #document
285 | <html>
286 |   <head>
287 |   <body>
288 |     "x"
289 |     <!--  Hi there  -->
290
291 #data
292 <html><body></body></html>x<!-- Hi there --></html><!-- Again -->
293 #errors
294 #document
295 | <html>
296 |   <head>
297 |   <body>
298 |     "x"
299 |     <!--  Hi there  -->
300 | <!--  Again  -->
301
302 #data
303 <html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->
304 #errors
305 #document
306 | <html>
307 |   <head>
308 |   <body>
309 |     "x"
310 |     <!--  Hi there  -->
311 | <!--  Again  -->
312
313 #data
314 <html><body><ruby><div><rp>xx</rp></div></ruby></body></html>
315 #errors
316 #document
317 | <html>
318 |   <head>
319 |   <body>
320 |     <ruby>
321 |       <div>
322 |       <rp>
323 |         "xx"
324
325 #data
326 <html><body><ruby><div><rt>xx</rt></div></ruby></body></html>
327 #errors
328 #document
329 | <html>
330 |   <head>
331 |   <body>
332 |     <ruby>
333 |       <div>
334 |       <rt>
335 |         "xx"
336
337 #data
338 <html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->
339 #errors
340 #document
341 | <html>
342 |   <head>
343 |   <frameset>
344 |     <!-- 1 -->
345 |     <noframes>
346 |       "A"
347 |     <!-- 2 -->
348 |   <!-- 3 -->
349 |   <noframes>
350 |     "B"
351 |   <!-- 4 -->
352 |   <noframes>
353 |     "C"
354 | <!-- 5 -->
355 | <!-- 6 -->