2010-07-12 Eric Seidel <eric@webkit.org>
[WebKit-https.git] / LayoutTests / html5lib / runner-expected-html5.txt
1 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
2 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
3 CONSOLE MESSAGE: line 0: Warning: Problem parsing viewBox=""
4 CONSOLE MESSAGE: line 0: Warning: Problem parsing viewBox=""
5 CONSOLE MESSAGE: line 0: Warning: Problem parsing viewBox=""
6 CONSOLE MESSAGE: line 2: PASS
7 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
8 Content-Type: text/plain
9 resources/tests1.dat:
10 30
11 52
12 53
13 78
14 80
15 103
16
17 Test 30 of 113 in resources/tests1.dat failed. Input:
18 <a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y
19 Got:
20 | <html>
21 |   <head>
22 |   <body>
23 |     <a>
24 |       <a>
25 |       <table>
26 |         <tbody>
27 |           <tr>
28 |             <td>
29 |               <a>
30 |                 <table>
31 |               <a>
32 |       <a>
33 |         <b>
34 |           "X"
35 |         "C"
36 |       <a>
37 |         "Y"
38 Expected:
39 | <html>
40 |   <head>
41 |   <body>
42 |     <a>
43 |       <a>
44 |       <table>
45 |         <tbody>
46 |           <tr>
47 |             <td>
48 |               <a>
49 |                 <table>
50 |               <a>
51 |     <a>
52 |       <b>
53 |         "X"
54 |       "C"
55 |     <a>
56 |       "Y"
57
58 Test 52 of 113 in resources/tests1.dat failed. Input:
59 <p id=a><b><p id=b></b>TEST
60 Got:
61 | <html>
62 |   <head>
63 |   <body>
64 |     <p>
65 |       id="a"
66 |       <b>
67 |     <p>
68 |       id="b"
69 |       <b>
70 |         "TEST"
71 Expected:
72 | <html>
73 |   <head>
74 |   <body>
75 |     <p>
76 |       id="a"
77 |       <b>
78 |     <p>
79 |       id="b"
80 |       "TEST"
81
82 Test 53 of 113 in resources/tests1.dat failed. Input:
83 <b id=a><p><b id=b></p></b>TEST
84 Got:
85 | <html>
86 |   <head>
87 |   <body>
88 |     <b>
89 |       id="a"
90 |       <p>
91 |         <b>
92 |           id="b"
93 |       <b>
94 |         "TEST"
95 Expected:
96 | <html>
97 |   <head>
98 |   <body>
99 |     <b>
100 |       id="a"
101 |       <p>
102 |         <b>
103 |           id="b"
104 |       "TEST"
105
106 Test 78 of 113 in resources/tests1.dat failed. Input:
107 <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe
108 Got:
109 | <html>
110 |   <head>
111 |   <body>
112 |     <a>
113 |       href="blah"
114 |       "aba"
115 |       <a>
116 |         href="foo"
117 |         "br"
118 |       "x"
119 |       <table>
120 |         <tbody>
121 |           <tr>
122 |             <td>
123 |     "aoe"
124 Expected:
125 | <html>
126 |   <head>
127 |   <body>
128 |     <a>
129 |       href="blah"
130 |       "aba"
131 |       <a>
132 |         href="foo"
133 |         "br"
134 |       <a>
135 |         href="foo"
136 |         "x"
137 |       <table>
138 |         <tbody>
139 |           <tr>
140 |             <td>
141 |     <a>
142 |       href="foo"
143 |       "aoe"
144
145 Test 80 of 113 in resources/tests1.dat failed. Input:
146 <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe
147 Got:
148 | <html>
149 |   <head>
150 |   <body>
151 |     <a>
152 |       href="blah"
153 |       "aba"
154 |     "x"
155 |     <table>
156 |       <tbody>
157 |         <tr>
158 |           <td>
159 |             <a>
160 |               href="foo"
161 |               "br"
162 |     "aoe"
163 Expected:
164 | <html>
165 |   <head>
166 |   <body>
167 |     <a>
168 |       href="blah"
169 |       "aba"
170 |     <a>
171 |       href="blah"
172 |       "x"
173 |     <table>
174 |       <tbody>
175 |         <tr>
176 |           <td>
177 |             <a>
178 |               href="foo"
179 |               "br"
180 |     <a>
181 |       href="blah"
182 |       "aoe"
183
184 Test 103 of 113 in resources/tests1.dat failed. Input:
185 <a><table><td><a><table></table><a></tr><a></table><a>
186 Got:
187 | <html>
188 |   <head>
189 |   <body>
190 |     <a>
191 |       <a>
192 |       <table>
193 |         <tbody>
194 |           <tr>
195 |             <td>
196 |               <a>
197 |                 <table>
198 |               <a>
199 |       <a>
200 Expected:
201 | <html>
202 |   <head>
203 |   <body>
204 |     <a>
205 |       <a>
206 |       <table>
207 |         <tbody>
208 |           <tr>
209 |             <td>
210 |               <a>
211 |                 <table>
212 |               <a>
213 |     <a>
214 resources/tests2.dat: PASS
215
216 resources/tests3.dat: PASS
217
218 resources/tests4.dat:
219 3
220 5
221 6
222 7
223
224 Test 3 of 7 in resources/tests4.dat failed. Input:
225 textarea content with <em>pseudo</em> <foo>markup
226 Got:
227 | "textarea content with "
228 | <em>
229 |   "pseudo"
230 | " "
231 | <foo>
232 |   "markup"
233 Expected:
234 | "textarea content with <em>pseudo</em> <foo>markup"
235
236 Test 5 of 7 in resources/tests4.dat failed. Input:
237 </plaintext>
238 Got:
239
240 Expected:
241 | "</plaintext>"
242
243 Test 6 of 7 in resources/tests4.dat failed. Input:
244 setting html's innerHTML
245 Got:
246 | "setting html's innerHTML"
247 Expected:
248 | <head>
249 | <body>
250 |   "setting html's innerHTML"
251
252 Test 7 of 7 in resources/tests4.dat failed. Input:
253 <title>setting head's innerHTML</title>
254 Got:
255
256 Expected:
257 | <title>
258 |   "setting head's innerHTML"
259 resources/tests5.dat: PASS
260
261 resources/tests6.dat:
262 27
263 30
264 37
265 44
266 45
267 47
268
269 Test 27 of 51 in resources/tests6.dat failed. Input:
270 foo<col>
271 Got:
272
273 Expected:
274 | <col>
275
276 Test 30 of 51 in resources/tests6.dat failed. Input:
277 </frameset><frame>
278 Got:
279
280 Expected:
281 | <frame>
282
283 Test 37 of 51 in resources/tests6.dat failed. Input:
284 <caption><col><colgroup><tbody><tfoot><thead><tr>
285 Got:
286 | <caption>
287 | <colgroup>
288 | <tbody>
289 | <tfoot>
290 | <thead>
291 |   <tr>
292 Expected:
293 | <tr>
294
295 Test 44 of 51 in resources/tests6.dat failed. Input:
296 </table><tr>
297 Got:
298 | <tr>
299 Expected:
300 | <tbody>
301 |   <tr>
302
303 Test 45 of 51 in resources/tests6.dat failed. Input:
304 <body></body></html>
305 Got:
306
307 Expected:
308 | <head>
309 | <body>
310
311 Test 47 of 51 in resources/tests6.dat failed. Input:
312 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
313 Got:
314 | <!DOCTYPE html>
315 | <html>
316 |   <head>
317 |   <body>
318 Expected:
319 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
320 | <html>
321 |   <head>
322 |   <body>
323 resources/tests7.dat:
324 24
325 27
326 30
327
328 Test 24 of 30 in resources/tests7.dat failed. Input:
329 <body>X</body></body>
330 Got:
331 | "X"
332 Expected:
333 | <head>
334 | <body>
335 |   "X"
336
337 Test 27 of 30 in resources/tests7.dat failed. Input:
338 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
339 Got:
340 | <html>
341 |   <head>
342 |   <body>
343 |     <b>
344 |     "bbb"
345 |     <table>
346 |       <tbody>
347 |         <tr>
348 |           <td>
349 |             "aaa"
350 |     "ccc"
351 Expected:
352 | <html>
353 |   <head>
354 |   <body>
355 |     <b>
356 |     <b>
357 |       "bbb"
358 |     <table>
359 |       <tbody>
360 |         <tr>
361 |           <td>
362 |             "aaa"
363 |     <b>
364 |       "ccc"
365
366 Test 30 of 30 in resources/tests7.dat failed. Input:
367 <select><keygen>
368 Got:
369 | <html>
370 |   <head>
371 |   <body>
372 |     <select>
373 |     <keygen>
374 |       <option>
375 |         "2048 (High Grade)"
376 |       <option>
377 |         "1024 (Medium Grade)"
378 |       <option>
379 |         "512 (Low Grade)"
380 Expected:
381 | <html>
382 |   <head>
383 |   <body>
384 |     <select>
385 |     <keygen>
386 resources/tests8.dat: PASS
387
388 resources/tests9.dat:
389 14
390
391 Test 14 of 25 in resources/tests9.dat failed. Input:
392 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
393 Got:
394 | <!DOCTYPE html>
395 | <html>
396 |   <head>
397 |   <body>
398 |     <table>
399 |       <caption>
400 |         <math math>
401 |           <math mi>
402 |             "foo"
403 |           <math mi>
404 |             "bar"
405 |           "baz"
406 |         <p>
407 |           "quux"
408 Expected:
409 | <!DOCTYPE html>
410 | <html>
411 |   <head>
412 |   <body>
413 |     <table>
414 |       <caption>
415 |         <math math>
416 |           <math mi>
417 |             "foo"
418 |           <math mi>
419 |             "bar"
420 |           "baz"
421 |     <p>
422 |       "quux"
423 resources/tests10.dat:
424 14
425
426 Test 14 of 25 in resources/tests10.dat failed. Input:
427 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux
428 Got:
429 | <!DOCTYPE html>
430 | <html>
431 |   <head>
432 |   <body>
433 |     <table>
434 |       <caption>
435 |         <svg svg>
436 |           <svg g>
437 |             "foo"
438 |           <svg g>
439 |             "bar"
440 |           "baz"
441 |         <p>
442 |           "quux"
443 Expected:
444 | <!DOCTYPE html>
445 | <html>
446 |   <head>
447 |   <body>
448 |     <table>
449 |       <caption>
450 |         <svg svg>
451 |           <svg g>
452 |             "foo"
453 |           <svg g>
454 |             "bar"
455 |           "baz"
456 |     <p>
457 |       "quux"
458 resources/tests11.dat: PASS
459
460 resources/tests12.dat:
461 1
462 2
463
464 Test 1 of 2 in resources/tests12.dat failed. Input:
465 <!DOCTYPE html><body><p>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img></td></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar
466 Got:
467 | <!DOCTYPE html>
468 | <html>
469 |   <head>
470 |   <body>
471 |     <p>
472 |       "foo"
473 |       <math math>
474 |         <math mtext>
475 |           <i>
476 |             "baz"
477 |         <math annotation-xml>
478 |           <svg svg>
479 |             <svg desc>
480 |               <b>
481 |                 "eggs"
482 |             <svg g>
483 |               <svg foreignObject>
484 |                 <p>
485 |                   "spam"
486 |                 <table>
487 |                   <tbody>
488 |                     <tr>
489 |                       <td>
490 |                         <img>
491 |                 <g>
492 |                   "quux"
493 |                 "bar"
494 Expected:
495 | <!DOCTYPE html>
496 | <html>
497 |   <head>
498 |   <body>
499 |     <p>
500 |       "foo"
501 |       <math math>
502 |         <math mtext>
503 |           <i>
504 |             "baz"
505 |         <math annotation-xml>
506 |           <svg svg>
507 |             <svg desc>
508 |               <b>
509 |                 "eggs"
510 |             <svg g>
511 |               <svg foreignObject>
512 |                 <p>
513 |                   "spam"
514 |                 <table>
515 |                   <tbody>
516 |                     <tr>
517 |                       <td>
518 |                         <img>
519 |             <svg g>
520 |               "quux"
521 |       "bar"
522
523 Test 2 of 2 in resources/tests12.dat failed. Input:
524 <!DOCTYPE html><body>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img></td></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar
525 Got:
526 | <!DOCTYPE html>
527 | <html>
528 |   <head>
529 |   <body>
530 |     "foo"
531 |     <math math>
532 |       <math mtext>
533 |         <i>
534 |           "baz"
535 |       <math annotation-xml>
536 |         <svg svg>
537 |           <svg desc>
538 |             <b>
539 |               "eggs"
540 |           <svg g>
541 |             <svg foreignObject>
542 |               <p>
543 |                 "spam"
544 |               <table>
545 |                 <tbody>
546 |                   <tr>
547 |                     <td>
548 |                       <img>
549 |               <g>
550 |                 "quux"
551 |               "bar"
552 Expected:
553 | <!DOCTYPE html>
554 | <html>
555 |   <head>
556 |   <body>
557 |     "foo"
558 |     <math math>
559 |       <math mtext>
560 |         <i>
561 |           "baz"
562 |       <math annotation-xml>
563 |         <svg svg>
564 |           <svg desc>
565 |             <b>
566 |               "eggs"
567 |           <svg g>
568 |             <svg foreignObject>
569 |               <p>
570 |                 "spam"
571 |               <table>
572 |                 <tbody>
573 |                   <tr>
574 |                     <td>
575 |                       <img>
576 |           <svg g>
577 |             "quux"
578 |     "bar"
579 resources/tests14.dat: PASS
580
581 resources/tests15.dat: PASS
582
583 resources/tests16.dat: PASS
584
585 resources/webkit01.dat: PASS
586
587 resources/doctype01.dat: PASS
588
589 resources/scriptdata01.dat: PASS
590
591 resources/entities01.dat:
592 2
593 5
594
595 Test 2 of 68 in resources/entities01.dat failed. Input:
596 FOO&gtBAR
597 Got:
598 | <html>
599 |   <head>
600 |   <body>
601 |     "FOO&gtBAR"
602 Expected:
603 | <html>
604 |   <head>
605 |   <body>
606 |     "FOO>BAR"
607
608 Test 5 of 68 in resources/entities01.dat failed. Input:
609 I'm &notit; I tell you
610 Got:
611 | <html>
612 |   <head>
613 |   <body>
614 |     "I'm &notit; I tell you"
615 Expected:
616 | <html>
617 |   <head>
618 |   <body>
619 |     "I'm ┬Čit; I tell you"
620 resources/entities02.dat: PASS
621
622 resources/comments01.dat: PASS
623
624 resources/adoption01.dat:
625 3
626
627 Test 3 of 9 in resources/adoption01.dat failed. Input:
628 <a>1<button>2</a>3</button>
629 Got:
630 | <html>
631 |   <head>
632 |   <body>
633 |     <a>
634 |       "1"
635 |       <button>
636 |         "23"
637 Expected:
638 | <html>
639 |   <head>
640 |   <body>
641 |     <a>
642 |       "1"
643 |       <button>
644 |         "2"
645 |     "3"
646 resources/inbody01.dat: PASS
647
648 resources/isindex.dat: PASS
649
650 resources/tables01.dat: PASS
651 #EOF