2010-07-21 Adam Barth <abarth@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 1: SyntaxError: Parse error
7 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
8 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
9 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
10 CONSOLE MESSAGE: line 2: PASS
11 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
12 Content-Type: text/plain
13 resources/tests1.dat:
14 24
15 98
16
17 Test 24 of 114 in resources/tests1.dat failed. Input:
18 <b><button>foo</b>bar
19 Got:
20 | <html>
21 |   <head>
22 |   <body>
23 |     <b>
24 |       <button>
25 |         "foobar"
26 Expected:
27 | <html>
28 |   <head>
29 |   <body>
30 |     <b>
31 |     <button>
32 |       <b>
33 |         "foo"
34 |       "bar"
35
36 Test 98 of 114 in resources/tests1.dat failed. Input:
37 <b><button></b></button></b>
38 Got:
39 | <html>
40 |   <head>
41 |   <body>
42 |     <b>
43 |       <button>
44 Expected:
45 | <html>
46 |   <head>
47 |   <body>
48 |     <b>
49 |     <button>
50 |       <b>
51 resources/tests2.dat: PASS
52
53 resources/tests3.dat: PASS
54
55 resources/tests4.dat:
56 3
57 5
58 6
59 7
60
61 Test 3 of 7 in resources/tests4.dat failed. Input:
62 textarea content with <em>pseudo</em> <foo>markup
63 Got:
64 | "textarea content with "
65 | <em>
66 |   "pseudo"
67 | " "
68 | <foo>
69 |   "markup"
70 Expected:
71 | "textarea content with <em>pseudo</em> <foo>markup"
72
73 Test 5 of 7 in resources/tests4.dat failed. Input:
74 </plaintext>
75 Got:
76
77 Expected:
78 | "</plaintext>"
79
80 Test 6 of 7 in resources/tests4.dat failed. Input:
81 setting html's innerHTML
82 Got:
83 | "setting html's innerHTML"
84 Expected:
85 | <head>
86 | <body>
87 |   "setting html's innerHTML"
88
89 Test 7 of 7 in resources/tests4.dat failed. Input:
90 <title>setting head's innerHTML</title>
91 Got:
92
93 Expected:
94 | <title>
95 |   "setting head's innerHTML"
96 resources/tests5.dat: PASS
97
98 resources/tests6.dat:
99 27
100 30
101 37
102 44
103 45
104 47
105
106 Test 27 of 51 in resources/tests6.dat failed. Input:
107 foo<col>
108 Got:
109
110 Expected:
111 | <col>
112
113 Test 30 of 51 in resources/tests6.dat failed. Input:
114 </frameset><frame>
115 Got:
116
117 Expected:
118 | <frame>
119
120 Test 37 of 51 in resources/tests6.dat failed. Input:
121 <caption><col><colgroup><tbody><tfoot><thead><tr>
122 Got:
123 | <caption>
124 | <colgroup>
125 | <tbody>
126 | <tfoot>
127 | <thead>
128 |   <tr>
129 Expected:
130 | <tr>
131
132 Test 44 of 51 in resources/tests6.dat failed. Input:
133 </table><tr>
134 Got:
135 | <tr>
136 Expected:
137 | <tbody>
138 |   <tr>
139
140 Test 45 of 51 in resources/tests6.dat failed. Input:
141 <body></body></html>
142 Got:
143
144 Expected:
145 | <head>
146 | <body>
147
148 Test 47 of 51 in resources/tests6.dat failed. Input:
149 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
150 Got:
151 | <!DOCTYPE html>
152 | <html>
153 |   <head>
154 |   <body>
155 Expected:
156 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
157 | <html>
158 |   <head>
159 |   <body>
160 resources/tests7.dat:
161 24
162 30
163
164 Test 24 of 30 in resources/tests7.dat failed. Input:
165 <body>X</body></body>
166 Got:
167 | "X"
168 Expected:
169 | <head>
170 | <body>
171 |   "X"
172
173 Test 30 of 30 in resources/tests7.dat failed. Input:
174 <select><keygen>
175 Got:
176 | <html>
177 |   <head>
178 |   <body>
179 |     <select>
180 |     <keygen>
181 |       <option>
182 |         "2048 (High Grade)"
183 |       <option>
184 |         "1024 (Medium Grade)"
185 |       <option>
186 |         "512 (Low Grade)"
187 Expected:
188 | <html>
189 |   <head>
190 |   <body>
191 |     <select>
192 |     <keygen>
193 resources/tests8.dat: PASS
194
195 resources/tests9.dat: PASS
196
197 resources/tests10.dat: PASS
198
199 resources/tests11.dat: PASS
200
201 resources/tests12.dat: PASS
202
203 resources/tests14.dat: PASS
204
205 resources/tests15.dat: PASS
206
207 resources/tests16.dat: PASS
208
209 resources/tests17.dat: PASS
210
211 resources/tests18.dat: PASS
212
213 resources/tests19.dat:
214 1
215 22
216 24
217 57
218 58
219 63
220 77
221 78
222 80
223 81
224 99
225 100
226 101
227 102
228
229 Test 1 of 102 in resources/tests19.dat failed. Input:
230 <!doctype html><math><mn DefinitionUrl="foo">
231 Got:
232 | <!DOCTYPE html>
233 | <html>
234 |   <head>
235 |   <body>
236 |     <math math>
237 |       <math mn>
238 |         definitionurl="foo"
239 Expected:
240 | <!DOCTYPE html>
241 | <html>
242 |   <head>
243 |   <body>
244 |     <math math>
245 |       <math mn>
246 |         definitionURL="foo"
247
248 Test 22 of 102 in resources/tests19.dat failed. Input:
249 <!doctype html><h1><div><h3><span></h1>foo
250 Got:
251 | <!DOCTYPE html>
252 | <html>
253 |   <head>
254 |   <body>
255 |     <h1>
256 |       <div>
257 |         <h3>
258 |           <span>
259 |     "foo"
260 Expected:
261 | <!DOCTYPE html>
262 | <html>
263 |   <head>
264 |   <body>
265 |     <h1>
266 |       <div>
267 |         <h3>
268 |           <span>
269 |         "foo"
270
271 Test 24 of 102 in resources/tests19.dat failed. Input:
272 <!doctype html><h3><li>abc</h2>foo
273 Got:
274 | <!DOCTYPE html>
275 | <html>
276 |   <head>
277 |   <body>
278 |     <h3>
279 |       <li>
280 |         "abcfoo"
281 Expected:
282 | <!DOCTYPE html>
283 | <html>
284 |   <head>
285 |   <body>
286 |     <h3>
287 |       <li>
288 |         "abc"
289 |     "foo"
290
291 Test 57 of 102 in resources/tests19.dat failed. Input:
292 <!doctype html><basefont><frameset>
293 Got:
294 | <!DOCTYPE html>
295 | <html>
296 |   <head>
297 |   <body>
298 |     <basefont>
299 Expected:
300 | <!DOCTYPE html>
301 | <html>
302 |   <head>
303 |     <basefont>
304 |   <frameset>
305
306 Test 58 of 102 in resources/tests19.dat failed. Input:
307 <!doctype html><bgsound><frameset>
308 Got:
309 | <!DOCTYPE html>
310 | <html>
311 |   <head>
312 |   <body>
313 |     <bgsound>
314 Expected:
315 | <!DOCTYPE html>
316 | <html>
317 |   <head>
318 |     <bgsound>
319 |   <frameset>
320
321 Test 63 of 102 in resources/tests19.dat failed. Input:
322 <!doctype html><keygen><frameset>
323 Got:
324 | <!DOCTYPE html>
325 | <html>
326 |   <head>
327 |   <body>
328 |     <keygen>
329 |       <option>
330 |         "2048 (High Grade)"
331 |       <option>
332 |         "1024 (Medium Grade)"
333 |       <option>
334 |         "512 (Low Grade)"
335 Expected:
336 | <!DOCTYPE html>
337 | <html>
338 |   <head>
339 |   <body>
340 |     <keygen>
341
342 Test 77 of 102 in resources/tests19.dat failed. Input:
343 <html>�<frameset></frameset>
344 Got:
345 | <html>
346 |   <head>
347 |   <body>
348 |     "�"
349 Expected:
350 | <html>
351 |   <head>
352 |   <frameset>
353
354 Test 78 of 102 in resources/tests19.dat failed. Input:
355 <html> � <frameset></frameset>
356 Got:
357 | <html>
358 |   <head>
359 |   <body>
360 |     "� "
361 Expected:
362 | <html>
363 |   <head>
364 |   <frameset>
365
366 Test 80 of 102 in resources/tests19.dat failed. Input:
367 <html>��<frameset></frameset>
368 Got:
369 | <html>
370 |   <head>
371 |   <body>
372 |     "��"
373 Expected:
374 | <html>
375 |   <head>
376 |   <frameset>
377
378 Test 81 of 102 in resources/tests19.dat failed. Input:
379 <html>�
380  <frameset></frameset>
381 Got:
382 | <html>
383 |   <head>
384 |   <body>
385 |     "�
386  "
387 Expected:
388 | <html>
389 |   <head>
390 |   <frameset>
391
392 Test 99 of 102 in resources/tests19.dat failed. Input:
393 <!doctype html><a><b></a><basefont>
394 Got:
395 | <!DOCTYPE html>
396 | <html>
397 |   <head>
398 |   <body>
399 |     <a>
400 |       <b>
401 |     <b>
402 |       <basefont>
403 Expected:
404 | <!DOCTYPE html>
405 | <html>
406 |   <head>
407 |   <body>
408 |     <a>
409 |       <b>
410 |     <basefont>
411
412 Test 100 of 102 in resources/tests19.dat failed. Input:
413 <!doctype html><a><b></a><bgsound>
414 Got:
415 | <!DOCTYPE html>
416 | <html>
417 |   <head>
418 |   <body>
419 |     <a>
420 |       <b>
421 |     <b>
422 |       <bgsound>
423 Expected:
424 | <!DOCTYPE html>
425 | <html>
426 |   <head>
427 |   <body>
428 |     <a>
429 |       <b>
430 |     <bgsound>
431
432 Test 101 of 102 in resources/tests19.dat failed. Input:
433 <!doctype html><figcaption><article></figcaption>a
434 Got:
435 | <!DOCTYPE html>
436 | <html>
437 |   <head>
438 |   <body>
439 |     <figcaption>
440 |       <article>
441 |         "a"
442 Expected:
443 | <!DOCTYPE html>
444 | <html>
445 |   <head>
446 |   <body>
447 |     <figcaption>
448 |       <article>
449 |     "a"
450
451 Test 102 of 102 in resources/tests19.dat failed. Input:
452 <!doctype html><summary><article></summary>a
453 Got:
454 | <!DOCTYPE html>
455 | <html>
456 |   <head>
457 |   <body>
458 |     <summary>
459 |       <article>
460 |         "a"
461 Expected:
462 | <!DOCTYPE html>
463 | <html>
464 |   <head>
465 |   <body>
466 |     <summary>
467 |       <article>
468 |     "a"
469 resources/tests20.dat:
470 20
471 21
472 24
473 25
474
475 Test 20 of 25 in resources/tests20.dat failed. Input:
476 <!doctype html><address><button></address>a
477 Got:
478 | <!DOCTYPE html>
479 | <html>
480 |   <head>
481 |   <body>
482 |     <address>
483 |       <button>
484 |         "a"
485 Expected:
486 | <!DOCTYPE html>
487 | <html>
488 |   <head>
489 |   <body>
490 |     <address>
491 |       <button>
492 |     "a"
493
494 Test 21 of 25 in resources/tests20.dat failed. Input:
495 <!doctype html><address><button></address>a
496 Got:
497 | <!DOCTYPE html>
498 | <html>
499 |   <head>
500 |   <body>
501 |     <address>
502 |       <button>
503 |         "a"
504 Expected:
505 | <!DOCTYPE html>
506 | <html>
507 |   <head>
508 |   <body>
509 |     <address>
510 |       <button>
511 |     "a"
512
513 Test 24 of 25 in resources/tests20.dat failed. Input:
514 <!doctype html><p><figcaption>
515 Got:
516 | <!DOCTYPE html>
517 | <html>
518 |   <head>
519 |   <body>
520 |     <p>
521 |       <figcaption>
522 Expected:
523 | <!DOCTYPE html>
524 | <html>
525 |   <head>
526 |   <body>
527 |     <p>
528 |     <figcaption>
529
530 Test 25 of 25 in resources/tests20.dat failed. Input:
531 <!doctype html><p><summary>
532 Got:
533 | <!DOCTYPE html>
534 | <html>
535 |   <head>
536 |   <body>
537 |     <p>
538 |       <summary>
539 Expected:
540 | <!DOCTYPE html>
541 | <html>
542 |   <head>
543 |   <body>
544 |     <p>
545 |     <summary>
546 resources/webkit01.dat: PASS
547
548 resources/doctype01.dat:
549 14
550 15
551 16
552 23
553 24
554 25
555 26
556 27
557 29
558 30
559 32
560 33
561 34
562 35
563 36
564 37
565
566 Test 14 of 37 in resources/doctype01.dat failed. Input:
567 <!DOCTYPE potato SYSTEM 'taco"'>Hello
568 Got:
569 | <!DOCTYPE potato>
570 | <html>
571 |   <head>
572 |   <body>
573 |     "Hello"
574 Expected:
575 | <!DOCTYPE potato "" "taco"">
576 | <html>
577 |   <head>
578 |   <body>
579 |     "Hello"
580
581 Test 15 of 37 in resources/doctype01.dat failed. Input:
582 <!DOCTYPE potato SYSTEM "taco">Hello
583 Got:
584 | <!DOCTYPE potato>
585 | <html>
586 |   <head>
587 |   <body>
588 |     "Hello"
589 Expected:
590 | <!DOCTYPE potato "" "taco">
591 | <html>
592 |   <head>
593 |   <body>
594 |     "Hello"
595
596 Test 16 of 37 in resources/doctype01.dat failed. Input:
597 <!DOCTYPE potato SYSTEM "tai'co">Hello
598 Got:
599 | <!DOCTYPE potato>
600 | <html>
601 |   <head>
602 |   <body>
603 |     "Hello"
604 Expected:
605 | <!DOCTYPE potato "" "tai'co">
606 | <html>
607 |   <head>
608 |   <body>
609 |     "Hello"
610
611 Test 23 of 37 in resources/doctype01.dat failed. Input:
612 <!DOCTYPE potato PUBLIC "go'of">Hello
613 Got:
614 | <!DOCTYPE potato>
615 | <html>
616 |   <head>
617 |   <body>
618 |     "Hello"
619 Expected:
620 | <!DOCTYPE potato "go'of" "">
621 | <html>
622 |   <head>
623 |   <body>
624 |     "Hello"
625
626 Test 24 of 37 in resources/doctype01.dat failed. Input:
627 <!DOCTYPE potato PUBLIC 'go'of'>Hello
628 Got:
629 | <!DOCTYPE potato>
630 | <html>
631 |   <head>
632 |   <body>
633 |     "Hello"
634 Expected:
635 | <!DOCTYPE potato "go" "">
636 | <html>
637 |   <head>
638 |   <body>
639 |     "Hello"
640
641 Test 25 of 37 in resources/doctype01.dat failed. Input:
642 <!DOCTYPE potato PUBLIC 'go:hh   of' >Hello
643 Got:
644 | <!DOCTYPE potato>
645 | <html>
646 |   <head>
647 |   <body>
648 |     "Hello"
649 Expected:
650 | <!DOCTYPE potato "go:hh   of" "">
651 | <html>
652 |   <head>
653 |   <body>
654 |     "Hello"
655
656 Test 26 of 37 in resources/doctype01.dat failed. Input:
657 <!DOCTYPE potato PUBLIC "W3C-//dfdf" SYSTEM ggg>Hello
658 Got:
659 | <!DOCTYPE potato>
660 | <html>
661 |   <head>
662 |   <body>
663 |     "Hello"
664 Expected:
665 | <!DOCTYPE potato "W3C-//dfdf" "">
666 | <html>
667 |   <head>
668 |   <body>
669 |     "Hello"
670
671 Test 27 of 37 in resources/doctype01.dat failed. Input:
672 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
673    "http://www.w3.org/TR/html4/strict.dtd">Hello
674 Got:
675 | <!DOCTYPE html>
676 | <html>
677 |   <head>
678 |   <body>
679 |     "Hello"
680 Expected:
681 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
682 | <html>
683 |   <head>
684 |   <body>
685 |     "Hello"
686
687 Test 29 of 37 in resources/doctype01.dat failed. Input:
688 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
689 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
690 Got:
691 | <!DOCTYPE html>
692 | <html>
693 |   <head>
694 |   <body>
695 Expected:
696 | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
697 | <html>
698 |   <head>
699 |   <body>
700
701 Test 30 of 37 in resources/doctype01.dat failed. Input:
702 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
703 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
704 Got:
705 | <!DOCTYPE html>
706 | <html>
707 |   <head>
708 |   <body>
709 Expected:
710 | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
711 | <html>
712 |   <head>
713 |   <body>
714
715 Test 32 of 37 in resources/doctype01.dat failed. Input:
716 <!DOCTYPE html PUBLIC
717   "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
718     "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
719 Got:
720 | <!DOCTYPE html>
721 | <html>
722 |   <head>
723 |   <body>
724 Expected:
725 | <!DOCTYPE html "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
726 | <html>
727 |   <head>
728 |   <body>
729
730 Test 33 of 37 in resources/doctype01.dat failed. Input:
731 <!DOCTYPE HTML SYSTEM "http://www.w3.org/DTD/HTML4-strict.dtd"><body><b>Mine!</b></body>
732 Got:
733 | <!DOCTYPE html>
734 | <html>
735 |   <head>
736 |   <body>
737 |     <b>
738 |       "Mine!"
739 Expected:
740 | <!DOCTYPE html "" "http://www.w3.org/DTD/HTML4-strict.dtd">
741 | <html>
742 |   <head>
743 |   <body>
744 |     <b>
745 |       "Mine!"
746
747 Test 34 of 37 in resources/doctype01.dat failed. Input:
748 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
749 Got:
750 | <!DOCTYPE html>
751 | <html>
752 |   <head>
753 |   <body>
754 Expected:
755 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
756 | <html>
757 |   <head>
758 |   <body>
759
760 Test 35 of 37 in resources/doctype01.dat failed. Input:
761 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"'http://www.w3.org/TR/html4/strict.dtd'>
762 Got:
763 | <!DOCTYPE html>
764 | <html>
765 |   <head>
766 |   <body>
767 Expected:
768 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
769 | <html>
770 |   <head>
771 |   <body>
772
773 Test 36 of 37 in resources/doctype01.dat failed. Input:
774 <!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01//EN"'http://www.w3.org/TR/html4/strict.dtd'>
775 Got:
776 | <!DOCTYPE html>
777 | <html>
778 |   <head>
779 |   <body>
780 Expected:
781 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
782 | <html>
783 |   <head>
784 |   <body>
785
786 Test 37 of 37 in resources/doctype01.dat failed. Input:
787 <!DOCTYPE HTML PUBLIC'-//W3C//DTD HTML 4.01//EN''http://www.w3.org/TR/html4/strict.dtd'>
788 Got:
789 | <!DOCTYPE html>
790 | <html>
791 |   <head>
792 |   <body>
793 Expected:
794 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
795 | <html>
796 |   <head>
797 |   <body>
798 resources/scriptdata01.dat: PASS
799
800 resources/html5test-com.dat:
801 7
802 9
803 10
804 11
805
806 Test 7 of 24 in resources/html5test-com.dat failed. Input:
807 &lang;&rang;
808 Got:
809 | <html>
810 |   <head>
811 |   <body>
812 |     "〈〉"
813 Expected:
814 | <html>
815 |   <head>
816 |   <body>
817 |     "⟨⟩"
818
819 Test 9 of 24 in resources/html5test-com.dat failed. Input:
820 &ImaginaryI;
821 Got:
822 | <html>
823 |   <head>
824 |   <body>
825 |     "&ImaginaryI;"
826 Expected:
827 | <html>
828 |   <head>
829 |   <body>
830 |     "ⅈ"
831
832 Test 10 of 24 in resources/html5test-com.dat failed. Input:
833 &Kopf;
834 Got:
835 | <html>
836 |   <head>
837 |   <body>
838 |     "&Kopf;"
839 Expected:
840 | <html>
841 |   <head>
842 |   <body>
843 |     "𝕂"
844
845 Test 11 of 24 in resources/html5test-com.dat failed. Input:
846 &notinva;
847 Got:
848 | <html>
849 |   <head>
850 |   <body>
851 |     "&notinva;"
852 Expected:
853 | <html>
854 |   <head>
855 |   <body>
856 |     "∉"
857 resources/entities01.dat:
858 2
859 5
860
861 Test 2 of 68 in resources/entities01.dat failed. Input:
862 FOO&gtBAR
863 Got:
864 | <html>
865 |   <head>
866 |   <body>
867 |     "FOO&gtBAR"
868 Expected:
869 | <html>
870 |   <head>
871 |   <body>
872 |     "FOO>BAR"
873
874 Test 5 of 68 in resources/entities01.dat failed. Input:
875 I'm &notit; I tell you
876 Got:
877 | <html>
878 |   <head>
879 |   <body>
880 |     "I'm &notit; I tell you"
881 Expected:
882 | <html>
883 |   <head>
884 |   <body>
885 |     "I'm ¬it; I tell you"
886 resources/entities02.dat: PASS
887
888 resources/comments01.dat: PASS
889
890 resources/adoption01.dat:
891 3
892 12
893
894 Test 3 of 12 in resources/adoption01.dat failed. Input:
895 <a>1<button>2</a>3</button>
896 Got:
897 | <html>
898 |   <head>
899 |   <body>
900 |     <a>
901 |       "1"
902 |       <button>
903 |         "23"
904 Expected:
905 | <html>
906 |   <head>
907 |   <body>
908 |     <a>
909 |       "1"
910 |     <button>
911 |       <a>
912 |         "2"
913 |       "3"
914
915 Test 12 of 12 in resources/adoption01.dat failed. Input:
916 <table>A<td>B</td>C</table>
917 Got:
918 | <html>
919 |   <head>
920 |   <body>
921 |     "AC"
922 |     <table>
923 |       <tbody>
924 |         <tr>
925 |           <td>
926 |             "B"
927 Expected:
928 | <html>
929 |   <head>
930 |   <body>
931 |     "A"
932 |     "C"
933 |     <table>
934 |       <tbody>
935 |         <tr>
936 |           <td>
937 |             "B"
938 resources/adoption02.dat:
939 2
940
941 Test 2 of 2 in resources/adoption02.dat failed. Input:
942 <b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
943 Got:
944 | <html>
945 |   <head>
946 |   <body>
947 |     <b>
948 |       id="c"
949 |       "1"
950 |       <i>
951 |         id="j"
952 |         "2"
953 |     <i>
954 |       id="j"
955 |       <p>
956 |         <b>
957 |           id="c"
958 |           "3"
959 |           <script>
960 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
961 |         "4"
962 Expected:
963 | <html>
964 |   <head>
965 |   <body>
966 |     <b>
967 |       id="c"
968 |       "1"
969 |       <i>
970 |         id="j"
971 |         "2"
972 |     <i>
973 |       id="i"
974 |       <p>
975 |         <b>
976 |           id="b"
977 |           "3"
978 |           <script>
979 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
980 |         "4"
981 resources/inbody01.dat: PASS
982
983 resources/isindex.dat: PASS
984
985 resources/tables01.dat: PASS
986
987 resources/tricky01.dat: PASS
988
989 resources/scripted/adoption01.dat:
990 1
991
992 Test 1 of 1 in resources/scripted/adoption01.dat failed. Input:
993 <p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
994 Got:
995 | <html>
996 |   <head>
997 |   <body>
998 |     <p>
999 |       <b>
1000 |         id="B"
1001 |         <script>
1002 |           "document.getElementById("A").id = "B""
1003 |     <b>
1004 |       id="B"
1005 |       "TEXT"
1006 Expected:
1007 | <html>
1008 |   <head>
1009 |   <body>
1010 |     <p>
1011 |       <b>
1012 |         id="B"
1013 |         <script>
1014 |           "document.getElementById("A").id = "B""
1015 |     <b>
1016 |       id="A"
1017 |       "TEXT"
1018 resources/scripted/webkit01.dat: PASS
1019 #EOF