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