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 13
390 14
391 15
392 18
393 19
394
395 Test 13 of 25 in resources/tests9.dat failed. Input:
396 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
397 Got:
398 | <!DOCTYPE html>
399 | <html>
400 |   <head>
401 |   <body>
402 |     <table>
403 |       <caption>
404 |         <math math>
405 |           <math mi>
406 |             "foo"
407 |           <math mi>
408 |             "bar"
409 |           <math p>
410 |             "baz"
411 |             <math p>
412 |               "quux"
413 Expected:
414 | <!DOCTYPE html>
415 | <html>
416 |   <head>
417 |   <body>
418 |     <table>
419 |       <caption>
420 |         <math math>
421 |           <math mi>
422 |             "foo"
423 |           <math mi>
424 |             "bar"
425 |         <p>
426 |           "baz"
427 |     <p>
428 |       "quux"
429
430 Test 14 of 25 in resources/tests9.dat failed. Input:
431 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
432 Got:
433 | <!DOCTYPE html>
434 | <html>
435 |   <head>
436 |   <body>
437 |     <table>
438 |       <caption>
439 |         <math math>
440 |           <math mi>
441 |             "foo"
442 |           <math mi>
443 |             "bar"
444 |           "baz"
445 |           <math p>
446 |             "quux"
447 Expected:
448 | <!DOCTYPE html>
449 | <html>
450 |   <head>
451 |   <body>
452 |     <table>
453 |       <caption>
454 |         <math math>
455 |           <math mi>
456 |             "foo"
457 |           <math mi>
458 |             "bar"
459 |           "baz"
460 |     <p>
461 |       "quux"
462
463 Test 15 of 25 in resources/tests9.dat failed. Input:
464 <!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
465 Got:
466 | <!DOCTYPE html>
467 | <html>
468 |   <head>
469 |   <body>
470 |     <math math>
471 |       <math mi>
472 |         "foo"
473 |       <math mi>
474 |         "bar"
475 |       <math p>
476 |         "baz"
477 |         <math p>
478 |           "quux"
479 |     <table>
480 |       <colgroup>
481 Expected:
482 | <!DOCTYPE html>
483 | <html>
484 |   <head>
485 |   <body>
486 |     <math math>
487 |       <math mi>
488 |         "foo"
489 |       <math mi>
490 |         "bar"
491 |     <p>
492 |       "baz"
493 |     <table>
494 |       <colgroup>
495 |     <p>
496 |       "quux"
497
498 Test 18 of 25 in resources/tests9.dat failed. Input:
499 <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
500 Got:
501 | <!DOCTYPE html>
502 | <html>
503 |   <head>
504 |   <body>
505 |     <math math>
506 |       <math mi>
507 |         "foo"
508 |       <math mi>
509 |         "bar"
510 |       <math p>
511 |         "baz"
512 Expected:
513 | <!DOCTYPE html>
514 | <html>
515 |   <head>
516 |   <body>
517 |     <math math>
518 |       <math mi>
519 |         "foo"
520 |       <math mi>
521 |         "bar"
522 |     <p>
523 |       "baz"
524
525 Test 19 of 25 in resources/tests9.dat failed. Input:
526 <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
527 Got:
528 | <!DOCTYPE html>
529 | <html>
530 |   <head>
531 |   <body>
532 |     <math math>
533 |       <math mi>
534 |         "foo"
535 |       <math mi>
536 |         "bar"
537 |       <math p>
538 |         "baz"
539 Expected:
540 | <!DOCTYPE html>
541 | <html>
542 |   <head>
543 |   <body>
544 |     <math math>
545 |       <math mi>
546 |         "foo"
547 |       <math mi>
548 |         "bar"
549 |     <p>
550 |       "baz"
551 resources/tests10.dat:
552 13
553 14
554 15
555 18
556 19
557
558 Test 13 of 25 in resources/tests10.dat failed. Input:
559 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
560 Got:
561 | <!DOCTYPE html>
562 | <html>
563 |   <head>
564 |   <body>
565 |     <table>
566 |       <caption>
567 |         <svg svg>
568 |           <svg g>
569 |             "foo"
570 |           <svg g>
571 |             "bar"
572 |           <svg p>
573 |             "baz"
574 |             <svg p>
575 |               "quux"
576 Expected:
577 | <!DOCTYPE html>
578 | <html>
579 |   <head>
580 |   <body>
581 |     <table>
582 |       <caption>
583 |         <svg svg>
584 |           <svg g>
585 |             "foo"
586 |           <svg g>
587 |             "bar"
588 |         <p>
589 |           "baz"
590 |     <p>
591 |       "quux"
592
593 Test 14 of 25 in resources/tests10.dat failed. Input:
594 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux
595 Got:
596 | <!DOCTYPE html>
597 | <html>
598 |   <head>
599 |   <body>
600 |     <table>
601 |       <caption>
602 |         <svg svg>
603 |           <svg g>
604 |             "foo"
605 |           <svg g>
606 |             "bar"
607 |           "baz"
608 |           <svg p>
609 |             "quux"
610 Expected:
611 | <!DOCTYPE html>
612 | <html>
613 |   <head>
614 |   <body>
615 |     <table>
616 |       <caption>
617 |         <svg svg>
618 |           <svg g>
619 |             "foo"
620 |           <svg g>
621 |             "bar"
622 |           "baz"
623 |     <p>
624 |       "quux"
625
626 Test 15 of 25 in resources/tests10.dat failed. Input:
627 <!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
628 Got:
629 | <!DOCTYPE html>
630 | <html>
631 |   <head>
632 |   <body>
633 |     <svg svg>
634 |       <svg g>
635 |         "foo"
636 |       <svg g>
637 |         "bar"
638 |       <svg p>
639 |         "baz"
640 |         <svg p>
641 |           "quux"
642 |     <table>
643 |       <colgroup>
644 Expected:
645 | <!DOCTYPE html>
646 | <html>
647 |   <head>
648 |   <body>
649 |     <svg svg>
650 |       <svg g>
651 |         "foo"
652 |       <svg g>
653 |         "bar"
654 |     <p>
655 |       "baz"
656 |     <table>
657 |       <colgroup>
658 |     <p>
659 |       "quux"
660
661 Test 18 of 25 in resources/tests10.dat failed. Input:
662 <!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz
663 Got:
664 | <!DOCTYPE html>
665 | <html>
666 |   <head>
667 |   <body>
668 |     <svg svg>
669 |       <svg g>
670 |         "foo"
671 |       <svg g>
672 |         "bar"
673 |       <svg p>
674 |         "baz"
675 Expected:
676 | <!DOCTYPE html>
677 | <html>
678 |   <head>
679 |   <body>
680 |     <svg svg>
681 |       <svg g>
682 |         "foo"
683 |       <svg g>
684 |         "bar"
685 |     <p>
686 |       "baz"
687
688 Test 19 of 25 in resources/tests10.dat failed. Input:
689 <!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz
690 Got:
691 | <!DOCTYPE html>
692 | <html>
693 |   <head>
694 |   <body>
695 |     <svg svg>
696 |       <svg g>
697 |         "foo"
698 |       <svg g>
699 |         "bar"
700 |       <svg p>
701 |         "baz"
702 Expected:
703 | <!DOCTYPE html>
704 | <html>
705 |   <head>
706 |   <body>
707 |     <svg svg>
708 |       <svg g>
709 |         "foo"
710 |       <svg g>
711 |         "bar"
712 |     <p>
713 |       "baz"
714 resources/tests11.dat: PASS
715
716 resources/tests12.dat:
717 1
718 2
719
720 Test 1 of 2 in resources/tests12.dat failed. Input:
721 <!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
722 Got:
723 | <!DOCTYPE html>
724 | <html>
725 |   <head>
726 |   <body>
727 |     <p>
728 |       "foo"
729 |       <math math>
730 |         <math mtext>
731 |           <math i>
732 |             "baz"
733 |         <math annotation-xml>
734 |           <math svg>
735 |             <math desc>
736 |               <math b>
737 |                 "eggs"
738 |             <math g>
739 |               <math foreignobject>
740 |                 <math p>
741 |                   "spam"
742 |                   <math table>
743 |                     <math tr>
744 |                       <math td>
745 |                         <math img>
746 |                           <math g>
747 |                             "quux"
748 |                           "bar"
749 Expected:
750 | <!DOCTYPE html>
751 | <html>
752 |   <head>
753 |   <body>
754 |     <p>
755 |       "foo"
756 |       <math math>
757 |         <math mtext>
758 |           <i>
759 |             "baz"
760 |         <math annotation-xml>
761 |           <svg svg>
762 |             <svg desc>
763 |               <b>
764 |                 "eggs"
765 |             <svg g>
766 |               <svg foreignObject>
767 |                 <p>
768 |                   "spam"
769 |                 <table>
770 |                   <tbody>
771 |                     <tr>
772 |                       <td>
773 |                         <img>
774 |             <svg g>
775 |               "quux"
776 |       "bar"
777
778 Test 2 of 2 in resources/tests12.dat failed. Input:
779 <!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
780 Got:
781 | <!DOCTYPE html>
782 | <html>
783 |   <head>
784 |   <body>
785 |     "foo"
786 |     <math math>
787 |       <math mtext>
788 |         <math i>
789 |           "baz"
790 |       <math annotation-xml>
791 |         <math svg>
792 |           <math desc>
793 |             <math b>
794 |               "eggs"
795 |           <math g>
796 |             <math foreignobject>
797 |               <math p>
798 |                 "spam"
799 |                 <math table>
800 |                   <math tr>
801 |                     <math td>
802 |                       <math img>
803 |                         <math g>
804 |                           "quux"
805 |                         "bar"
806 Expected:
807 | <!DOCTYPE html>
808 | <html>
809 |   <head>
810 |   <body>
811 |     "foo"
812 |     <math math>
813 |       <math mtext>
814 |         <i>
815 |           "baz"
816 |       <math annotation-xml>
817 |         <svg svg>
818 |           <svg desc>
819 |             <b>
820 |               "eggs"
821 |           <svg g>
822 |             <svg foreignObject>
823 |               <p>
824 |                 "spam"
825 |               <table>
826 |                 <tbody>
827 |                   <tr>
828 |                     <td>
829 |                       <img>
830 |           <svg g>
831 |             "quux"
832 |     "bar"
833 resources/tests14.dat: PASS
834
835 resources/tests15.dat: PASS
836
837 resources/tests16.dat: PASS
838
839 resources/webkit01.dat: PASS
840
841 resources/doctype01.dat: PASS
842
843 resources/scriptdata01.dat: PASS
844
845 resources/entities01.dat:
846 2
847 5
848
849 Test 2 of 68 in resources/entities01.dat failed. Input:
850 FOO&gtBAR
851 Got:
852 | <html>
853 |   <head>
854 |   <body>
855 |     "FOO&gtBAR"
856 Expected:
857 | <html>
858 |   <head>
859 |   <body>
860 |     "FOO>BAR"
861
862 Test 5 of 68 in resources/entities01.dat failed. Input:
863 I'm &notit; I tell you
864 Got:
865 | <html>
866 |   <head>
867 |   <body>
868 |     "I'm &notit; I tell you"
869 Expected:
870 | <html>
871 |   <head>
872 |   <body>
873 |     "I'm ┬Čit; I tell you"
874 resources/entities02.dat: PASS
875
876 resources/comments01.dat: PASS
877
878 resources/adoption01.dat:
879 3
880
881 Test 3 of 9 in resources/adoption01.dat failed. Input:
882 <a>1<button>2</a>3</button>
883 Got:
884 | <html>
885 |   <head>
886 |   <body>
887 |     <a>
888 |       "1"
889 |       <button>
890 |         "23"
891 Expected:
892 | <html>
893 |   <head>
894 |   <body>
895 |     <a>
896 |       "1"
897 |       <button>
898 |         "2"
899 |     "3"
900 resources/inbody01.dat: PASS
901
902 resources/isindex.dat: PASS
903
904 resources/tables01.dat: PASS
905 #EOF