8e4cb60e14d34ff801d1df11e2e505099b1c1021
[WebKit-https.git] / LayoutTests / html5lib / runner-expected-html5.txt
1 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
2 CONSOLE MESSAGE: line 2: PASS
3 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
4 Content-Type: text/plain
5 resources/tests1.dat:
6 20
7 21
8 22
9 23
10 24
11 25
12 28
13 29
14 30
15 31
16 32
17 33
18 34
19 50
20 51
21 53
22 56
23 57
24 58
25 59
26 60
27 61
28 67
29 68
30 69
31 70
32 71
33 72
34 73
35 74
36 75
37 76
38 78
39 79
40 80
41 81
42 82
43 86
44 90
45 93
46 94
47 95
48 96
49 97
50 98
51 100
52 101
53 103
54 104
55 107
56 108
57 109
58 110
59 111
60 112
61
62 Test 20 of 113 in resources/tests1.dat failed. Input:
63 <b><table><td><i></table>
64 Got:
65 | <html>
66 |   <head>
67 |   <body>
68 |     <b>
69 |       <table>
70 Expected:
71 | <html>
72 |   <head>
73 |   <body>
74 |     <b>
75 |       <table>
76 |         <tbody>
77 |           <tr>
78 |             <td>
79 |               <i>
80
81 Test 21 of 113 in resources/tests1.dat failed. Input:
82 <b><table><td></b><i></table>X
83 Got:
84 | <html>
85 |   <head>
86 |   <body>
87 |     <b>
88 |       <table>
89 Expected:
90 | <html>
91 |   <head>
92 |   <body>
93 |     <b>
94 |       <table>
95 |         <tbody>
96 |           <tr>
97 |             <td>
98 |               <i>
99 |       "X"
100
101 Test 22 of 113 in resources/tests1.dat failed. Input:
102 <h1>Hello<h2>World
103 Got:
104 | <html>
105 |   <head>
106 |   <body>
107 |     <h1>
108 |       "Hello"
109 |       <h2>
110 |         "World"
111 Expected:
112 | <html>
113 |   <head>
114 |   <body>
115 |     <h1>
116 |       "Hello"
117 |     <h2>
118 |       "World"
119
120 Test 23 of 113 in resources/tests1.dat failed. Input:
121 <a><p>X<a>Y</a>Z</p></a>
122 Got:
123 | <html>
124 |   <head>
125 |   <body>
126 |     <a>
127 |       <p>
128 |         "X"
129 |         <a>
130 |           <a>
131 |             "Y"
132 |           "Z"
133 Expected:
134 | <html>
135 |   <head>
136 |   <body>
137 |     <a>
138 |     <p>
139 |       <a>
140 |         "X"
141 |       <a>
142 |         "Y"
143 |       "Z"
144
145 Test 24 of 113 in resources/tests1.dat failed. Input:
146 <b><button></b></button></b>
147 Got:
148 | <html>
149 |   <head>
150 |   <body>
151 |     <b>
152 |       <b>
153 |         <button>
154 Expected:
155 | <html>
156 |   <head>
157 |   <body>
158 |     <b>
159 |       <button>
160
161 Test 25 of 113 in resources/tests1.dat failed. Input:
162 <p><b><div><marquee></p></b></div>X
163 Got:
164 | <html>
165 |   <head>
166 |   <body>
167 |     <p>
168 |       <b>
169 |     <div>
170 |       <marquee>
171 |         "X"
172 Expected:
173 | <html>
174 |   <head>
175 |   <body>
176 |     <p>
177 |       <b>
178 |     <div>
179 |       <b>
180 |         <marquee>
181 |           <p>
182 |           "X"
183
184 Test 28 of 113 in resources/tests1.dat failed. Input:
185 <p><hr></p>
186 Got:
187 | <html>
188 |   <head>
189 |   <body>
190 |     <p>
191 |     <hr>
192 Expected:
193 | <html>
194 |   <head>
195 |   <body>
196 |     <p>
197 |     <hr>
198 |     <p>
199
200 Test 29 of 113 in resources/tests1.dat failed. Input:
201 <select><b><option><select><option></b></select>X
202 Got:
203 | <html>
204 |   <head>
205 |   <body>
206 |     <select>
207 Expected:
208 | <html>
209 |   <head>
210 |   <body>
211 |     <select>
212 |       <option>
213 |     <option>
214 |       "X"
215
216 Test 30 of 113 in resources/tests1.dat failed. Input:
217 <a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y
218 Got:
219 | <html>
220 |   <head>
221 |   <body>
222 |     <a>
223 |       <table>
224 Expected:
225 | <html>
226 |   <head>
227 |   <body>
228 |     <a>
229 |       <a>
230 |       <table>
231 |         <tbody>
232 |           <tr>
233 |             <td>
234 |               <a>
235 |                 <table>
236 |               <a>
237 |     <a>
238 |       <b>
239 |         "X"
240 |       "C"
241 |     <a>
242 |       "Y"
243
244 Test 31 of 113 in resources/tests1.dat failed. Input:
245 <a X>0<b>1<a Y>2
246 Got:
247 | <html>
248 |   <head>
249 |   <body>
250 |     <a>
251 |       x=""
252 |       "0"
253 |       <a>
254 |         <b>
255 |           "1"
256 |           <b>
257 |             <a>
258 |               y=""
259 |               "2"
260 Expected:
261 | <html>
262 |   <head>
263 |   <body>
264 |     <a>
265 |       x=""
266 |       "0"
267 |       <b>
268 |         "1"
269 |     <b>
270 |       <a>
271 |         y=""
272 |         "2"
273
274 Test 32 of 113 in resources/tests1.dat failed. Input:
275 <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
276 Got:
277 | <!-- - -->
278 | <html>
279 |   <head>
280 |   <body>
281 |     <font>
282 |       <div>
283 |         "hello"
284 |         <table>
285 |           <!-- X -->
286 Expected:
287 | <!-- - -->
288 | <html>
289 |   <head>
290 |   <body>
291 |     <font>
292 |       <div>
293 |         "helloexcite!"
294 |         <b>
295 |           "me!"
296 |         <table>
297 |           <tbody>
298 |             <tr>
299 |               <th>
300 |                 <i>
301 |                   "please!"
302 |             <!-- X -->
303
304 Test 33 of 113 in resources/tests1.dat failed. Input:
305 <!DOCTYPE html><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->
306 Got:
307 | <!DOCTYPE html>
308 | <html>
309 |   <head>
310 |   <body>
311 |     <li>
312 |       "hello"
313 |       <li>
314 |         "world"
315 |         <ul>
316 |           "how"
317 |           <li>
318 |             "do"
319 |         "you"
320 |   <!-- do -->
321 Expected:
322 | <!DOCTYPE html>
323 | <html>
324 |   <head>
325 |   <body>
326 |     <li>
327 |       "hello"
328 |     <li>
329 |       "world"
330 |       <ul>
331 |         "how"
332 |         <li>
333 |           "do"
334 |       "you"
335 |   <!-- do -->
336
337 Test 34 of 113 in resources/tests1.dat failed. Input:
338 <!DOCTYPE html>A<option>B<optgroup>C<select>D</option>E
339 Got:
340 | <!DOCTYPE html>
341 | <html>
342 |   <head>
343 |   <body>
344 |     "A"
345 |     <option>
346 |       "B"
347 |     <optgroup>
348 |       "C"
349 |       <select>
350 Expected:
351 | <!DOCTYPE html>
352 | <html>
353 |   <head>
354 |   <body>
355 |     "A"
356 |     <option>
357 |       "B"
358 |     <optgroup>
359 |       "C"
360 |       <select>
361 |         "DE"
362
363 Test 50 of 113 in resources/tests1.dat failed. Input:
364 <!DOCTYPE html><script> <!-- </script> --> </script> EOF
365 Got:
366 | <!DOCTYPE html>
367 | <html>
368 |   <head>
369 |     <script>
370 |       " <!-- "
371 |   <body>
372 |     " --> "
373 |     " EOF"
374 Expected:
375 | <!DOCTYPE html>
376 | <html>
377 |   <head>
378 |     <script>
379 |       " <!-- "
380 |     " "
381 |   <body>
382 |     "-->  EOF"
383
384 Test 51 of 113 in resources/tests1.dat failed. Input:
385 <b><p></b>TEST
386 Got:
387 | <html>
388 |   <head>
389 |   <body>
390 |     <b>
391 |     <p>
392 |       <b>
393 |         "TEST"
394 Expected:
395 | <html>
396 |   <head>
397 |   <body>
398 |     <b>
399 |     <p>
400 |       <b>
401 |       "TEST"
402
403 Test 53 of 113 in resources/tests1.dat failed. Input:
404 <b id=a><p><b id=b></p></b>TEST
405 Got:
406 | <html>
407 |   <head>
408 |   <body>
409 |     <b>
410 |       id="a"
411 |       <p>
412 |         <b>
413 |           <b>
414 |             id="b"
415 |       "TEST"
416 Expected:
417 | <html>
418 |   <head>
419 |   <body>
420 |     <b>
421 |       id="a"
422 |       <p>
423 |         <b>
424 |           id="b"
425 |       "TEST"
426
427 Test 56 of 113 in resources/tests1.dat failed. Input:
428 <font><p>hello<b>cruel</font>world
429 Got:
430 | <html>
431 |   <head>
432 |   <body>
433 |     <font>
434 |       <p>
435 |         "hello"
436 |         <font>
437 |           <b>
438 |             "cruel"
439 |         "world"
440 Expected:
441 | <html>
442 |   <head>
443 |   <body>
444 |     <font>
445 |     <p>
446 |       <font>
447 |         "hello"
448 |         <b>
449 |           "cruel"
450 |       <b>
451 |         "world"
452
453 Test 57 of 113 in resources/tests1.dat failed. Input:
454 <b>Test</i>Test
455 Got:
456 | <html>
457 |   <head>
458 |   <body>
459 |     <b>
460 |       "Test"
461 |       "Test"
462 Expected:
463 | <html>
464 |   <head>
465 |   <body>
466 |     <b>
467 |       "TestTest"
468
469 Test 58 of 113 in resources/tests1.dat failed. Input:
470 <b>A<cite>B<div>C
471 Got:
472 | <html>
473 |   <head>
474 |   <body>
475 |     <b>
476 |       "A"
477 |       <b>
478 |         <cite>
479 |           "B"
480 |           <div>
481 |             "C"
482 Expected:
483 | <html>
484 |   <head>
485 |   <body>
486 |     <b>
487 |       "A"
488 |       <cite>
489 |         "B"
490 |         <div>
491 |           "C"
492
493 Test 59 of 113 in resources/tests1.dat failed. Input:
494 <b>A<cite>B<div>C</cite>D
495 Got:
496 | <html>
497 |   <head>
498 |   <body>
499 |     <b>
500 |       "A"
501 |       <b>
502 |         <cite>
503 |           "B"
504 |           <div>
505 |             "C"
506 |             "D"
507 Expected:
508 | <html>
509 |   <head>
510 |   <body>
511 |     <b>
512 |       "A"
513 |       <cite>
514 |         "B"
515 |         <div>
516 |           "CD"
517
518 Test 60 of 113 in resources/tests1.dat failed. Input:
519 <b>A<cite>B<div>C</b>D
520 Got:
521 | <html>
522 |   <head>
523 |   <body>
524 |     <b>
525 |       "A"
526 |       <b>
527 |         <cite>
528 |           "B"
529 |       <div>
530 |         <b>
531 |           "C"
532 |           "D"
533 Expected:
534 | <html>
535 |   <head>
536 |   <body>
537 |     <b>
538 |       "A"
539 |       <cite>
540 |         "B"
541 |     <div>
542 |       <b>
543 |         "C"
544 |       "D"
545
546 Test 61 of 113 in resources/tests1.dat failed. Input:
547 <cite><b><cite><i><cite><i><cite><i><div>X</b>TEST
548 Got:
549 | <html>
550 |   <head>
551 |   <body>
552 |     <cite>
553 |       <b>
554 |         <b>
555 |           <cite>
556 |             <b>
557 |               <i>
558 |                 <i>
559 |                   <cite>
560 |                     <i>
561 |                       <i>
562 |                         <i>
563 |                           <cite>
564 |                             <i>
565 |                               <i>
566 |             <i>
567 |               <i>
568 |                 <i>
569 |                   <div>
570 |                     <b>
571 |                       "X"
572 |                       "TEST"
573 Expected:
574 | <html>
575 |   <head>
576 |   <body>
577 |     <cite>
578 |       <b>
579 |         <cite>
580 |           <i>
581 |             <cite>
582 |               <i>
583 |                 <cite>
584 |                   <i>
585 |       <i>
586 |         <i>
587 |           <i>
588 |             <div>
589 |               <b>
590 |                 "X"
591 |               "TEST"
592
593 Test 67 of 113 in resources/tests1.dat failed. Input:
594 <DIV> abc <B> def <I>
595 Got:
596 | <html>
597 |   <head>
598 |   <body>
599 |     <div>
600 |       " abc "
601 |       <b>
602 |         " def "
603 |         <b>
604 |           <i>
605 Expected:
606 | <html>
607 |   <head>
608 |   <body>
609 |     <div>
610 |       " abc "
611 |       <b>
612 |         " def "
613 |         <i>
614
615 Test 68 of 113 in resources/tests1.dat failed. Input:
616 <DIV> abc <B> def <I> ghi
617 Got:
618 | <html>
619 |   <head>
620 |   <body>
621 |     <div>
622 |       " abc "
623 |       <b>
624 |         " def "
625 |         <b>
626 |           <i>
627 |             " ghi"
628 Expected:
629 | <html>
630 |   <head>
631 |   <body>
632 |     <div>
633 |       " abc "
634 |       <b>
635 |         " def "
636 |         <i>
637 |           " ghi"
638
639 Test 69 of 113 in resources/tests1.dat failed. Input:
640 <DIV> abc <B> def <I> ghi <P>
641 Got:
642 | <html>
643 |   <head>
644 |   <body>
645 |     <div>
646 |       " abc "
647 |       <b>
648 |         " def "
649 |         <b>
650 |           <i>
651 |             " ghi "
652 |             <p>
653 Expected:
654 | <html>
655 |   <head>
656 |   <body>
657 |     <div>
658 |       " abc "
659 |       <b>
660 |         " def "
661 |         <i>
662 |           " ghi "
663 |           <p>
664
665 Test 70 of 113 in resources/tests1.dat failed. Input:
666 <DIV> abc <B> def <I> ghi <P> jkl
667 Got:
668 | <html>
669 |   <head>
670 |   <body>
671 |     <div>
672 |       " abc "
673 |       <b>
674 |         " def "
675 |         <b>
676 |           <i>
677 |             " ghi "
678 |             <p>
679 |               " jkl"
680 Expected:
681 | <html>
682 |   <head>
683 |   <body>
684 |     <div>
685 |       " abc "
686 |       <b>
687 |         " def "
688 |         <i>
689 |           " ghi "
690 |           <p>
691 |             " jkl"
692
693 Test 71 of 113 in resources/tests1.dat failed. Input:
694 <DIV> abc <B> def <I> ghi <P> jkl </B>
695 Got:
696 | <html>
697 |   <head>
698 |   <body>
699 |     <div>
700 |       " abc "
701 |       <b>
702 |         " def "
703 |         <b>
704 |           <i>
705 |             " ghi "
706 |         <i>
707 |           <p>
708 |             <b>
709 |               " jkl "
710 Expected:
711 | <html>
712 |   <head>
713 |   <body>
714 |     <div>
715 |       " abc "
716 |       <b>
717 |         " def "
718 |         <i>
719 |           " ghi "
720 |       <i>
721 |         <p>
722 |           <b>
723 |             " jkl "
724
725 Test 72 of 113 in resources/tests1.dat failed. Input:
726 <DIV> abc <B> def <I> ghi <P> jkl </B> mno
727 Got:
728 | <html>
729 |   <head>
730 |   <body>
731 |     <div>
732 |       " abc "
733 |       <b>
734 |         " def "
735 |         <b>
736 |           <i>
737 |             " ghi "
738 |         <i>
739 |           <p>
740 |             <b>
741 |               " jkl "
742 |               " mno"
743 Expected:
744 | <html>
745 |   <head>
746 |   <body>
747 |     <div>
748 |       " abc "
749 |       <b>
750 |         " def "
751 |         <i>
752 |           " ghi "
753 |       <i>
754 |         <p>
755 |           <b>
756 |             " jkl "
757 |           " mno"
758
759 Test 73 of 113 in resources/tests1.dat failed. Input:
760 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I>
761 Got:
762 | <html>
763 |   <head>
764 |   <body>
765 |     <div>
766 |       " abc "
767 |       <b>
768 |         " def "
769 |         <b>
770 |           <i>
771 |             " ghi "
772 |         <i>
773 |         <p>
774 |           <i>
775 |             <b>
776 |               " jkl "
777 |               " mno "
778 Expected:
779 | <html>
780 |   <head>
781 |   <body>
782 |     <div>
783 |       " abc "
784 |       <b>
785 |         " def "
786 |         <i>
787 |           " ghi "
788 |       <i>
789 |       <p>
790 |         <i>
791 |           <b>
792 |             " jkl "
793 |           " mno "
794
795 Test 74 of 113 in resources/tests1.dat failed. Input:
796 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr
797 Got:
798 | <html>
799 |   <head>
800 |   <body>
801 |     <div>
802 |       " abc "
803 |       <b>
804 |         " def "
805 |         <b>
806 |           <i>
807 |             " ghi "
808 |         <i>
809 |         <p>
810 |           <i>
811 |             <b>
812 |               " jkl "
813 |               " mno "
814 |               " pqr"
815 Expected:
816 | <html>
817 |   <head>
818 |   <body>
819 |     <div>
820 |       " abc "
821 |       <b>
822 |         " def "
823 |         <i>
824 |           " ghi "
825 |       <i>
826 |       <p>
827 |         <i>
828 |           <b>
829 |             " jkl "
830 |           " mno "
831 |         " pqr"
832
833 Test 75 of 113 in resources/tests1.dat failed. Input:
834 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P>
835 Got:
836 | <html>
837 |   <head>
838 |   <body>
839 |     <div>
840 |       " abc "
841 |       <b>
842 |         " def "
843 |         <b>
844 |           <i>
845 |             " ghi "
846 |         <i>
847 |         <p>
848 |           <i>
849 |             <b>
850 |               " jkl "
851 |               " mno "
852 |               " pqr "
853 Expected:
854 | <html>
855 |   <head>
856 |   <body>
857 |     <div>
858 |       " abc "
859 |       <b>
860 |         " def "
861 |         <i>
862 |           " ghi "
863 |       <i>
864 |       <p>
865 |         <i>
866 |           <b>
867 |             " jkl "
868 |           " mno "
869 |         " pqr "
870
871 Test 76 of 113 in resources/tests1.dat failed. Input:
872 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P> stu
873 Got:
874 | <html>
875 |   <head>
876 |   <body>
877 |     <div>
878 |       " abc "
879 |       <b>
880 |         " def "
881 |         <b>
882 |           <i>
883 |             " ghi "
884 |         <i>
885 |         <p>
886 |           <i>
887 |             <b>
888 |               " jkl "
889 |               " mno "
890 |               " pqr "
891 |         " stu"
892 Expected:
893 | <html>
894 |   <head>
895 |   <body>
896 |     <div>
897 |       " abc "
898 |       <b>
899 |         " def "
900 |         <i>
901 |           " ghi "
902 |       <i>
903 |       <p>
904 |         <i>
905 |           <b>
906 |             " jkl "
907 |           " mno "
908 |         " pqr "
909 |       " stu"
910
911 Test 78 of 113 in resources/tests1.dat failed. Input:
912 <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe
913 Got:
914 | <html>
915 |   <head>
916 |   <body>
917 |     <a>
918 |       href="blah"
919 |       "aba"
920 |       <table>
921 Expected:
922 | <html>
923 |   <head>
924 |   <body>
925 |     <a>
926 |       href="blah"
927 |       "aba"
928 |       <a>
929 |         href="foo"
930 |         "br"
931 |       <a>
932 |         href="foo"
933 |         "x"
934 |       <table>
935 |         <tbody>
936 |           <tr>
937 |             <td>
938 |     <a>
939 |       href="foo"
940 |       "aoe"
941
942 Test 79 of 113 in resources/tests1.dat failed. Input:
943 <a href="blah">aba<table><tr><td><a href="foo">br</td></tr>x</table>aoe
944 Got:
945 | <html>
946 |   <head>
947 |   <body>
948 |     <a>
949 |       href="blah"
950 |       "aba"
951 |       <table>
952 Expected:
953 | <html>
954 |   <head>
955 |   <body>
956 |     <a>
957 |       href="blah"
958 |       "abax"
959 |       <table>
960 |         <tbody>
961 |           <tr>
962 |             <td>
963 |               <a>
964 |                 href="foo"
965 |                 "br"
966 |       "aoe"
967
968 Test 80 of 113 in resources/tests1.dat failed. Input:
969 <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe
970 Got:
971 | <html>
972 |   <head>
973 |   <body>
974 |     <table>
975 Expected:
976 | <html>
977 |   <head>
978 |   <body>
979 |     <a>
980 |       href="blah"
981 |       "aba"
982 |     <a>
983 |       href="blah"
984 |       "x"
985 |     <table>
986 |       <tbody>
987 |         <tr>
988 |           <td>
989 |             <a>
990 |               href="foo"
991 |               "br"
992 |     <a>
993 |       href="blah"
994 |       "aoe"
995
996 Test 81 of 113 in resources/tests1.dat failed. Input:
997 <a href=a>aa<marquee>aa<a href=b>bb</marquee>aa
998 Got:
999 | <html>
1000 |   <head>
1001 |   <body>
1002 |     <a>
1003 |       href="a"
1004 |       "aa"
1005 |       <a>
1006 |         <marquee>
1007 |           "aa"
1008 |           <a>
1009 |             <a>
1010 |               href="b"
1011 |               "bb"
1012 |         "aa"
1013 Expected:
1014 | <html>
1015 |   <head>
1016 |   <body>
1017 |     <a>
1018 |       href="a"
1019 |       "aa"
1020 |       <marquee>
1021 |         "aa"
1022 |         <a>
1023 |           href="b"
1024 |           "bb"
1025 |       "aa"
1026
1027 Test 82 of 113 in resources/tests1.dat failed. Input:
1028 <wbr><strike><code></strike><code><strike></code>
1029 Got:
1030 | <html>
1031 |   <head>
1032 |   <body>
1033 |     <wbr>
1034 |     <strike>
1035 |       <strike>
1036 |         <code>
1037 |       <code>
1038 |         <code>
1039 |           <strike>
1040 Expected:
1041 | <html>
1042 |   <head>
1043 |   <body>
1044 |     <wbr>
1045 |     <strike>
1046 |       <code>
1047 |     <code>
1048 |       <code>
1049 |         <strike>
1050
1051 Test 86 of 113 in resources/tests1.dat failed. Input:
1052 <table><tr><tr><td><td><span><th><span>X</table>
1053 Got:
1054 | <html>
1055 |   <head>
1056 |   <body>
1057 |     <table>
1058 Expected:
1059 | <html>
1060 |   <head>
1061 |   <body>
1062 |     <table>
1063 |       <tbody>
1064 |         <tr>
1065 |         <tr>
1066 |           <td>
1067 |           <td>
1068 |             <span>
1069 |           <th>
1070 |             <span>
1071 |               "X"
1072
1073 Test 90 of 113 in resources/tests1.dat failed. Input:
1074 <a><table><a></table><p><a><div><a>
1075 Got:
1076 | <html>
1077 |   <head>
1078 |   <body>
1079 |     <a>
1080 |       <table>
1081 Expected:
1082 | <html>
1083 |   <head>
1084 |   <body>
1085 |     <a>
1086 |       <a>
1087 |       <table>
1088 |     <p>
1089 |       <a>
1090 |     <div>
1091 |       <a>
1092
1093 Test 93 of 113 in resources/tests1.dat failed. Input:
1094 <b><table><td><i></table>
1095 Got:
1096 | <html>
1097 |   <head>
1098 |   <body>
1099 |     <b>
1100 |       <table>
1101 Expected:
1102 | <html>
1103 |   <head>
1104 |   <body>
1105 |     <b>
1106 |       <table>
1107 |         <tbody>
1108 |           <tr>
1109 |             <td>
1110 |               <i>
1111
1112 Test 94 of 113 in resources/tests1.dat failed. Input:
1113 <b><table><td></b><i></table>
1114 Got:
1115 | <html>
1116 |   <head>
1117 |   <body>
1118 |     <b>
1119 |       <table>
1120 Expected:
1121 | <html>
1122 |   <head>
1123 |   <body>
1124 |     <b>
1125 |       <table>
1126 |         <tbody>
1127 |           <tr>
1128 |             <td>
1129 |               <i>
1130
1131 Test 95 of 113 in resources/tests1.dat failed. Input:
1132 <h1><h2>
1133 Got:
1134 | <html>
1135 |   <head>
1136 |   <body>
1137 |     <h1>
1138 |       <h2>
1139 Expected:
1140 | <html>
1141 |   <head>
1142 |   <body>
1143 |     <h1>
1144 |     <h2>
1145
1146 Test 96 of 113 in resources/tests1.dat failed. Input:
1147 <a><p><a></a></p></a>
1148 Got:
1149 | <html>
1150 |   <head>
1151 |   <body>
1152 |     <a>
1153 |       <p>
1154 |         <a>
1155 |           <a>
1156 Expected:
1157 | <html>
1158 |   <head>
1159 |   <body>
1160 |     <a>
1161 |     <p>
1162 |       <a>
1163 |       <a>
1164
1165 Test 97 of 113 in resources/tests1.dat failed. Input:
1166 <b><button></b></button></b>
1167 Got:
1168 | <html>
1169 |   <head>
1170 |   <body>
1171 |     <b>
1172 |       <b>
1173 |         <button>
1174 Expected:
1175 | <html>
1176 |   <head>
1177 |   <body>
1178 |     <b>
1179 |       <button>
1180
1181 Test 98 of 113 in resources/tests1.dat failed. Input:
1182 <p><b><div><marquee></p></b></div>
1183 Got:
1184 | <html>
1185 |   <head>
1186 |   <body>
1187 |     <p>
1188 |       <b>
1189 |     <div>
1190 |       <marquee>
1191 Expected:
1192 | <html>
1193 |   <head>
1194 |   <body>
1195 |     <p>
1196 |       <b>
1197 |     <div>
1198 |       <b>
1199 |         <marquee>
1200 |           <p>
1201
1202 Test 100 of 113 in resources/tests1.dat failed. Input:
1203 <p><hr></p>
1204 Got:
1205 | <html>
1206 |   <head>
1207 |   <body>
1208 |     <p>
1209 |     <hr>
1210 Expected:
1211 | <html>
1212 |   <head>
1213 |   <body>
1214 |     <p>
1215 |     <hr>
1216 |     <p>
1217
1218 Test 101 of 113 in resources/tests1.dat failed. Input:
1219 <select><b><option><select><option></b></select>
1220 Got:
1221 | <html>
1222 |   <head>
1223 |   <body>
1224 |     <select>
1225 Expected:
1226 | <html>
1227 |   <head>
1228 |   <body>
1229 |     <select>
1230 |       <option>
1231 |     <option>
1232
1233 Test 103 of 113 in resources/tests1.dat failed. Input:
1234 <a><table><td><a><table></table><a></tr><a></table><a>
1235 Got:
1236 | <html>
1237 |   <head>
1238 |   <body>
1239 |     <a>
1240 |       <table>
1241 Expected:
1242 | <html>
1243 |   <head>
1244 |   <body>
1245 |     <a>
1246 |       <a>
1247 |       <table>
1248 |         <tbody>
1249 |           <tr>
1250 |             <td>
1251 |               <a>
1252 |                 <table>
1253 |               <a>
1254 |     <a>
1255
1256 Test 104 of 113 in resources/tests1.dat failed. Input:
1257 <ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>
1258 Got:
1259 | <html>
1260 |   <head>
1261 |   <body>
1262 |     <ul>
1263 |       <li>
1264 |       <div>
1265 |         <li>
1266 |       <li>
1267 |         <li>
1268 |           <div>
1269 |             <li>
1270 |               <address>
1271 |                 <li>
1272 |                   <b>
1273 |                     <b>
1274 |                       <em>
1275 |                     <li>
1276 Expected:
1277 | <html>
1278 |   <head>
1279 |   <body>
1280 |     <ul>
1281 |       <li>
1282 |       <div>
1283 |         <li>
1284 |       <li>
1285 |       <li>
1286 |         <div>
1287 |       <li>
1288 |         <address>
1289 |       <li>
1290 |         <b>
1291 |           <em>
1292 |       <li>
1293
1294 Test 107 of 113 in resources/tests1.dat failed. Input:
1295 <h1><table><td><h3></table><h3></h1>
1296 Got:
1297 | <html>
1298 |   <head>
1299 |   <body>
1300 |     <h1>
1301 |       <table>
1302 Expected:
1303 | <html>
1304 |   <head>
1305 |   <body>
1306 |     <h1>
1307 |       <table>
1308 |         <tbody>
1309 |           <tr>
1310 |             <td>
1311 |               <h3>
1312 |     <h3>
1313
1314 Test 108 of 113 in resources/tests1.dat failed. Input:
1315 <table><colgroup><col><colgroup><col><col><col><colgroup><col><col><thead><tr><td></table>
1316 Got:
1317 | <html>
1318 |   <head>
1319 |   <body>
1320 |     <table>
1321 |       <colgroup>
1322 Expected:
1323 | <html>
1324 |   <head>
1325 |   <body>
1326 |     <table>
1327 |       <colgroup>
1328 |         <col>
1329 |       <colgroup>
1330 |         <col>
1331 |         <col>
1332 |         <col>
1333 |       <colgroup>
1334 |         <col>
1335 |         <col>
1336 |       <thead>
1337 |         <tr>
1338 |           <td>
1339
1340 Test 109 of 113 in resources/tests1.dat failed. Input:
1341 <table><col><tbody><col><tr><col><td><col></table><col>
1342 Got:
1343 | <html>
1344 |   <head>
1345 |   <body>
1346 |     <table>
1347 |       <tbody>
1348 |         <tr>
1349 Expected:
1350 | <html>
1351 |   <head>
1352 |   <body>
1353 |     <table>
1354 |       <colgroup>
1355 |         <col>
1356 |       <tbody>
1357 |       <colgroup>
1358 |         <col>
1359 |       <tbody>
1360 |         <tr>
1361 |       <colgroup>
1362 |         <col>
1363 |       <tbody>
1364 |         <tr>
1365 |           <td>
1366 |       <colgroup>
1367 |         <col>
1368
1369 Test 110 of 113 in resources/tests1.dat failed. Input:
1370 <table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>
1371 Got:
1372 | <html>
1373 |   <head>
1374 |   <body>
1375 |     <table>
1376 |       <colgroup>
1377 Expected:
1378 | <html>
1379 |   <head>
1380 |   <body>
1381 |     <table>
1382 |       <colgroup>
1383 |       <tbody>
1384 |       <colgroup>
1385 |       <tbody>
1386 |         <tr>
1387 |       <colgroup>
1388 |       <tbody>
1389 |         <tr>
1390 |           <td>
1391 |       <colgroup>
1392
1393 Test 111 of 113 in resources/tests1.dat failed. Input:
1394 </strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>
1395 Got:
1396 | <html>
1397 |   <head>
1398 |   <body>
1399 |     <br>
1400 Expected:
1401 | <html>
1402 |   <head>
1403 |   <body>
1404 |     <br>
1405 |     <p>
1406
1407 Test 112 of 113 in resources/tests1.dat failed. Input:
1408 <table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>
1409 Got:
1410 | <html>
1411 |   <head>
1412 |   <body>
1413 |     <table>
1414 Expected:
1415 | <html>
1416 |   <head>
1417 |   <body>
1418 |     <br>
1419 |     <table>
1420 |       <tbody>
1421 |         <tr>
1422 |     <p>
1423 resources/tests2.dat:
1424 3
1425 4
1426 8
1427 9
1428 11
1429 13
1430 32
1431 34
1432 35
1433 36
1434 37
1435 38
1436 42
1437 46
1438 47
1439 48
1440 49
1441 53
1442 54
1443 58
1444
1445 Test 3 of 59 in resources/tests2.dat failed. Input:
1446 <table><td>
1447 Got:
1448 | <html>
1449 |   <head>
1450 |   <body>
1451 |     <table>
1452 Expected:
1453 | <html>
1454 |   <head>
1455 |   <body>
1456 |     <table>
1457 |       <tbody>
1458 |         <tr>
1459 |           <td>
1460
1461 Test 4 of 59 in resources/tests2.dat failed. Input:
1462 <table><td>test</tbody></table>
1463 Got:
1464 | <html>
1465 |   <head>
1466 |   <body>
1467 |     <table>
1468 Expected:
1469 | <html>
1470 |   <head>
1471 |   <body>
1472 |     <table>
1473 |       <tbody>
1474 |         <tr>
1475 |           <td>
1476 |             "test"
1477
1478 Test 8 of 59 in resources/tests2.dat failed. Input:
1479 <!DOCTYPE html><font><p><b>test</font>
1480 Got:
1481 | <!DOCTYPE html>
1482 | <html>
1483 |   <head>
1484 |   <body>
1485 |     <font>
1486 |       <p>
1487 |         <font>
1488 |           <b>
1489 |             "test"
1490 Expected:
1491 | <!DOCTYPE html>
1492 | <html>
1493 |   <head>
1494 |   <body>
1495 |     <font>
1496 |     <p>
1497 |       <font>
1498 |         <b>
1499 |           "test"
1500
1501 Test 9 of 59 in resources/tests2.dat failed. Input:
1502 <!DOCTYPE html><dt><div><dd>
1503 Got:
1504 | <!DOCTYPE html>
1505 | <html>
1506 |   <head>
1507 |   <body>
1508 |     <dt>
1509 |       <div>
1510 |         <dd>
1511 Expected:
1512 | <!DOCTYPE html>
1513 | <html>
1514 |   <head>
1515 |   <body>
1516 |     <dt>
1517 |       <div>
1518 |     <dd>
1519
1520 Test 11 of 59 in resources/tests2.dat failed. Input:
1521 <table><plaintext><td>
1522 Got:
1523 | <html>
1524 |   <head>
1525 |   <body>
1526 |     <table>
1527 Expected:
1528 | <html>
1529 |   <head>
1530 |   <body>
1531 |     <plaintext>
1532 |       "<td>"
1533 |     <table>
1534
1535 Test 13 of 59 in resources/tests2.dat failed. Input:
1536 <!DOCTYPE html><table><tr>TEST
1537 Got:
1538 | <!DOCTYPE html>
1539 | <html>
1540 |   <head>
1541 |   <body>
1542 |     <table>
1543 Expected:
1544 | <!DOCTYPE html>
1545 | <html>
1546 |   <head>
1547 |   <body>
1548 |     "TEST"
1549 |     <table>
1550 |       <tbody>
1551 |         <tr>
1552
1553 Test 32 of 59 in resources/tests2.dat failed. Input:
1554 <!DOCTYPE html>X</body>X
1555 Got:
1556 | <!DOCTYPE html>
1557 | <html>
1558 |   <head>
1559 |   <body>
1560 |     "X"
1561 |     "X"
1562 Expected:
1563 | <!DOCTYPE html>
1564 | <html>
1565 |   <head>
1566 |   <body>
1567 |     "XX"
1568
1569 Test 34 of 59 in resources/tests2.dat failed. Input:
1570 <!DOCTYPE html><table><caption>test TEST</caption><td>test
1571 Got:
1572 | <!DOCTYPE html>
1573 | <html>
1574 |   <head>
1575 |   <body>
1576 |     <table>
1577 |       <caption>
1578 Expected:
1579 | <!DOCTYPE html>
1580 | <html>
1581 |   <head>
1582 |   <body>
1583 |     <table>
1584 |       <caption>
1585 |         "test TEST"
1586 |       <tbody>
1587 |         <tr>
1588 |           <td>
1589 |             "test"
1590
1591 Test 35 of 59 in resources/tests2.dat failed. Input:
1592 <!DOCTYPE html><select><option><optgroup>
1593 Got:
1594 | <!DOCTYPE html>
1595 | <html>
1596 |   <head>
1597 |   <body>
1598 |     <select>
1599 Expected:
1600 | <!DOCTYPE html>
1601 | <html>
1602 |   <head>
1603 |   <body>
1604 |     <select>
1605 |       <option>
1606 |       <optgroup>
1607
1608 Test 36 of 59 in resources/tests2.dat failed. Input:
1609 <!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
1610 Got:
1611 | <!DOCTYPE html>
1612 | <html>
1613 |   <head>
1614 |   <body>
1615 |     <select>
1616 Expected:
1617 | <!DOCTYPE html>
1618 | <html>
1619 |   <head>
1620 |   <body>
1621 |     <select>
1622 |       <optgroup>
1623 |         <option>
1624 |       <option>
1625 |     <option>
1626
1627 Test 37 of 59 in resources/tests2.dat failed. Input:
1628 <!DOCTYPE html><select><optgroup><option><optgroup>
1629 Got:
1630 | <!DOCTYPE html>
1631 | <html>
1632 |   <head>
1633 |   <body>
1634 |     <select>
1635 Expected:
1636 | <!DOCTYPE html>
1637 | <html>
1638 |   <head>
1639 |   <body>
1640 |     <select>
1641 |       <optgroup>
1642 |         <option>
1643 |       <optgroup>
1644
1645 Test 38 of 59 in resources/tests2.dat failed. Input:
1646 <!DOCTYPE html><font><input><input></font>
1647 Got:
1648 | <!DOCTYPE html>
1649 | <html>
1650 |   <head>
1651 |   <body>
1652 |     <font>
1653 |       <font>
1654 |         <input>
1655 |         <font>
1656 |           <input>
1657 Expected:
1658 | <!DOCTYPE html>
1659 | <html>
1660 |   <head>
1661 |   <body>
1662 |     <font>
1663 |       <input>
1664 |       <input>
1665
1666 Test 42 of 59 in resources/tests2.dat failed. Input:
1667 <isindex test=x name=x>
1668 Got:
1669 | <html>
1670 |   <head>
1671 |   <body>
1672 Expected:
1673 | <html>
1674 |   <head>
1675 |   <body>
1676 |     <form>
1677 |       <hr>
1678 |       <label>
1679 |         "This is a searchable index. Insert your search keywords here: "
1680 |         <input>
1681 |           name="isindex"
1682 |           test="x"
1683 |       <hr>
1684
1685 Test 46 of 59 in resources/tests2.dat failed. Input:
1686 <!DOCTYPE html><select><optgroup></optgroup></select>
1687 Got:
1688 | <!DOCTYPE html>
1689 | <html>
1690 |   <head>
1691 |   <body>
1692 |     <select>
1693 Expected:
1694 | <!DOCTYPE html>
1695 | <html>
1696 |   <head>
1697 |   <body>
1698 |     <select>
1699 |       <optgroup>
1700
1701 Test 47 of 59 in resources/tests2.dat failed. Input:
1702  
1703  
1704 Got:
1705 | <html>
1706 |   <head>
1707 |   <body>
1708 |     " 
1709  "
1710 Expected:
1711 | <html>
1712 |   <head>
1713 |   <body>
1714
1715 Test 48 of 59 in resources/tests2.dat failed. Input:
1716 <!DOCTYPE html>  <html>
1717 Got:
1718 | <!DOCTYPE html>
1719 | <html>
1720 |   <head>
1721 |   <body>
1722 |     "  "
1723 Expected:
1724 | <!DOCTYPE html>
1725 | <html>
1726 |   <head>
1727 |   <body>
1728
1729 Test 49 of 59 in resources/tests2.dat failed. Input:
1730 <!DOCTYPE html><script>
1731 </script>  <title>x</title>  </head>
1732 Got:
1733 | <!DOCTYPE html>
1734 | <html>
1735 |   <head>
1736 |     <script>
1737 |       "
1738 "
1739 |   <body>
1740 |     "  "
1741 |     <title>
1742 |       "x"
1743 |     "  "
1744 Expected:
1745 | <!DOCTYPE html>
1746 | <html>
1747 |   <head>
1748 |     <script>
1749 |       "
1750 "
1751 |     "  "
1752 |     <title>
1753 |       "x"
1754 |     "  "
1755 |   <body>
1756
1757 Test 53 of 59 in resources/tests2.dat failed. Input:
1758 <!DOCTYPE html>X</html>X
1759 Got:
1760 | <!DOCTYPE html>
1761 | <html>
1762 |   <head>
1763 |   <body>
1764 |     "X"
1765 |     "X"
1766 Expected:
1767 | <!DOCTYPE html>
1768 | <html>
1769 |   <head>
1770 |   <body>
1771 |     "XX"
1772
1773 Test 54 of 59 in resources/tests2.dat failed. Input:
1774 <!DOCTYPE html>X</html> 
1775 Got:
1776 | <!DOCTYPE html>
1777 | <html>
1778 |   <head>
1779 |   <body>
1780 |     "X"
1781 |     " "
1782 Expected:
1783 | <!DOCTYPE html>
1784 | <html>
1785 |   <head>
1786 |   <body>
1787 |     "X "
1788
1789 Test 58 of 59 in resources/tests2.dat failed. Input:
1790 <!DOCTYPE html><table><tr><td></p></table>
1791 Got:
1792 | <!DOCTYPE html>
1793 | <html>
1794 |   <head>
1795 |   <body>
1796 |     <table>
1797 Expected:
1798 | <!DOCTYPE html>
1799 | <html>
1800 |   <head>
1801 |   <body>
1802 |     <table>
1803 |       <tbody>
1804 |         <tr>
1805 |           <td>
1806 |             <p>
1807 resources/tests3.dat:
1808 16
1809 17
1810 18
1811 19
1812 20
1813 21
1814 22
1815
1816 Test 16 of 23 in resources/tests3.dat failed. Input:
1817 <!DOCTYPE html><textarea>
1818 </textarea>
1819 Got:
1820 | <!DOCTYPE html>
1821 | <html>
1822 |   <head>
1823 |   <body>
1824 |     <textarea>
1825 |       "
1826 "
1827 Expected:
1828 | <!DOCTYPE html>
1829 | <html>
1830 |   <head>
1831 |   <body>
1832 |     <textarea>
1833
1834 Test 17 of 23 in resources/tests3.dat failed. Input:
1835 <!DOCTYPE html><textarea>
1836 foo</textarea>
1837 Got:
1838 | <!DOCTYPE html>
1839 | <html>
1840 |   <head>
1841 |   <body>
1842 |     <textarea>
1843 |       "
1844 foo"
1845 Expected:
1846 | <!DOCTYPE html>
1847 | <html>
1848 |   <head>
1849 |   <body>
1850 |     <textarea>
1851 |       "foo"
1852
1853 Test 18 of 23 in resources/tests3.dat failed. Input:
1854 <!DOCTYPE html><textarea>
1855
1856 foo</textarea>
1857 Got:
1858 | <!DOCTYPE html>
1859 | <html>
1860 |   <head>
1861 |   <body>
1862 |     <textarea>
1863 |       "
1864
1865 foo"
1866 Expected:
1867 | <!DOCTYPE html>
1868 | <html>
1869 |   <head>
1870 |   <body>
1871 |     <textarea>
1872 |       "
1873 foo"
1874
1875 Test 19 of 23 in resources/tests3.dat failed. Input:
1876 <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
1877 Got:
1878 | <!DOCTYPE html>
1879 | <html>
1880 |   <head>
1881 |   <body>
1882 |     <ul>
1883 |       <li>
1884 |         <div>
1885 |           <p>
1886 |           <li>
1887 Expected:
1888 | <!DOCTYPE html>
1889 | <html>
1890 |   <head>
1891 |   <body>
1892 |     <ul>
1893 |       <li>
1894 |         <div>
1895 |           <p>
1896 |       <li>
1897
1898 Test 20 of 23 in resources/tests3.dat failed. Input:
1899 <!doctype html><nobr><nobr><nobr>
1900 Got:
1901 | <!DOCTYPE html>
1902 | <html>
1903 |   <head>
1904 |   <body>
1905 |     <nobr>
1906 |       <nobr>
1907 |         <nobr>
1908 |           <nobr>
1909 |             <nobr>
1910 Expected:
1911 | <!DOCTYPE html>
1912 | <html>
1913 |   <head>
1914 |   <body>
1915 |     <nobr>
1916 |     <nobr>
1917 |     <nobr>
1918
1919 Test 21 of 23 in resources/tests3.dat failed. Input:
1920 <!doctype html><nobr><nobr></nobr><nobr>
1921 Got:
1922 | <!DOCTYPE html>
1923 | <html>
1924 |   <head>
1925 |   <body>
1926 |     <nobr>
1927 |       <nobr>
1928 |         <nobr>
1929 |         <nobr>
1930 |           <nobr>
1931 Expected:
1932 | <!DOCTYPE html>
1933 | <html>
1934 |   <head>
1935 |   <body>
1936 |     <nobr>
1937 |     <nobr>
1938 |     <nobr>
1939
1940 Test 22 of 23 in resources/tests3.dat failed. Input:
1941 <!doctype html><html><body><p><table></table></body></html>
1942 Got:
1943 | <!DOCTYPE html>
1944 | <html>
1945 |   <head>
1946 |   <body>
1947 |     <p>
1948 |       <table>
1949 Expected:
1950 | <!DOCTYPE html>
1951 | <html>
1952 |   <head>
1953 |   <body>
1954 |     <p>
1955 |     <table>
1956 resources/tests4.dat:
1957 3
1958 5
1959 6
1960 7
1961
1962 Test 3 of 7 in resources/tests4.dat failed. Input:
1963 textarea content with <em>pseudo</em> <foo>markup
1964 Got:
1965 | "textarea content with "
1966 | <em>
1967 |   "pseudo"
1968 | " "
1969 | <foo>
1970 |   "markup"
1971 Expected:
1972 | "textarea content with <em>pseudo</em> <foo>markup"
1973
1974 Test 5 of 7 in resources/tests4.dat failed. Input:
1975 </plaintext>
1976 Got:
1977
1978 Expected:
1979 | "</plaintext>"
1980
1981 Test 6 of 7 in resources/tests4.dat failed. Input:
1982 setting html's innerHTML
1983 Got:
1984 | "setting html's innerHTML"
1985 Expected:
1986 | <head>
1987 | <body>
1988 |   "setting html's innerHTML"
1989
1990 Test 7 of 7 in resources/tests4.dat failed. Input:
1991 <title>setting head's innerHTML</title>
1992 Got:
1993
1994 Expected:
1995 | <title>
1996 |   "setting head's innerHTML"
1997 resources/tests5.dat:
1998 2
1999 6
2000 7
2001 8
2002 9
2003
2004 Test 2 of 16 in resources/tests5.dat failed. Input:
2005 <style> <!-- </style> --> </style>x
2006 Got:
2007 | <html>
2008 |   <head>
2009 |     <style>
2010 |       " <!-- "
2011 |   <body>
2012 |     " --> "
2013 |     "x"
2014 Expected:
2015 | <html>
2016 |   <head>
2017 |     <style>
2018 |       " <!-- "
2019 |     " "
2020 |   <body>
2021 |     "--> x"
2022
2023 Test 6 of 16 in resources/tests5.dat failed. Input:
2024 <iframe> <!--- </iframe>->x</iframe> --> </iframe>x
2025 Got:
2026 | <html>
2027 |   <head>
2028 |   <body>
2029 |     <iframe>
2030 |       " <!--- "
2031 |     "->x"
2032 |     " --> "
2033 |     "x"
2034 Expected:
2035 | <html>
2036 |   <head>
2037 |   <body>
2038 |     <iframe>
2039 |       " <!--- "
2040 |     "->x --> x"
2041
2042 Test 7 of 16 in resources/tests5.dat failed. Input:
2043 <script> <!-- </script> --> </script>x
2044 Got:
2045 | <html>
2046 |   <head>
2047 |     <script>
2048 |       " <!-- "
2049 |   <body>
2050 |     " --> "
2051 |     "x"
2052 Expected:
2053 | <html>
2054 |   <head>
2055 |     <script>
2056 |       " <!-- "
2057 |     " "
2058 |   <body>
2059 |     "--> x"
2060
2061 Test 8 of 16 in resources/tests5.dat failed. Input:
2062 <title> <!-- </title> --> </title>x
2063 Got:
2064 | <html>
2065 |   <head>
2066 |     <title>
2067 |       " <!-- "
2068 |   <body>
2069 |     " --> "
2070 |     "x"
2071 Expected:
2072 | <html>
2073 |   <head>
2074 |     <title>
2075 |       " <!-- "
2076 |     " "
2077 |   <body>
2078 |     "--> x"
2079
2080 Test 9 of 16 in resources/tests5.dat failed. Input:
2081 <textarea> <!--- </textarea>->x</textarea> --> </textarea>x
2082 Got:
2083 | <html>
2084 |   <head>
2085 |   <body>
2086 |     <textarea>
2087 |       " <!--- "
2088 |     "->x"
2089 |     " --> "
2090 |     "x"
2091 Expected:
2092 | <html>
2093 |   <head>
2094 |   <body>
2095 |     <textarea>
2096 |       " <!--- "
2097 |     "->x --> x"
2098 resources/tests6.dat:
2099 1
2100 8
2101 9
2102 10
2103 11
2104 12
2105 13
2106 14
2107 15
2108 16
2109 17
2110 19
2111 23
2112 24
2113 26
2114 27
2115 30
2116 33
2117 36
2118 37
2119 42
2120 44
2121 45
2122 46
2123 47
2124
2125 Test 1 of 51 in resources/tests6.dat failed. Input:
2126 <!doctype html></head> <head>
2127 Got:
2128 | <!DOCTYPE html>
2129 | <html>
2130 |   <head>
2131 |   <body>
2132 |     " "
2133 Expected:
2134 | <!DOCTYPE html>
2135 | <html>
2136 |   <head>
2137 |   " "
2138 |   <body>
2139
2140 Test 8 of 51 in resources/tests6.dat failed. Input:
2141 <frameset></frameset>
2142 foo
2143 Got:
2144 | <html>
2145 |   <head>
2146 |   <frameset>
2147 Expected:
2148 | <html>
2149 |   <head>
2150 |   <frameset>
2151 |   "
2152 "
2153
2154 Test 9 of 51 in resources/tests6.dat failed. Input:
2155 <frameset></frameset>
2156 <noframes>
2157 Got:
2158 | <html>
2159 |   <head>
2160 |   <frameset>
2161 |   <noframes>
2162 Expected:
2163 | <html>
2164 |   <head>
2165 |   <frameset>
2166 |   "
2167 "
2168 |   <noframes>
2169
2170 Test 10 of 51 in resources/tests6.dat failed. Input:
2171 <frameset></frameset>
2172 <div>
2173 Got:
2174 | <html>
2175 |   <head>
2176 |   <frameset>
2177 Expected:
2178 | <html>
2179 |   <head>
2180 |   <frameset>
2181 |   "
2182 "
2183
2184 Test 11 of 51 in resources/tests6.dat failed. Input:
2185 <frameset></frameset>
2186 </html>
2187 Got:
2188 | <html>
2189 |   <head>
2190 |   <frameset>
2191 Expected:
2192 | <html>
2193 |   <head>
2194 |   <frameset>
2195 |   "
2196 "
2197
2198 Test 12 of 51 in resources/tests6.dat failed. Input:
2199 <frameset></frameset>
2200 </div>
2201 Got:
2202 | <html>
2203 |   <head>
2204 |   <frameset>
2205 Expected:
2206 | <html>
2207 |   <head>
2208 |   <frameset>
2209 |   "
2210 "
2211
2212 Test 13 of 51 in resources/tests6.dat failed. Input:
2213 <form><form>
2214 Got:
2215 | <html>
2216 |   <head>
2217 |   <body>
2218 |     <form>
2219 |       <form>
2220 Expected:
2221 | <html>
2222 |   <head>
2223 |   <body>
2224 |     <form>
2225
2226 Test 14 of 51 in resources/tests6.dat failed. Input:
2227 <button><button>
2228 Got:
2229 | <html>
2230 |   <head>
2231 |   <body>
2232 |     <button>
2233 |       <button>
2234 Expected:
2235 | <html>
2236 |   <head>
2237 |   <body>
2238 |     <button>
2239 |     <button>
2240
2241 Test 15 of 51 in resources/tests6.dat failed. Input:
2242 <table><tr><td></th>
2243 Got:
2244 | <html>
2245 |   <head>
2246 |   <body>
2247 |     <table>
2248 Expected:
2249 | <html>
2250 |   <head>
2251 |   <body>
2252 |     <table>
2253 |       <tbody>
2254 |         <tr>
2255 |           <td>
2256
2257 Test 16 of 51 in resources/tests6.dat failed. Input:
2258 <table><caption><td>
2259 Got:
2260 | <html>
2261 |   <head>
2262 |   <body>
2263 |     <table>
2264 |       <caption>
2265 Expected:
2266 | <html>
2267 |   <head>
2268 |   <body>
2269 |     <table>
2270 |       <caption>
2271 |       <tbody>
2272 |         <tr>
2273 |           <td>
2274
2275 Test 17 of 51 in resources/tests6.dat failed. Input:
2276 <table><caption><div>
2277 Got:
2278 | <html>
2279 |   <head>
2280 |   <body>
2281 |     <table>
2282 |       <caption>
2283 Expected:
2284 | <html>
2285 |   <head>
2286 |   <body>
2287 |     <table>
2288 |       <caption>
2289 |         <div>
2290
2291 Test 19 of 51 in resources/tests6.dat failed. Input:
2292 <table><caption><div></caption>
2293 Got:
2294 | <html>
2295 |   <head>
2296 |   <body>
2297 |     <table>
2298 |       <caption>
2299 Expected:
2300 | <html>
2301 |   <head>
2302 |   <body>
2303 |     <table>
2304 |       <caption>
2305 |         <div>
2306
2307 Test 23 of 51 in resources/tests6.dat failed. Input:
2308 <table><caption><div></div>
2309 Got:
2310 | <html>
2311 |   <head>
2312 |   <body>
2313 |     <table>
2314 |       <caption>
2315 Expected:
2316 | <html>
2317 |   <head>
2318 |   <body>
2319 |     <table>
2320 |       <caption>
2321 |         <div>
2322
2323 Test 24 of 51 in resources/tests6.dat failed. Input:
2324 <table><tr><td></body></caption></col></colgroup></html>
2325 Got:
2326 | <html>
2327 |   <head>
2328 |   <body>
2329 |     <table>
2330 Expected:
2331 | <html>
2332 |   <head>
2333 |   <body>
2334 |     <table>
2335 |       <tbody>
2336 |         <tr>
2337 |           <td>
2338
2339 Test 26 of 51 in resources/tests6.dat failed. Input:
2340 <table><colgroup>foo
2341 Got:
2342 | <html>
2343 |   <head>
2344 |   <body>
2345 |     <table>
2346 |       <colgroup>
2347 Expected:
2348 | <html>
2349 |   <head>
2350 |   <body>
2351 |     "foo"
2352 |     <table>
2353 |       <colgroup>
2354
2355 Test 27 of 51 in resources/tests6.dat failed. Input:
2356 foo<col>
2357 Got:
2358
2359 Expected:
2360 | <col>
2361
2362 Test 30 of 51 in resources/tests6.dat failed. Input:
2363 </frameset><frame>
2364 Got:
2365
2366 Expected:
2367 | <frame>
2368
2369 Test 33 of 51 in resources/tests6.dat failed. Input:
2370 <table><tr><div>
2371 Got:
2372 | <html>
2373 |   <head>
2374 |   <body>
2375 |     <table>
2376 Expected:
2377 | <html>
2378 |   <head>
2379 |   <body>
2380 |     <div>
2381 |     <table>
2382 |       <tbody>
2383 |         <tr>
2384
2385 Test 36 of 51 in resources/tests6.dat failed. Input:
2386 <table><tr><div><td>
2387 Got:
2388 | <html>
2389 |   <head>
2390 |   <body>
2391 |     <table>
2392 Expected:
2393 | <html>
2394 |   <head>
2395 |   <body>
2396 |     <div>
2397 |     <table>
2398 |       <tbody>
2399 |         <tr>
2400 |           <td>
2401
2402 Test 37 of 51 in resources/tests6.dat failed. Input:
2403 <caption><col><colgroup><tbody><tfoot><thead><tr>
2404 Got:
2405 | <caption>
2406 | <colgroup>
2407 | <tbody>
2408 | <tfoot>
2409 | <thead>
2410 |   <tr>
2411 Expected:
2412 | <tr>
2413
2414 Test 42 of 51 in resources/tests6.dat failed. Input:
2415 <table><table>
2416 Got:
2417 | <html>
2418 |   <head>
2419 |   <body>
2420 |     <table>
2421 Expected:
2422 | <html>
2423 |   <head>
2424 |   <body>
2425 |     <table>
2426 |     <table>
2427
2428 Test 44 of 51 in resources/tests6.dat failed. Input:
2429 </table><tr>
2430 Got:
2431 | <tr>
2432 Expected:
2433 | <tbody>
2434 |   <tr>
2435
2436 Test 45 of 51 in resources/tests6.dat failed. Input:
2437 <body></body></html>
2438 Got:
2439
2440 Expected:
2441 | <head>
2442 | <body>
2443
2444 Test 46 of 51 in resources/tests6.dat failed. Input:
2445 <html><frameset></frameset></html> 
2446 Got:
2447 | <html>
2448 |   <head>
2449 |   <frameset>
2450 Expected:
2451 | <html>
2452 |   <head>
2453 |   <frameset>
2454 |   " "
2455
2456 Test 47 of 51 in resources/tests6.dat failed. Input:
2457 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
2458 Got:
2459 | <!DOCTYPE html>
2460 | <html>
2461 |   <head>
2462 |   <body>
2463 Expected:
2464 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
2465 | <html>
2466 |   <head>
2467 |   <body>
2468 resources/tests7.dat:
2469 2
2470 5
2471 6
2472 7
2473 8
2474 9
2475 10
2476 13
2477 14
2478 15
2479 16
2480 17
2481 18
2482 19
2483 20
2484 21
2485 24
2486 25
2487 26
2488 27
2489 28
2490 29
2491 30
2492
2493 Test 2 of 30 in resources/tests7.dat failed. Input:
2494 <!doctype html><table><title>X</title></table>
2495 Got:
2496 | <!DOCTYPE html>
2497 | <html>
2498 |   <head>
2499 |   <body>
2500 |     <table>
2501 Expected:
2502 | <!DOCTYPE html>
2503 | <html>
2504 |   <head>
2505 |   <body>
2506 |     <title>
2507 |       "X"
2508 |     <table>
2509
2510 Test 5 of 30 in resources/tests7.dat failed. Input:
2511 <!doctype html><table><meta></table>
2512 Got:
2513 | <!DOCTYPE html>
2514 | <html>
2515 |   <head>
2516 |   <body>
2517 |     <table>
2518 Expected:
2519 | <!DOCTYPE html>
2520 | <html>
2521 |   <head>
2522 |   <body>
2523 |     <meta>
2524 |     <table>
2525
2526 Test 6 of 30 in resources/tests7.dat failed. Input:
2527 <!doctype html><table>X<tr><td><table> <meta></table></table>
2528 Got:
2529 | <!DOCTYPE html>
2530 | <html>
2531 |   <head>
2532 |   <body>
2533 |     <table>
2534 Expected:
2535 | <!DOCTYPE html>
2536 | <html>
2537 |   <head>
2538 |   <body>
2539 |     "X"
2540 |     <table>
2541 |       <tbody>
2542 |         <tr>
2543 |           <td>
2544 |             <meta>
2545 |             <table>
2546 |               " "
2547
2548 Test 7 of 30 in resources/tests7.dat failed. Input:
2549 <!doctype html><html> <head>
2550 Got:
2551 | <!DOCTYPE html>
2552 | <html>
2553 |   <head>
2554 |   <body>
2555 |     " "
2556 Expected:
2557 | <!DOCTYPE html>
2558 | <html>
2559 |   <head>
2560 |   <body>
2561
2562 Test 8 of 30 in resources/tests7.dat failed. Input:
2563 <!doctype html> <head>
2564 Got:
2565 | <!DOCTYPE html>
2566 | <html>
2567 |   <head>
2568 |   <body>
2569 |     " "
2570 Expected:
2571 | <!DOCTYPE html>
2572 | <html>
2573 |   <head>
2574 |   <body>
2575
2576 Test 9 of 30 in resources/tests7.dat failed. Input:
2577 <!doctype html><table><style> <tr>x </style> </table>
2578 Got:
2579 | <!DOCTYPE html>
2580 | <html>
2581 |   <head>
2582 |   <body>
2583 |     <table>
2584 |       <style>
2585 |         " <tr>x "
2586 Expected:
2587 | <!DOCTYPE html>
2588 | <html>
2589 |   <head>
2590 |   <body>
2591 |     <table>
2592 |       <style>
2593 |         " <tr>x "
2594 |       " "
2595
2596 Test 10 of 30 in resources/tests7.dat failed. Input:
2597 <!doctype html><table><TBODY><script> <tr>x </script> </table>
2598 Got:
2599 | <!DOCTYPE html>
2600 | <html>
2601 |   <head>
2602 |   <body>
2603 |     <table>
2604 |       <tbody>
2605 |         <tr>
2606 Expected:
2607 | <!DOCTYPE html>
2608 | <html>
2609 |   <head>
2610 |   <body>
2611 |     <table>
2612 |       <tbody>
2613 |         <script>
2614 |           " <tr>x "
2615 |         " "
2616
2617 Test 13 of 30 in resources/tests7.dat failed. Input:
2618 <!doctype html><select><input>X
2619 Got:
2620 | <!DOCTYPE html>
2621 | <html>
2622 |   <head>
2623 |   <body>
2624 |     <select>
2625 Expected:
2626 | <!DOCTYPE html>
2627 | <html>
2628 |   <head>
2629 |   <body>
2630 |     <select>
2631 |     <input>
2632 |     "X"
2633
2634 Test 14 of 30 in resources/tests7.dat failed. Input:
2635 <!doctype html><select><select>X
2636 Got:
2637 | <!DOCTYPE html>
2638 | <html>
2639 |   <head>
2640 |   <body>
2641 |     <select>
2642 Expected:
2643 | <!DOCTYPE html>
2644 | <html>
2645 |   <head>
2646 |   <body>
2647 |     <select>
2648 |     "X"
2649
2650 Test 15 of 30 in resources/tests7.dat failed. Input:
2651 <!doctype html><table><input type=hidDEN></table>
2652 Got:
2653 | <!DOCTYPE html>
2654 | <html>
2655 |   <head>
2656 |   <body>
2657 |     <table>
2658 Expected:
2659 | <!DOCTYPE html>
2660 | <html>
2661 |   <head>
2662 |   <body>
2663 |     <table>
2664 |       <input>
2665 |         type="hidDEN"
2666
2667 Test 16 of 30 in resources/tests7.dat failed. Input:
2668 <!doctype html><table>X<input type=hidDEN></table>
2669 Got:
2670 | <!DOCTYPE html>
2671 | <html>
2672 |   <head>
2673 |   <body>
2674 |     <table>
2675 Expected:
2676 | <!DOCTYPE html>
2677 | <html>
2678 |   <head>
2679 |   <body>
2680 |     "X"
2681 |     <table>
2682 |       <input>
2683 |         type="hidDEN"
2684
2685 Test 17 of 30 in resources/tests7.dat failed. Input:
2686 <!doctype html><table>  <input type=hidDEN></table>
2687 Got:
2688 | <!DOCTYPE html>
2689 | <html>
2690 |   <head>
2691 |   <body>
2692 |     <table>
2693 Expected:
2694 | <!DOCTYPE html>
2695 | <html>
2696 |   <head>
2697 |   <body>
2698 |     <table>
2699 |       "  "
2700 |       <input>
2701 |         type="hidDEN"
2702
2703 Test 18 of 30 in resources/tests7.dat failed. Input:
2704 <!doctype html><table>  <input type='hidDEN'></table>
2705 Got:
2706 | <!DOCTYPE html>
2707 | <html>
2708 |   <head>
2709 |   <body>
2710 |     <table>
2711 Expected:
2712 | <!DOCTYPE html>
2713 | <html>
2714 |   <head>
2715 |   <body>
2716 |     <table>
2717 |       "  "
2718 |       <input>
2719 |         type="hidDEN"
2720
2721 Test 19 of 30 in resources/tests7.dat failed. Input:
2722 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
2723 Got:
2724 | <!DOCTYPE html>
2725 | <html>
2726 |   <head>
2727 |   <body>
2728 |     <table>
2729 Expected:
2730 | <!DOCTYPE html>
2731 | <html>
2732 |   <head>
2733 |   <body>
2734 |     <input>
2735 |       type=" hidden"
2736 |     <table>
2737 |       <input>
2738 |         type="hidDEN"
2739
2740 Test 20 of 30 in resources/tests7.dat failed. Input:
2741 <!doctype html><table><select>X<tr>
2742 Got:
2743 | <!DOCTYPE html>
2744 | <html>
2745 |   <head>
2746 |   <body>
2747 |     <table>
2748 Expected:
2749 | <!DOCTYPE html>
2750 | <html>
2751 |   <head>
2752 |   <body>
2753 |     <select>
2754 |       "X"
2755 |     <table>
2756 |       <tbody>
2757 |         <tr>
2758
2759 Test 21 of 30 in resources/tests7.dat failed. Input:
2760 <!doctype html><select>X</select>
2761 Got:
2762 | <!DOCTYPE html>
2763 | <html>
2764 |   <head>
2765 |   <body>
2766 |     <select>
2767 Expected:
2768 | <!DOCTYPE html>
2769 | <html>
2770 |   <head>
2771 |   <body>
2772 |     <select>
2773 |       "X"
2774
2775 Test 24 of 30 in resources/tests7.dat failed. Input:
2776 <body>X</body></body>
2777 Got:
2778 | "X"
2779 Expected:
2780 | <head>
2781 | <body>
2782 |   "X"
2783
2784 Test 25 of 30 in resources/tests7.dat failed. Input:
2785 <div><p>a</x> b
2786 Got:
2787 | <html>
2788 |   <head>
2789 |   <body>
2790 |     <div>
2791 |       <p>
2792 |         "a"
2793 |         " b"
2794 Expected:
2795 | <html>
2796 |   <head>
2797 |   <body>
2798 |     <div>
2799 |       <p>
2800 |         "a b"
2801
2802 Test 26 of 30 in resources/tests7.dat failed. Input:
2803 <table><tr><td><code></code> </table>
2804 Got:
2805 | <html>
2806 |   <head>
2807 |   <body>
2808 |     <table>
2809 Expected:
2810 | <html>
2811 |   <head>
2812 |   <body>
2813 |     <table>
2814 |       <tbody>
2815 |         <tr>
2816 |           <td>
2817 |             <code>
2818 |             " "
2819
2820 Test 27 of 30 in resources/tests7.dat failed. Input:
2821 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
2822 Got:
2823 | <html>
2824 |   <head>
2825 |   <body>
2826 |     <table>
2827 Expected:
2828 | <html>
2829 |   <head>
2830 |   <body>
2831 |     <b>
2832 |     <b>
2833 |       "bbb"
2834 |     <table>
2835 |       <tbody>
2836 |         <tr>
2837 |           <td>
2838 |             "aaa"
2839 |     <b>
2840 |       "ccc"
2841
2842 Test 28 of 30 in resources/tests7.dat failed. Input:
2843 A<table><tr> B</tr> B</table>
2844 Got:
2845 | <html>
2846 |   <head>
2847 |   <body>
2848 |     "A"
2849 |     <table>
2850 Expected:
2851 | <html>
2852 |   <head>
2853 |   <body>
2854 |     "A B B"
2855 |     <table>
2856 |       <tbody>
2857 |         <tr>
2858
2859 Test 29 of 30 in resources/tests7.dat failed. Input:
2860 A<table><tr> B</tr> </em>C</table>
2861 Got:
2862 | <html>
2863 |   <head>
2864 |   <body>
2865 |     "A"
2866 |     <table>
2867 Expected:
2868 | <html>
2869 |   <head>
2870 |   <body>
2871 |     "A BC"
2872 |     <table>
2873 |       <tbody>
2874 |         <tr>
2875 |         " "
2876
2877 Test 30 of 30 in resources/tests7.dat failed. Input:
2878 <select><keygen>
2879 Got:
2880 | <html>
2881 |   <head>
2882 |   <body>
2883 |     <select>
2884 Expected:
2885 | <html>
2886 |   <head>
2887 |   <body>
2888 |     <select>
2889 |     <keygen>
2890 resources/tests8.dat:
2891 1
2892 2
2893 3
2894 4
2895 5
2896 6
2897 7
2898 8
2899 9
2900
2901 Test 1 of 9 in resources/tests8.dat failed. Input:
2902 <div>
2903 <div></div>
2904 </span>x
2905 Got:
2906 | <html>
2907 |   <head>
2908 |   <body>
2909 |     <div>
2910 |       "
2911 "
2912 |       <div>
2913 |     "
2914 "
2915 |     "x"
2916 Expected:
2917 | <html>
2918 |   <head>
2919 |   <body>
2920 |     <div>
2921 |       "
2922 "
2923 |       <div>
2924 |       "
2925 x"
2926
2927 Test 2 of 9 in resources/tests8.dat failed. Input:
2928 <div>x<div></div>
2929 </span>x
2930 Got:
2931 | <html>
2932 |   <head>
2933 |   <body>
2934 |     <div>
2935 |       "x"
2936 |       <div>
2937 |     "
2938 "
2939 |     "x"
2940 Expected:
2941 | <html>
2942 |   <head>
2943 |   <body>
2944 |     <div>
2945 |       "x"
2946 |       <div>
2947 |       "
2948 x"
2949
2950 Test 3 of 9 in resources/tests8.dat failed. Input:
2951 <div>x<div></div>x</span>x
2952 Got:
2953 | <html>
2954 |   <head>
2955 |   <body>
2956 |     <div>
2957 |       "x"
2958 |       <div>
2959 |     "x"
2960 |     "x"
2961 Expected:
2962 | <html>
2963 |   <head>
2964 |   <body>
2965 |     <div>
2966 |       "x"
2967 |       <div>
2968 |       "xx"
2969
2970 Test 4 of 9 in resources/tests8.dat failed. Input:
2971 <div>x<div></div>y</span>z
2972 Got:
2973 | <html>
2974 |   <head>
2975 |   <body>
2976 |     <div>
2977 |       "x"
2978 |       <div>
2979 |     "y"
2980 |     "z"
2981 Expected:
2982 | <html>
2983 |   <head>
2984 |   <body>
2985 |     <div>
2986 |       "x"
2987 |       <div>
2988 |       "yz"
2989
2990 Test 5 of 9 in resources/tests8.dat failed. Input:
2991 <table><div>x<div></div>x</span>x
2992 Got:
2993 | <html>
2994 |   <head>
2995 |   <body>
2996 |     <table>
2997 Expected:
2998 | <html>
2999 |   <head>
3000 |   <body>
3001 |     <div>
3002 |       "x"
3003 |       <div>
3004 |       "xx"
3005 |     <table>
3006
3007 Test 6 of 9 in resources/tests8.dat failed. Input:
3008 x<table>x
3009 Got:
3010 | <html>
3011 |   <head>
3012 |   <body>
3013 |     "x"
3014 |     <table>
3015 Expected:
3016 | <html>
3017 |   <head>
3018 |   <body>
3019 |     "xx"
3020 |     <table>
3021
3022 Test 7 of 9 in resources/tests8.dat failed. Input:
3023 x<table><table>x
3024 Got:
3025 | <html>
3026 |   <head>
3027 |   <body>
3028 |     "x"
3029 |     <table>
3030 Expected:
3031 | <html>
3032 |   <head>
3033 |   <body>
3034 |     "x"
3035 |     <table>
3036 |     "x"
3037 |     <table>
3038
3039 Test 8 of 9 in resources/tests8.dat failed. Input:
3040 <b>a<div></div><div></b>y
3041 Got:
3042 | <html>
3043 |   <head>
3044 |   <body>
3045 |     <b>
3046 |       "a"
3047 |       <div>
3048 |     <div>
3049 |       <b>
3050 |         "y"
3051 Expected:
3052 | <html>
3053 |   <head>
3054 |   <body>
3055 |     <b>
3056 |       "a"
3057 |       <div>
3058 |     <div>
3059 |       <b>
3060 |       "y"
3061
3062 Test 9 of 9 in resources/tests8.dat failed. Input:
3063 <a><div><p></a>
3064 Got:
3065 | <html>
3066 |   <head>
3067 |   <body>
3068 |     <a>
3069 |     <div>
3070 |       <a>
3071 |         <p>
3072 Expected:
3073 | <html>
3074 |   <head>
3075 |   <body>
3076 |     <a>
3077 |     <div>
3078 |       <a>
3079 |       <p>
3080 |         <a>
3081 resources/tests9.dat:
3082 1
3083 2
3084 4
3085 5
3086 6
3087 7
3088 8
3089 9
3090 10
3091 11
3092 12
3093 13
3094 14
3095 15
3096 16
3097 17
3098 18
3099 19
3100 22
3101 23
3102 24
3103 25
3104
3105 Test 1 of 25 in resources/tests9.dat failed. Input:
3106 <!DOCTYPE html><math></math>
3107 Got:
3108 | <!DOCTYPE html>
3109 | <html>
3110 |   <head>
3111 |   <body>
3112 |     <math>
3113 Expected:
3114 | <!DOCTYPE html>
3115 | <html>
3116 |   <head>
3117 |   <body>
3118 |     <math math>
3119
3120 Test 2 of 25 in resources/tests9.dat failed. Input:
3121 <!DOCTYPE html><body><math></math>
3122 Got:
3123 | <!DOCTYPE html>
3124 | <html>
3125 |   <head>
3126 |   <body>
3127 |     <math>
3128 Expected:
3129 | <!DOCTYPE html>
3130 | <html>
3131 |   <head>
3132 |   <body>
3133 |     <math math>
3134
3135 Test 4 of 25 in resources/tests9.dat failed. Input:
3136 <!DOCTYPE html><body><select><option><math></math></option></select>
3137 Got:
3138 | <!DOCTYPE html>
3139 | <html>
3140 |   <head>
3141 |   <body>
3142 |     <select>
3143 Expected:
3144 | <!DOCTYPE html>
3145 | <html>
3146 |   <head>
3147 |   <body>
3148 |     <select>
3149 |       <option>
3150
3151 Test 5 of 25 in resources/tests9.dat failed. Input:
3152 <!DOCTYPE html><body><table><math></math></table>
3153 Got:
3154 | <!DOCTYPE html>
3155 | <html>
3156 |   <head>
3157 |   <body>
3158 |     <table>
3159 Expected:
3160 | <!DOCTYPE html>
3161 | <html>
3162 |   <head>
3163 |   <body>
3164 |     <math math>
3165 |     <table>
3166
3167 Test 6 of 25 in resources/tests9.dat failed. Input:
3168 <!DOCTYPE html><body><table><math><mi>foo</mi></math></table>
3169 Got:
3170 | <!DOCTYPE html>
3171 | <html>
3172 |   <head>
3173 |   <body>
3174 |     <table>
3175 Expected:
3176 | <!DOCTYPE html>
3177 | <html>
3178 |   <head>
3179 |   <body>
3180 |     <math math>
3181 |       <math mi>
3182 |         "foo"
3183 |     <table>
3184
3185 Test 7 of 25 in resources/tests9.dat failed. Input:
3186 <!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>
3187 Got:
3188 | <!DOCTYPE html>
3189 | <html>
3190 |   <head>
3191 |   <body>
3192 |     <table>
3193 Expected:
3194 | <!DOCTYPE html>
3195 | <html>
3196 |   <head>
3197 |   <body>
3198 |     <math math>
3199 |       <math mi>
3200 |         "foo"
3201 |       <math mi>
3202 |         "bar"
3203 |     <table>
3204
3205 Test 8 of 25 in resources/tests9.dat failed. Input:
3206 <!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>
3207 Got:
3208 | <!DOCTYPE html>
3209 | <html>
3210 |   <head>
3211 |   <body>
3212 |     <table>
3213 |       <tbody>
3214 Expected:
3215 | <!DOCTYPE html>
3216 | <html>
3217 |   <head>
3218 |   <body>
3219 |     <math math>
3220 |       <math mi>
3221 |         "foo"
3222 |       <math mi>
3223 |         "bar"
3224 |     <table>
3225 |       <tbody>
3226
3227 Test 9 of 25 in resources/tests9.dat failed. Input:
3228 <!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>
3229 Got:
3230 | <!DOCTYPE html>
3231 | <html>
3232 |   <head>
3233 |   <body>
3234 |     <table>
3235 |       <tbody>
3236 |         <tr>
3237 Expected:
3238 | <!DOCTYPE html>
3239 | <html>
3240 |   <head>
3241 |   <body>
3242 |     <math math>
3243 |       <math mi>
3244 |         "foo"
3245 |       <math mi>
3246 |         "bar"
3247 |     <table>
3248 |       <tbody>
3249 |         <tr>
3250
3251 Test 10 of 25 in resources/tests9.dat failed. Input:
3252 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>
3253 Got:
3254 | <!DOCTYPE html>
3255 | <html>
3256 |   <head>
3257 |   <body>
3258 |     <table>
3259 |       <tbody>
3260 |         <tr>
3261 Expected:
3262 | <!DOCTYPE html>
3263 | <html>
3264 |   <head>
3265 |   <body>
3266 |     <table>
3267 |       <tbody>
3268 |         <tr>
3269 |           <td>
3270 |             <math math>
3271 |               <math mi>
3272 |                 "foo"
3273 |               <math mi>
3274 |                 "bar"
3275
3276 Test 11 of 25 in resources/tests9.dat failed. Input:
3277 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>
3278 Got:
3279 | <!DOCTYPE html>
3280 | <html>
3281 |   <head>
3282 |   <body>
3283 |     <table>
3284 |       <tbody>
3285 |         <tr>
3286 Expected:
3287 | <!DOCTYPE html>
3288 | <html>
3289 |   <head>
3290 |   <body>
3291 |     <table>
3292 |       <tbody>
3293 |         <tr>
3294 |           <td>
3295 |             <math math>
3296 |               <math mi>
3297 |                 "foo"
3298 |               <math mi>
3299 |                 "bar"
3300 |             <p>
3301 |               "baz"
3302
3303 Test 12 of 25 in resources/tests9.dat failed. Input:
3304 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>
3305 Got:
3306 | <!DOCTYPE html>
3307 | <html>
3308 |   <head>
3309 |   <body>
3310 |     <table>
3311 |       <caption>
3312 Expected:
3313 | <!DOCTYPE html>
3314 | <html>
3315 |   <head>
3316 |   <body>
3317 |     <table>
3318 |       <caption>
3319 |         <math math>
3320 |           <math mi>
3321 |             "foo"
3322 |           <math mi>
3323 |             "bar"
3324 |         <p>
3325 |           "baz"
3326
3327 Test 13 of 25 in resources/tests9.dat failed. Input:
3328 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3329 Got:
3330 | <!DOCTYPE html>
3331 | <html>
3332 |   <head>
3333 |   <body>
3334 |     <table>
3335 |       <caption>
3336 Expected:
3337 | <!DOCTYPE html>
3338 | <html>
3339 |   <head>
3340 |   <body>
3341 |     <table>
3342 |       <caption>
3343 |         <math math>
3344 |           <math mi>
3345 |             "foo"
3346 |           <math mi>
3347 |             "bar"
3348 |         <p>
3349 |           "baz"
3350 |     <p>
3351 |       "quux"
3352
3353 Test 14 of 25 in resources/tests9.dat failed. Input:
3354 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
3355 Got:
3356 | <!DOCTYPE html>
3357 | <html>
3358 |   <head>
3359 |   <body>
3360 |     <table>
3361 |       <caption>
3362 Expected:
3363 | <!DOCTYPE html>
3364 | <html>
3365 |   <head>
3366 |   <body>
3367 |     <table>
3368 |       <caption>
3369 |         <math math>
3370 |           <math mi>
3371 |             "foo"
3372 |           <math mi>
3373 |             "bar"
3374 |           "baz"
3375 |     <p>
3376 |       "quux"
3377
3378 Test 15 of 25 in resources/tests9.dat failed. Input:
3379 <!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3380 Got:
3381 | <!DOCTYPE html>
3382 | <html>
3383 |   <head>
3384 |   <body>
3385 |     <table>
3386 |       <colgroup>
3387 Expected:
3388 | <!DOCTYPE html>
3389 | <html>
3390 |   <head>
3391 |   <body>
3392 |     <math math>
3393 |       <math mi>
3394 |         "foo"
3395 |       <math mi>
3396 |         "bar"
3397 |     <p>
3398 |       "baz"
3399 |     <table>
3400 |       <colgroup>
3401 |     <p>
3402 |       "quux"
3403
3404 Test 16 of 25 in resources/tests9.dat failed. Input:
3405 <!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3406 Got:
3407 | <!DOCTYPE html>
3408 | <html>
3409 |   <head>
3410 |   <body>
3411 |     <table>
3412 Expected:
3413 | <!DOCTYPE html>
3414 | <html>
3415 |   <head>
3416 |   <body>
3417 |     <table>
3418 |       <tbody>
3419 |         <tr>
3420 |           <td>
3421 |             <select>
3422 |               "foobarbaz"
3423 |     <p>
3424 |       "quux"
3425
3426 Test 17 of 25 in resources/tests9.dat failed. Input:
3427 <!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3428 Got:
3429 | <!DOCTYPE html>
3430 | <html>
3431 |   <head>
3432 |   <body>
3433 |     <table>
3434 Expected:
3435 | <!DOCTYPE html>
3436 | <html>
3437 |   <head>
3438 |   <body>
3439 |     <select>
3440 |       "foobarbaz"
3441 |     <table>
3442 |     <p>
3443 |       "quux"
3444
3445 Test 18 of 25 in resources/tests9.dat failed. Input:
3446 <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
3447 Got:
3448 | <!DOCTYPE html>
3449 | <html>
3450 |   <head>
3451 |   <body>
3452 |     <math>
3453 |       <mi>
3454 |         "foo"
3455 |       <mi>
3456 |         "bar"
3457 |       <p>
3458 |         "baz"
3459 Expected:
3460 | <!DOCTYPE html>
3461 | <html>
3462 |   <head>
3463 |   <body>
3464 |     <math math>
3465 |       <math mi>
3466 |         "foo"
3467 |       <math mi>
3468 |         "bar"
3469 |     <p>
3470 |       "baz"
3471
3472 Test 19 of 25 in resources/tests9.dat failed. Input:
3473 <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
3474 Got:
3475 | <!DOCTYPE html>
3476 | <html>
3477 |   <head>
3478 |   <body>
3479 |     <math>
3480 |       <mi>
3481 |         "foo"
3482 |       <mi>
3483 |         "bar"
3484 |       <p>
3485 |         "baz"
3486 Expected:
3487 | <!DOCTYPE html>
3488 | <html>
3489 |   <head>
3490 |   <body>
3491 |     <math math>
3492 |       <math mi>
3493 |         "foo"
3494 |       <math mi>
3495 |         "bar"
3496 |     <p>
3497 |       "baz"
3498
3499 Test 22 of 25 in resources/tests9.dat failed. Input:
3500 <!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>
3501 Got:
3502 | <!DOCTYPE html>
3503 | <html>
3504 |   <head>
3505 |   <body>
3506 |     xlink:href="foo"
3507 |     <math>
3508 |       xlink:href="foo"
3509 Expected:
3510 | <!DOCTYPE html>
3511 | <html>
3512 |   <head>
3513 |   <body>
3514 |     xlink:href="foo"
3515 |     <math math>
3516 |       xlink href="foo"
3517
3518 Test 23 of 25 in resources/tests9.dat failed. Input:
3519 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>
3520 Got:
3521 | <!DOCTYPE html>
3522 | <html>
3523 |   <head>
3524 |   <body>
3525 |     xlink:href="foo"
3526 |     xml:lang="en"
3527 |     <math>
3528 |       <mi>
3529 |         xlink:href="foo"
3530 |         xml:lang="en"
3531 Expected:
3532 | <!DOCTYPE html>
3533 | <html>
3534 |   <head>
3535 |   <body>
3536 |     xlink:href="foo"
3537 |     xml:lang="en"
3538 |     <math math>
3539 |       <math mi>
3540 |         xlink href="foo"
3541 |         xml lang="en"
3542
3543 Test 24 of 25 in resources/tests9.dat failed. Input:
3544 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>
3545 Got:
3546 | <!DOCTYPE html>
3547 | <html>
3548 |   <head>
3549 |   <body>
3550 |     xlink:href="foo"
3551 |     xml:lang="en"
3552 |     <math>
3553 |       <mi>
3554 |         xlink:href="foo"
3555 |         xml:lang="en"
3556 Expected:
3557 | <!DOCTYPE html>
3558 | <html>
3559 |   <head>
3560 |   <body>
3561 |     xlink:href="foo"
3562 |     xml:lang="en"
3563 |     <math math>
3564 |       <math mi>
3565 |         xlink href="foo"
3566 |         xml lang="en"
3567
3568 Test 25 of 25 in resources/tests9.dat failed. Input:
3569 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>
3570 Got:
3571 | <!DOCTYPE html>
3572 | <html>
3573 |   <head>
3574 |   <body>
3575 |     xlink:href="foo"
3576 |     xml:lang="en"
3577 |     <math>
3578 |       <mi>
3579 |         xlink:href="foo"
3580 |         xml:lang="en"
3581 |         "bar"
3582 Expected:
3583 | <!DOCTYPE html>
3584 | <html>
3585 |   <head>
3586 |   <body>
3587 |     xlink:href="foo"
3588 |     xml:lang="en"
3589 |     <math math>
3590 |       <math mi>
3591 |         xlink href="foo"
3592 |         xml lang="en"
3593 |       "bar"
3594 resources/tests10.dat:
3595 1
3596 2
3597 4
3598 5
3599 6
3600 7
3601 8
3602 9
3603 10
3604 11
3605 12
3606 13
3607 14
3608 15
3609 16
3610 17
3611 18
3612 19
3613 22
3614 23
3615 24
3616 25
3617
3618 Test 1 of 25 in resources/tests10.dat failed. Input:
3619 <!DOCTYPE html><svg></svg>
3620 Got:
3621 | <!DOCTYPE html>
3622 | <html>
3623 |   <head>
3624 |   <body>
3625 |     <svg>
3626 Expected:
3627 | <!DOCTYPE html>
3628 | <html>
3629 |   <head>
3630 |   <body>
3631 |     <svg svg>
3632
3633 Test 2 of 25 in resources/tests10.dat failed. Input:
3634 <!DOCTYPE html><body><svg></svg>
3635 Got:
3636 | <!DOCTYPE html>
3637 | <html>
3638 |   <head>
3639 |   <body>
3640 |     <svg>
3641 Expected:
3642 | <!DOCTYPE html>
3643 | <html>
3644 |   <head>
3645 |   <body>
3646 |     <svg svg>
3647
3648 Test 4 of 25 in resources/tests10.dat failed. Input:
3649 <!DOCTYPE html><body><select><option><svg></svg></option></select>
3650 Got:
3651 | <!DOCTYPE html>
3652 | <html>
3653 |   <head>
3654 |   <body>
3655 |     <select>
3656 Expected:
3657 | <!DOCTYPE html>
3658 | <html>
3659 |   <head>
3660 |   <body>
3661 |     <select>
3662 |       <option>
3663
3664 Test 5 of 25 in resources/tests10.dat failed. Input:
3665 <!DOCTYPE html><body><table><svg></svg></table>
3666 Got:
3667 | <!DOCTYPE html>
3668 | <html>
3669 |   <head>
3670 |   <body>
3671 |     <table>
3672 Expected:
3673 | <!DOCTYPE html>
3674 | <html>
3675 |   <head>
3676 |   <body>
3677 |     <svg svg>
3678 |     <table>
3679
3680 Test 6 of 25 in resources/tests10.dat failed. Input:
3681 <!DOCTYPE html><body><table><svg><g>foo</g></svg></table>
3682 Got:
3683 | <!DOCTYPE html>
3684 | <html>
3685 |   <head>
3686 |   <body>
3687 |     <table>
3688 Expected:
3689 | <!DOCTYPE html>
3690 | <html>
3691 |   <head>
3692 |   <body>
3693 |     <svg svg>
3694 |       <svg g>
3695 |         "foo"
3696 |     <table>
3697
3698 Test 7 of 25 in resources/tests10.dat failed. Input:
3699 <!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>
3700 Got:
3701 | <!DOCTYPE html>
3702 | <html>
3703 |   <head>
3704 |   <body>
3705 |     <table>
3706 Expected:
3707 | <!DOCTYPE html>
3708 | <html>
3709 |   <head>
3710 |   <body>
3711 |     <svg svg>
3712 |       <svg g>
3713 |         "foo"
3714 |       <svg g>
3715 |         "bar"
3716 |     <table>
3717
3718 Test 8 of 25 in resources/tests10.dat failed. Input:
3719 <!DOCTYPE html><body><table><tbody><svg><g>foo</g><g>bar</g></svg></tbody></table>
3720 Got:
3721 | <!DOCTYPE html>
3722 | <html>
3723 |   <head>
3724 |   <body>
3725 |     <table>
3726 |       <tbody>
3727 Expected:
3728 | <!DOCTYPE html>
3729 | <html>
3730 |   <head>
3731 |   <body>
3732 |     <svg svg>
3733 |       <svg g>
3734 |         "foo"
3735 |       <svg g>
3736 |         "bar"
3737 |     <table>
3738 |       <tbody>
3739
3740 Test 9 of 25 in resources/tests10.dat failed. Input:
3741 <!DOCTYPE html><body><table><tbody><tr><svg><g>foo</g><g>bar</g></svg></tr></tbody></table>
3742 Got:
3743 | <!DOCTYPE html>
3744 | <html>
3745 |   <head>
3746 |   <body>
3747 |     <table>
3748 |       <tbody>
3749 |         <tr>
3750 Expected:
3751 | <!DOCTYPE html>
3752 | <html>
3753 |   <head>
3754 |   <body>
3755 |     <svg svg>
3756 |       <svg g>
3757 |         "foo"
3758 |       <svg g>
3759 |         "bar"
3760 |     <table>
3761 |       <tbody>
3762 |         <tr>
3763
3764 Test 10 of 25 in resources/tests10.dat failed. Input:
3765 <!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>
3766 Got:
3767 | <!DOCTYPE html>
3768 | <html>
3769 |   <head>
3770 |   <body>
3771 |     <table>
3772 |       <tbody>
3773 |         <tr>
3774 Expected:
3775 | <!DOCTYPE html>
3776 | <html>
3777 |   <head>
3778 |   <body>
3779 |     <table>
3780 |       <tbody>
3781 |         <tr>
3782 |           <td>
3783 |             <svg svg>
3784 |               <svg g>
3785 |                 "foo"
3786 |               <svg g>
3787 |                 "bar"
3788
3789 Test 11 of 25 in resources/tests10.dat failed. Input:
3790 <!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</td></tr></tbody></table>
3791 Got:
3792 | <!DOCTYPE html>
3793 | <html>
3794 |   <head>
3795 |   <body>
3796 |     <table>
3797 |       <tbody>
3798 |         <tr>
3799 Expected:
3800 | <!DOCTYPE html>
3801 | <html>
3802 |   <head>
3803 |   <body>
3804 |     <table>
3805 |       <tbody>
3806 |         <tr>
3807 |           <td>
3808 |             <svg svg>
3809 |               <svg g>
3810 |                 "foo"
3811 |               <svg g>
3812 |                 "bar"
3813 |             <p>
3814 |               "baz"
3815
3816 Test 12 of 25 in resources/tests10.dat failed. Input:
3817 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>
3818 Got:
3819 | <!DOCTYPE html>
3820 | <html>
3821 |   <head>
3822 |   <body>
3823 |     <table>
3824 |       <caption>
3825 Expected:
3826 | <!DOCTYPE html>
3827 | <html>
3828 |   <head>
3829 |   <body>
3830 |     <table>
3831 |       <caption>
3832 |         <svg svg>
3833 |           <svg g>
3834 |             "foo"
3835 |           <svg g>
3836 |             "bar"
3837 |         <p>
3838 |           "baz"
3839
3840 Test 13 of 25 in resources/tests10.dat failed. Input:
3841 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
3842 Got:
3843 | <!DOCTYPE html>
3844 | <html>
3845 |   <head>
3846 |   <body>
3847 |     <table>
3848 |       <caption>
3849 Expected:
3850 | <!DOCTYPE html>
3851 | <html>
3852 |   <head>
3853 |   <body>
3854 |     <table>
3855 |       <caption>
3856 |         <svg svg>
3857 |           <svg g>
3858 |             "foo"
3859 |           <svg g>
3860 |             "bar"
3861 |         <p>
3862 |           "baz"
3863 |     <p>
3864 |       "quux"
3865
3866 Test 14 of 25 in resources/tests10.dat failed. Input:
3867 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux
3868 Got:
3869 | <!DOCTYPE html>
3870 | <html>
3871 |   <head>
3872 |   <body>
3873 |     <table>
3874 |       <caption>
3875 Expected:
3876 | <!DOCTYPE html>
3877 | <html>
3878 |   <head>
3879 |   <body>
3880 |     <table>
3881 |       <caption>
3882 |         <svg svg>
3883 |           <svg g>
3884 |             "foo"
3885 |           <svg g>
3886 |             "bar"
3887 |           "baz"
3888 |     <p>
3889 |       "quux"
3890
3891 Test 15 of 25 in resources/tests10.dat failed. Input:
3892 <!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
3893 Got:
3894 | <!DOCTYPE html>
3895 | <html>
3896 |   <head>
3897 |   <body>
3898 |     <table>
3899 |       <colgroup>
3900 Expected:
3901 | <!DOCTYPE html>
3902 | <html>
3903 |   <head>
3904 |   <body>
3905 |     <svg svg>
3906 |       <svg g>
3907 |         "foo"
3908 |       <svg g>
3909 |         "bar"
3910 |     <p>
3911 |       "baz"
3912 |     <table>
3913 |       <colgroup>
3914 |     <p>
3915 |       "quux"
3916
3917 Test 16 of 25 in resources/tests10.dat failed. Input:
3918 <!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
3919 Got:
3920 | <!DOCTYPE html>
3921 | <html>
3922 |   <head>
3923 |   <body>
3924 |     <table>
3925 Expected:
3926 | <!DOCTYPE html>
3927 | <html>
3928 |   <head>
3929 |   <body>
3930 |     <table>
3931 |       <tbody>
3932 |         <tr>
3933 |           <td>
3934 |             <select>
3935 |               "foobarbaz"
3936 |     <p>
3937 |       "quux"
3938
3939 Test 17 of 25 in resources/tests10.dat failed. Input:
3940 <!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
3941 Got:
3942 | <!DOCTYPE html>
3943 | <html>
3944 |   <head>
3945 |   <body>
3946 |     <table>
3947 Expected:
3948 | <!DOCTYPE html>
3949 | <html>
3950 |   <head>
3951 |   <body>
3952 |     <select>
3953 |       "foobarbaz"
3954 |     <table>
3955 |     <p>
3956 |       "quux"
3957
3958 Test 18 of 25 in resources/tests10.dat failed. Input:
3959 <!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz
3960 Got:
3961 | <!DOCTYPE html>
3962 | <html>
3963 |   <head>
3964 |   <body>
3965 |     <svg>
3966 |       <g>
3967 |         "foo"
3968 |       <g>
3969 |         "bar"
3970 |       <p>
3971 |         "baz"
3972 Expected:
3973 | <!DOCTYPE html>
3974 | <html>
3975 |   <head>
3976 |   <body>
3977 |     <svg svg>
3978 |       <svg g>
3979 |         "foo"
3980 |       <svg g>
3981 |         "bar"
3982 |     <p>
3983 |       "baz"
3984
3985 Test 19 of 25 in resources/tests10.dat failed. Input:
3986 <!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz
3987 Got:
3988 | <!DOCTYPE html>
3989 | <html>
3990 |   <head>
3991 |   <body>
3992 |     <svg>
3993 |       <g>
3994 |         "foo"
3995 |       <g>
3996 |         "bar"
3997 |       <p>
3998 |         "baz"
3999 Expected:
4000 | <!DOCTYPE html>
4001 | <html>
4002 |   <head>
4003 |   <body>
4004 |     <svg svg>
4005 |       <svg g>
4006 |         "foo"
4007 |       <svg g>
4008 |         "bar"
4009 |     <p>
4010 |       "baz"
4011
4012 Test 22 of 25 in resources/tests10.dat failed. Input:
4013 <!DOCTYPE html><body xlink:href=foo><svg xlink:href=foo></svg>
4014 Got:
4015 | <!DOCTYPE html>
4016 | <html>
4017 |   <head>
4018 |   <body>
4019 |     xlink:href="foo"
4020 |     <svg>
4021 |       xlink:href="foo"
4022 Expected:
4023 | <!DOCTYPE html>
4024 | <html>
4025 |   <head>
4026 |   <body>
4027 |     xlink:href="foo"
4028 |     <svg svg>
4029 |       xlink href="foo"
4030
4031 Test 23 of 25 in resources/tests10.dat failed. Input:
4032 <!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo></g></svg>
4033 Got:
4034 | <!DOCTYPE html>
4035 | <html>
4036 |   <head>
4037 |   <body>
4038 |     xlink:href="foo"
4039 |     xml:lang="en"
4040 |     <svg>
4041 |       <g>
4042 |         xlink:href="foo"
4043 |         xml:lang="en"
4044 Expected:
4045 | <!DOCTYPE html>
4046 | <html>
4047 |   <head>
4048 |   <body>
4049 |     xlink:href="foo"
4050 |     xml:lang="en"
4051 |     <svg svg>
4052 |       <svg g>
4053 |         xlink href="foo"
4054 |         xml lang="en"
4055
4056 Test 24 of 25 in resources/tests10.dat failed. Input:
4057 <!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo /></svg>
4058 Got:
4059 | <!DOCTYPE html>
4060 | <html>
4061 |   <head>
4062 |   <body>
4063 |     xlink:href="foo"
4064 |     xml:lang="en"
4065 |     <svg>
4066 |       <g>
4067 |         xlink:href="foo"
4068 |         xml:lang="en"
4069 Expected:
4070 | <!DOCTYPE html>
4071 | <html>
4072 |   <head>
4073 |   <body>
4074 |     xlink:href="foo"
4075 |     xml:lang="en"
4076 |     <svg svg>
4077 |       <svg g>
4078 |         xlink href="foo"
4079 |         xml lang="en"
4080
4081 Test 25 of 25 in resources/tests10.dat failed. Input:
4082 <!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo />bar</svg>
4083 Got:
4084 | <!DOCTYPE html>
4085 | <html>
4086 |   <head>
4087 |   <body>
4088 |     xlink:href="foo"
4089 |     xml:lang="en"
4090 |     <svg>
4091 |       <g>
4092 |         xlink:href="foo"
4093 |         xml:lang="en"
4094 |         "bar"
4095 Expected:
4096 | <!DOCTYPE html>
4097 | <html>
4098 |   <head>
4099 |   <body>
4100 |     xlink:href="foo"
4101 |     xml:lang="en"
4102 |     <svg svg>
4103 |       <svg g>
4104 |         xlink href="foo"
4105 |         xml lang="en"
4106 |       "bar"
4107 resources/tests11.dat:
4108 1
4109 2
4110 3
4111 4
4112 5
4113 6
4114 7
4115 8
4116 9
4117
4118 Test 1 of 9 in resources/tests11.dat failed. Input:
4119 <!DOCTYPE html><body><svg attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMode='' clipPathUnits='' contentScriptType='' contentStyleType='' diffuseConstant='' edgeMode='' externalResourcesRequired='' filterRes='' filterUnits='' glyphRef='' gradientTransform='' gradientUnits='' kernelMatrix='' kernelUnitLength='' keyPoints='' keySplines='' keyTimes='' lengthAdjust='' limitingConeAngle='' markerHeight='' markerUnits='' markerWidth='' maskContentUnits='' maskUnits='' numOctaves='' pathLength='' patternContentUnits='' patternTransform='' patternUnits='' pointsAtX='' pointsAtY='' pointsAtZ='' preserveAlpha='' preserveAspectRatio='' primitiveUnits='' refX='' refY='' repeatCount='' repeatDur='' requiredExtensions='' requiredFeatures='' specularConstant='' specularExponent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' xChannelSelector='' yChannelSelector='' zoomAndPan=''></svg>
4120 Got:
4121 | <!DOCTYPE html>
4122 | <html>
4123 |   <head>
4124 |   <body>
4125 |     <svg>
4126 |       attributename=""
4127 |       attributetype=""
4128 |       basefrequency=""
4129 |       baseprofile=""
4130 |       calcmode=""
4131 |       clippathunits=""
4132 |       contentscripttype=""
4133 |       contentstyletype=""
4134 |       diffuseconstant=""
4135 |       edgemode=""
4136 |       externalresourcesrequired=""
4137 |       filterres=""
4138 |       filterunits=""
4139 |       glyphref=""
4140 |       gradienttransform=""
4141 |       gradientunits=""
4142 |       kernelmatrix=""
4143 |       kernelunitlength=""
4144 |       keypoints=""
4145 |       keysplines=""
4146 |       keytimes=""
4147 |       lengthadjust=""
4148 |       limitingconeangle=""
4149 |       markerheight=""
4150 |       markerunits=""
4151 |       markerwidth=""
4152 |       maskcontentunits=""
4153 |       maskunits=""
4154 |       numoctaves=""
4155 |       pathlength=""
4156 |       patterncontentunits=""
4157 |       patterntransform=""
4158 |       patternunits=""
4159 |       pointsatx=""
4160 |       pointsaty=""
4161 |       pointsatz=""
4162 |       preservealpha=""
4163 |       preserveaspectratio=""
4164 |       primitiveunits=""
4165 |       refx=""
4166 |       refy=""
4167 |       repeatcount=""
4168 |       repeatdur=""
4169 |       requiredextensions=""
4170 |       requiredfeatures=""
4171 |       specularconstant=""
4172 |       specularexponent=""
4173 |       spreadmethod=""
4174 |       startoffset=""
4175 |       stddeviation=""
4176 |       stitchtiles=""
4177 |       surfacescale=""
4178 |       systemlanguage=""
4179 |       tablevalues=""
4180 |       targetx=""
4181 |       targety=""
4182 |       textlength=""
4183 |       viewbox=""
4184 |       viewtarget=""
4185 |       xchannelselector=""
4186 |       ychannelselector=""
4187 |       zoomandpan=""
4188 Expected:
4189 | <!DOCTYPE html>
4190 | <html>
4191 |   <head>
4192 |   <body>
4193 |     <svg svg>
4194 |       attributeName=""
4195 |       attributeType=""
4196 |       baseFrequency=""
4197 |       baseProfile=""
4198 |       calcMode=""
4199 |       clipPathUnits=""
4200 |       contentScriptType=""
4201 |       contentStyleType=""
4202 |       diffuseConstant=""
4203 |       edgeMode=""
4204 |       externalResourcesRequired=""
4205 |       filterRes=""
4206 |       filterUnits=""
4207 |       glyphRef=""
4208 |       gradientTransform=""
4209 |       gradientUnits=""
4210 |       kernelMatrix=""
4211 |       kernelUnitLength=""
4212 |       keyPoints=""
4213 |       keySplines=""
4214 |       keyTimes=""
4215 |       lengthAdjust=""
4216 |       limitingConeAngle=""
4217 |       markerHeight=""
4218 |       markerUnits=""
4219 |       markerWidth=""
4220 |       maskContentUnits=""
4221 |       maskUnits=""
4222 |       numOctaves=""
4223 |       pathLength=""
4224 |       patternContentUnits=""
4225 |       patternTransform=""
4226 |       patternUnits=""
4227 |       pointsAtX=""
4228 |       pointsAtY=""
4229 |       pointsAtZ=""
4230 |       preserveAlpha=""
4231 |       preserveAspectRatio=""
4232 |       primitiveUnits=""
4233 |       refX=""
4234 |       refY=""
4235 |       repeatCount=""
4236 |       repeatDur=""
4237 |       requiredExtensions=""
4238 |       requiredFeatures=""
4239 |       specularConstant=""
4240 |       specularExponent=""
4241 |       spreadMethod=""
4242 |       startOffset=""
4243 |       stdDeviation=""
4244 |       stitchTiles=""
4245 |       surfaceScale=""
4246 |       systemLanguage=""
4247 |       tableValues=""
4248 |       targetX=""
4249 |       targetY=""
4250 |       textLength=""
4251 |       viewBox=""
4252 |       viewTarget=""
4253 |       xChannelSelector=""
4254 |       yChannelSelector=""
4255 |       zoomAndPan=""
4256
4257 Test 2 of 9 in resources/tests11.dat failed. Input:
4258 <!DOCTYPE html><BODY><SVG ATTRIBUTENAME='' ATTRIBUTETYPE='' BASEFREQUENCY='' BASEPROFILE='' CALCMODE='' CLIPPATHUNITS='' CONTENTSCRIPTTYPE='' CONTENTSTYLETYPE='' DIFFUSECONSTANT='' EDGEMODE='' EXTERNALRESOURCESREQUIRED='' FILTERRES='' FILTERUNITS='' GLYPHREF='' GRADIENTTRANSFORM='' GRADIENTUNITS='' KERNELMATRIX='' KERNELUNITLENGTH='' KEYPOINTS='' KEYSPLINES='' KEYTIMES='' LENGTHADJUST='' LIMITINGCONEANGLE='' MARKERHEIGHT='' MARKERUNITS='' MARKERWIDTH='' MASKCONTENTUNITS='' MASKUNITS='' NUMOCTAVES='' PATHLENGTH='' PATTERNCONTENTUNITS='' PATTERNTRANSFORM='' PATTERNUNITS='' POINTSATX='' POINTSATY='' POINTSATZ='' PRESERVEALPHA='' PRESERVEASPECTRATIO='' PRIMITIVEUNITS='' REFX='' REFY='' REPEATCOUNT='' REPEATDUR='' REQUIREDEXTENSIONS='' REQUIREDFEATURES='' SPECULARCONSTANT='' SPECULAREXPONENT='' SPREADMETHOD='' STARTOFFSET='' STDDEVIATION='' STITCHTILES='' SURFACESCALE='' SYSTEMLANGUAGE='' TABLEVALUES='' TARGETX='' TARGETY='' TEXTLENGTH='' VIEWBOX='' VIEWTARGET='' XCHANNELSELECTOR='' YCHANNELSELECTOR='' ZOOMANDPAN=''></SVG>
4259 Got:
4260 | <!DOCTYPE html>
4261 | <html>
4262 |   <head>
4263 |   <body>
4264 |     <svg>
4265 |       attributename=""
4266 |       attributetype=""
4267 |       basefrequency=""
4268 |       baseprofile=""
4269 |       calcmode=""
4270 |       clippathunits=""
4271 |       contentscripttype=""
4272 |       contentstyletype=""
4273 |       diffuseconstant=""
4274 |       edgemode=""
4275 |       externalresourcesrequired=""
4276 |       filterres=""
4277 |       filterunits=""
4278 |       glyphref=""
4279 |       gradienttransform=""
4280 |       gradientunits=""
4281 |       kernelmatrix=""
4282 |       kernelunitlength=""
4283 |       keypoints=""
4284 |       keysplines=""
4285 |       keytimes=""
4286 |       lengthadjust=""
4287 |       limitingconeangle=""
4288 |       markerheight=""
4289 |       markerunits=""
4290 |       markerwidth=""
4291 |       maskcontentunits=""
4292 |       maskunits=""
4293 |       numoctaves=""
4294 |       pathlength=""
4295 |       patterncontentunits=""
4296 |       patterntransform=""
4297 |       patternunits=""
4298 |       pointsatx=""
4299 |       pointsaty=""
4300 |       pointsatz=""
4301 |       preservealpha=""
4302 |       preserveaspectratio=""
4303 |       primitiveunits=""
4304 |       refx=""
4305 |       refy=""
4306 |       repeatcount=""
4307 |       repeatdur=""
4308 |       requiredextensions=""
4309 |       requiredfeatures=""
4310 |       specularconstant=""
4311 |       specularexponent=""
4312 |       spreadmethod=""
4313 |       startoffset=""
4314 |       stddeviation=""
4315 |       stitchtiles=""
4316 |       surfacescale=""
4317 |       systemlanguage=""
4318 |       tablevalues=""
4319 |       targetx=""
4320 |       targety=""
4321 |       textlength=""
4322 |       viewbox=""
4323 |       viewtarget=""
4324 |       xchannelselector=""
4325 |       ychannelselector=""
4326 |       zoomandpan=""
4327 Expected:
4328 | <!DOCTYPE html>
4329 | <html>
4330 |   <head>
4331 |   <body>
4332 |     <svg svg>
4333 |       attributeName=""
4334 |       attributeType=""
4335 |       baseFrequency=""
4336 |       baseProfile=""
4337 |       calcMode=""
4338 |       clipPathUnits=""
4339 |       contentScriptType=""
4340 |       contentStyleType=""
4341 |       diffuseConstant=""
4342 |       edgeMode=""
4343 |       externalResourcesRequired=""
4344 |       filterRes=""
4345 |       filterUnits=""
4346 |       glyphRef=""
4347 |       gradientTransform=""
4348 |       gradientUnits=""
4349 |       kernelMatrix=""
4350 |       kernelUnitLength=""
4351 |       keyPoints=""
4352 |       keySplines=""
4353 |       keyTimes=""
4354 |       lengthAdjust=""
4355 |       limitingConeAngle=""
4356 |       markerHeight=""
4357 |       markerUnits=""
4358 |       markerWidth=""
4359 |       maskContentUnits=""
4360 |       maskUnits=""
4361 |       numOctaves=""
4362 |       pathLength=""
4363 |       patternContentUnits=""
4364 |       patternTransform=""
4365 |       patternUnits=""
4366 |       pointsAtX=""
4367 |       pointsAtY=""
4368 |       pointsAtZ=""
4369 |       preserveAlpha=""
4370 |       preserveAspectRatio=""
4371 |       primitiveUnits=""