492bce3397400791bb9ca1e8c35e693f55cf52e2
[WebKit-https.git] / LayoutTests / html5lib / runner-expected-html5.txt
1 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
2 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
3 CONSOLE MESSAGE: line 2: PASS
4 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
5 Content-Type: text/plain
6 resources/tests1.dat:
7 30
8 32
9 50
10 56
11 78
12 79
13 80
14 103
15
16 Test 30 of 113 in resources/tests1.dat failed. Input:
17 <a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y
18 Got:
19 | <html>
20 |   <head>
21 |   <body>
22 |     <a>
23 |       <a>
24 |       <table>
25 |         <tbody>
26 |           <tr>
27 |             <td>
28 |               <a>
29 |                 <table>
30 |               <a>
31 |       <a>
32 |         <b>
33 |           "X"
34 |         "C"
35 |       <a>
36 |         "Y"
37 Expected:
38 | <html>
39 |   <head>
40 |   <body>
41 |     <a>
42 |       <a>
43 |       <table>
44 |         <tbody>
45 |           <tr>
46 |             <td>
47 |               <a>
48 |                 <table>
49 |               <a>
50 |     <a>
51 |       <b>
52 |         "X"
53 |       "C"
54 |     <a>
55 |       "Y"
56
57 Test 32 of 113 in resources/tests1.dat failed. Input:
58 <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
59 Got:
60 | <!-- - -->
61 | <html>
62 |   <head>
63 |   <body>
64 |     <font>
65 |       <div>
66 |         "hello"
67 |         <b>
68 |           "me!"
69 |         <table>
70 |           "excite!"
71 |           <tbody>
72 |             <tr>
73 |               <th>
74 |                 <i>
75 |                   "please!"
76 |             <!-- X -->
77 Expected:
78 | <!-- - -->
79 | <html>
80 |   <head>
81 |   <body>
82 |     <font>
83 |       <div>
84 |         "helloexcite!"
85 |         <b>
86 |           "me!"
87 |         <table>
88 |           <tbody>
89 |             <tr>
90 |               <th>
91 |                 <i>
92 |                   "please!"
93 |             <!-- X -->
94
95 Test 50 of 113 in resources/tests1.dat failed. Input:
96 <!DOCTYPE html><script> <!-- </script> --> </script> EOF
97 Got:
98 | <!DOCTYPE html>
99 | <html>
100 |   <head>
101 |     <script>
102 |       " <!-- "
103 |   <body>
104 |     " -->  EOF"
105 Expected:
106 | <!DOCTYPE html>
107 | <html>
108 |   <head>
109 |     <script>
110 |       " <!-- "
111 |     " "
112 |   <body>
113 |     "-->  EOF"
114
115 Test 56 of 113 in resources/tests1.dat failed. Input:
116 <font><p>hello<b>cruel</font>world
117 Got:
118 | <html>
119 |   <head>
120 |   <body>
121 |     <font>
122 |     <p>
123 |       <font>
124 |         "hello"
125 |         <b>
126 |           "cruel"
127 |       "world"
128 Expected:
129 | <html>
130 |   <head>
131 |   <body>
132 |     <font>
133 |     <p>
134 |       <font>
135 |         "hello"
136 |         <b>
137 |           "cruel"
138 |       <b>
139 |         "world"
140
141 Test 78 of 113 in resources/tests1.dat failed. Input:
142 <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe
143 Got:
144 | <html>
145 |   <head>
146 |   <body>
147 |     <a>
148 |       href="blah"
149 |       "aba"
150 |       <a>
151 |         href="foo"
152 |         "br"
153 |       <table>
154 |         <tbody>
155 |           <tr>
156 |             <td>
157 |           "x"
158 |     "aoe"
159 Expected:
160 | <html>
161 |   <head>
162 |   <body>
163 |     <a>
164 |       href="blah"
165 |       "aba"
166 |       <a>
167 |         href="foo"
168 |         "br"
169 |       <a>
170 |         href="foo"
171 |         "x"
172 |       <table>
173 |         <tbody>
174 |           <tr>
175 |             <td>
176 |     <a>
177 |       href="foo"
178 |       "aoe"
179
180 Test 79 of 113 in resources/tests1.dat failed. Input:
181 <a href="blah">aba<table><tr><td><a href="foo">br</td></tr>x</table>aoe
182 Got:
183 | <html>
184 |   <head>
185 |   <body>
186 |     <a>
187 |       href="blah"
188 |       "aba"
189 |       <table>
190 |         <tbody>
191 |           <tr>
192 |             <td>
193 |               <a>
194 |                 href="foo"
195 |                 "br"
196 |           "x"
197 |       "aoe"
198 Expected:
199 | <html>
200 |   <head>
201 |   <body>
202 |     <a>
203 |       href="blah"
204 |       "abax"
205 |       <table>
206 |         <tbody>
207 |           <tr>
208 |             <td>
209 |               <a>
210 |                 href="foo"
211 |                 "br"
212 |       "aoe"
213
214 Test 80 of 113 in resources/tests1.dat failed. Input:
215 <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe
216 Got:
217 | <html>
218 |   <head>
219 |   <body>
220 |     <a>
221 |       href="blah"
222 |       "aba"
223 |     <table>
224 |       <tbody>
225 |         <tr>
226 |           <td>
227 |             <a>
228 |               href="foo"
229 |               "br"
230 |         "x"
231 |     "aoe"
232 Expected:
233 | <html>
234 |   <head>
235 |   <body>
236 |     <a>
237 |       href="blah"
238 |       "aba"
239 |     <a>
240 |       href="blah"
241 |       "x"
242 |     <table>
243 |       <tbody>
244 |         <tr>
245 |           <td>
246 |             <a>
247 |               href="foo"
248 |               "br"
249 |     <a>
250 |       href="blah"
251 |       "aoe"
252
253 Test 103 of 113 in resources/tests1.dat failed. Input:
254 <a><table><td><a><table></table><a></tr><a></table><a>
255 Got:
256 | <html>
257 |   <head>
258 |   <body>
259 |     <a>
260 |       <a>
261 |       <table>
262 |         <tbody>
263 |           <tr>
264 |             <td>
265 |               <a>
266 |                 <table>
267 |               <a>
268 |       <a>
269 Expected:
270 | <html>
271 |   <head>
272 |   <body>
273 |     <a>
274 |       <a>
275 |       <table>
276 |         <tbody>
277 |           <tr>
278 |             <td>
279 |               <a>
280 |                 <table>
281 |               <a>
282 |     <a>
283 resources/tests2.dat:
284 13
285 47
286 48
287 49
288
289 Test 13 of 59 in resources/tests2.dat failed. Input:
290 <!DOCTYPE html><table><tr>TEST
291 Got:
292 | <!DOCTYPE html>
293 | <html>
294 |   <head>
295 |   <body>
296 |     <table>
297 |       <tbody>
298 |         <tr>
299 |           "TEST"
300 Expected:
301 | <!DOCTYPE html>
302 | <html>
303 |   <head>
304 |   <body>
305 |     "TEST"
306 |     <table>
307 |       <tbody>
308 |         <tr>
309
310 Test 47 of 59 in resources/tests2.dat failed. Input:
311  
312  
313 Got:
314 | <html>
315 |   <head>
316 |   <body>
317 |     " 
318  "
319 Expected:
320 | <html>
321 |   <head>
322 |   <body>
323
324 Test 48 of 59 in resources/tests2.dat failed. Input:
325 <!DOCTYPE html>  <html>
326 Got:
327 | <!DOCTYPE html>
328 | <html>
329 |   <head>
330 |   <body>
331 |     "  "
332 Expected:
333 | <!DOCTYPE html>
334 | <html>
335 |   <head>
336 |   <body>
337
338 Test 49 of 59 in resources/tests2.dat failed. Input:
339 <!DOCTYPE html><script>
340 </script>  <title>x</title>  </head>
341 Got:
342 | <!DOCTYPE html>
343 | <html>
344 |   <head>
345 |     <script>
346 |       "
347 "
348 |   <body>
349 |     "  "
350 |     <title>
351 |       "x"
352 |     "  "
353 Expected:
354 | <!DOCTYPE html>
355 | <html>
356 |   <head>
357 |     <script>
358 |       "
359 "
360 |     "  "
361 |     <title>
362 |       "x"
363 |     "  "
364 |   <body>
365 resources/tests3.dat:
366 16
367 17
368 18
369 20
370 21
371 22
372
373 Test 16 of 23 in resources/tests3.dat failed. Input:
374 <!DOCTYPE html><textarea>
375 </textarea>
376 Got:
377 | <!DOCTYPE html>
378 | <html>
379 |   <head>
380 |   <body>
381 |     <textarea>
382 |       "
383 "
384 Expected:
385 | <!DOCTYPE html>
386 | <html>
387 |   <head>
388 |   <body>
389 |     <textarea>
390
391 Test 17 of 23 in resources/tests3.dat failed. Input:
392 <!DOCTYPE html><textarea>
393 foo</textarea>
394 Got:
395 | <!DOCTYPE html>
396 | <html>
397 |   <head>
398 |   <body>
399 |     <textarea>
400 |       "
401 foo"
402 Expected:
403 | <!DOCTYPE html>
404 | <html>
405 |   <head>
406 |   <body>
407 |     <textarea>
408 |       "foo"
409
410 Test 18 of 23 in resources/tests3.dat failed. Input:
411 <!DOCTYPE html><textarea>
412
413 foo</textarea>
414 Got:
415 | <!DOCTYPE html>
416 | <html>
417 |   <head>
418 |   <body>
419 |     <textarea>
420 |       "
421
422 foo"
423 Expected:
424 | <!DOCTYPE html>
425 | <html>
426 |   <head>
427 |   <body>
428 |     <textarea>
429 |       "
430 foo"
431
432 Test 20 of 23 in resources/tests3.dat failed. Input:
433 <!doctype html><nobr><nobr><nobr>
434 Got:
435 | <!DOCTYPE html>
436 | <html>
437 |   <head>
438 |   <body>
439 |     <nobr>
440 |       <nobr>
441 |         <nobr>
442 Expected:
443 | <!DOCTYPE html>
444 | <html>
445 |   <head>
446 |   <body>
447 |     <nobr>
448 |     <nobr>
449 |     <nobr>
450
451 Test 21 of 23 in resources/tests3.dat failed. Input:
452 <!doctype html><nobr><nobr></nobr><nobr>
453 Got:
454 | <!DOCTYPE html>
455 | <html>
456 |   <head>
457 |   <body>
458 |     <nobr>
459 |       <nobr>
460 |       <nobr>
461 Expected:
462 | <!DOCTYPE html>
463 | <html>
464 |   <head>
465 |   <body>
466 |     <nobr>
467 |     <nobr>
468 |     <nobr>
469
470 Test 22 of 23 in resources/tests3.dat failed. Input:
471 <!doctype html><html><body><p><table></table></body></html>
472 Got:
473 | <!DOCTYPE html>
474 | <html>
475 |   <head>
476 |   <body>
477 |     <p>
478 |       <table>
479 Expected:
480 | <!DOCTYPE html>
481 | <html>
482 |   <head>
483 |   <body>
484 |     <p>
485 |     <table>
486 resources/tests4.dat:
487 3
488 5
489 6
490 7
491
492 Test 3 of 7 in resources/tests4.dat failed. Input:
493 textarea content with <em>pseudo</em> <foo>markup
494 Got:
495 | "textarea content with "
496 | <em>
497 |   "pseudo"
498 | " "
499 | <foo>
500 |   "markup"
501 Expected:
502 | "textarea content with <em>pseudo</em> <foo>markup"
503
504 Test 5 of 7 in resources/tests4.dat failed. Input:
505 </plaintext>
506 Got:
507
508 Expected:
509 | "</plaintext>"
510
511 Test 6 of 7 in resources/tests4.dat failed. Input:
512 setting html's innerHTML
513 Got:
514 | "setting html's innerHTML"
515 Expected:
516 | <head>
517 | <body>
518 |   "setting html's innerHTML"
519
520 Test 7 of 7 in resources/tests4.dat failed. Input:
521 <title>setting head's innerHTML</title>
522 Got:
523
524 Expected:
525 | <title>
526 |   "setting head's innerHTML"
527 resources/tests5.dat:
528 2
529 7
530 8
531
532 Test 2 of 16 in resources/tests5.dat failed. Input:
533 <style> <!-- </style> --> </style>x
534 Got:
535 | <html>
536 |   <head>
537 |     <style>
538 |       " <!-- "
539 |   <body>
540 |     " --> x"
541 Expected:
542 | <html>
543 |   <head>
544 |     <style>
545 |       " <!-- "
546 |     " "
547 |   <body>
548 |     "--> x"
549
550 Test 7 of 16 in resources/tests5.dat failed. Input:
551 <script> <!-- </script> --> </script>x
552 Got:
553 | <html>
554 |   <head>
555 |     <script>
556 |       " <!-- "
557 |   <body>
558 |     " --> x"
559 Expected:
560 | <html>
561 |   <head>
562 |     <script>
563 |       " <!-- "
564 |     " "
565 |   <body>
566 |     "--> x"
567
568 Test 8 of 16 in resources/tests5.dat failed. Input:
569 <title> <!-- </title> --> </title>x
570 Got:
571 | <html>
572 |   <head>
573 |     <title>
574 |       " <!-- "
575 |   <body>
576 |     " --> x"
577 Expected:
578 | <html>
579 |   <head>
580 |     <title>
581 |       " <!-- "
582 |     " "
583 |   <body>
584 |     "--> x"
585 resources/tests6.dat:
586 1
587 8
588 9
589 10
590 11
591 12
592 13
593 14
594 26
595 27
596 30
597 37
598 42
599 44
600 45
601 46
602 47
603
604 Test 1 of 51 in resources/tests6.dat failed. Input:
605 <!doctype html></head> <head>
606 Got:
607 | <!DOCTYPE html>
608 | <html>
609 |   <head>
610 |   <body>
611 |     " "
612 Expected:
613 | <!DOCTYPE html>
614 | <html>
615 |   <head>
616 |   " "
617 |   <body>
618
619 Test 8 of 51 in resources/tests6.dat failed. Input:
620 <frameset></frameset>
621 foo
622 Got:
623 | <html>
624 |   <head>
625 |   <frameset>
626 Expected:
627 | <html>
628 |   <head>
629 |   <frameset>
630 |   "
631 "
632
633 Test 9 of 51 in resources/tests6.dat failed. Input:
634 <frameset></frameset>
635 <noframes>
636 Got:
637 | <html>
638 |   <head>
639 |   <frameset>
640 |   <noframes>
641 Expected:
642 | <html>
643 |   <head>
644 |   <frameset>
645 |   "
646 "
647 |   <noframes>
648
649 Test 10 of 51 in resources/tests6.dat failed. Input:
650 <frameset></frameset>
651 <div>
652 Got:
653 | <html>
654 |   <head>
655 |   <frameset>
656 Expected:
657 | <html>
658 |   <head>
659 |   <frameset>
660 |   "
661 "
662
663 Test 11 of 51 in resources/tests6.dat failed. Input:
664 <frameset></frameset>
665 </html>
666 Got:
667 | <html>
668 |   <head>
669 |   <frameset>
670 Expected:
671 | <html>
672 |   <head>
673 |   <frameset>
674 |   "
675 "
676
677 Test 12 of 51 in resources/tests6.dat failed. Input:
678 <frameset></frameset>
679 </div>
680 Got:
681 | <html>
682 |   <head>
683 |   <frameset>
684 Expected:
685 | <html>
686 |   <head>
687 |   <frameset>
688 |   "
689 "
690
691 Test 13 of 51 in resources/tests6.dat failed. Input:
692 <form><form>
693 Got:
694 | <html>
695 |   <head>
696 |   <body>
697 |     <form>
698 |       <form>
699 Expected:
700 | <html>
701 |   <head>
702 |   <body>
703 |     <form>
704
705 Test 14 of 51 in resources/tests6.dat failed. Input:
706 <button><button>
707 Got:
708 | <html>
709 |   <head>
710 |   <body>
711 |     <button>
712 |       <button>
713 Expected:
714 | <html>
715 |   <head>
716 |   <body>
717 |     <button>
718 |     <button>
719
720 Test 26 of 51 in resources/tests6.dat failed. Input:
721 <table><colgroup>foo
722 Got:
723 | <html>
724 |   <head>
725 |   <body>
726 |     <table>
727 |       <colgroup>
728 Expected:
729 | <html>
730 |   <head>
731 |   <body>
732 |     "foo"
733 |     <table>
734 |       <colgroup>
735
736 Test 27 of 51 in resources/tests6.dat failed. Input:
737 foo<col>
738 Got:
739
740 Expected:
741 | <col>
742
743 Test 30 of 51 in resources/tests6.dat failed. Input:
744 </frameset><frame>
745 Got:
746
747 Expected:
748 | <frame>
749
750 Test 37 of 51 in resources/tests6.dat failed. Input:
751 <caption><col><colgroup><tbody><tfoot><thead><tr>
752 Got:
753 | <caption>
754 | <colgroup>
755 | <tbody>
756 | <tfoot>
757 | <thead>
758 |   <tr>
759 Expected:
760 | <tr>
761
762 Test 42 of 51 in resources/tests6.dat failed. Input:
763 <table><table>
764 Got:
765 | <html>
766 |   <head>
767 |   <body>
768 |     <table>
769 Expected:
770 | <html>
771 |   <head>
772 |   <body>
773 |     <table>
774 |     <table>
775
776 Test 44 of 51 in resources/tests6.dat failed. Input:
777 </table><tr>
778 Got:
779 | <tr>
780 Expected:
781 | <tbody>
782 |   <tr>
783
784 Test 45 of 51 in resources/tests6.dat failed. Input:
785 <body></body></html>
786 Got:
787
788 Expected:
789 | <head>
790 | <body>
791
792 Test 46 of 51 in resources/tests6.dat failed. Input:
793 <html><frameset></frameset></html> 
794 Got:
795 | <html>
796 |   <head>
797 |   <frameset>
798 Expected:
799 | <html>
800 |   <head>
801 |   <frameset>
802 |   " "
803
804 Test 47 of 51 in resources/tests6.dat failed. Input:
805 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
806 Got:
807 | <!DOCTYPE html>
808 | <html>
809 |   <head>
810 |   <body>
811 Expected:
812 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
813 | <html>
814 |   <head>
815 |   <body>
816 resources/tests7.dat:
817 6
818 7
819 8
820 15
821 16
822 17
823 18
824 19
825 24
826 27
827 28
828 29
829 30
830
831 Test 6 of 30 in resources/tests7.dat failed. Input:
832 <!doctype html><table>X<tr><td><table> <meta></table></table>
833 Got:
834 | <!DOCTYPE html>
835 | <html>
836 |   <head>
837 |   <body>
838 |     <table>
839 |       "X"
840 |       <tbody>
841 |         <tr>
842 |           <td>
843 |             <meta>
844 |             <table>
845 |               " "
846 Expected:
847 | <!DOCTYPE html>
848 | <html>
849 |   <head>
850 |   <body>
851 |     "X"
852 |     <table>
853 |       <tbody>
854 |         <tr>
855 |           <td>
856 |             <meta>
857 |             <table>
858 |               " "
859
860 Test 7 of 30 in resources/tests7.dat failed. Input:
861 <!doctype html><html> <head>
862 Got:
863 | <!DOCTYPE html>
864 | <html>
865 |   <head>
866 |   <body>
867 |     " "
868 Expected:
869 | <!DOCTYPE html>
870 | <html>
871 |   <head>
872 |   <body>
873
874 Test 8 of 30 in resources/tests7.dat failed. Input:
875 <!doctype html> <head>
876 Got:
877 | <!DOCTYPE html>
878 | <html>
879 |   <head>
880 |   <body>
881 |     " "
882 Expected:
883 | <!DOCTYPE html>
884 | <html>
885 |   <head>
886 |   <body>
887
888 Test 15 of 30 in resources/tests7.dat failed. Input:
889 <!doctype html><table><input type=hidDEN></table>
890 Got:
891 | <!DOCTYPE html>
892 | <html>
893 |   <head>
894 |   <body>
895 |     <table>
896 Expected:
897 | <!DOCTYPE html>
898 | <html>
899 |   <head>
900 |   <body>
901 |     <table>
902 |       <input>
903 |         type="hidDEN"
904
905 Test 16 of 30 in resources/tests7.dat failed. Input:
906 <!doctype html><table>X<input type=hidDEN></table>
907 Got:
908 | <!DOCTYPE html>
909 | <html>
910 |   <head>
911 |   <body>
912 |     <table>
913 |       "X"
914 Expected:
915 | <!DOCTYPE html>
916 | <html>
917 |   <head>
918 |   <body>
919 |     "X"
920 |     <table>
921 |       <input>
922 |         type="hidDEN"
923
924 Test 17 of 30 in resources/tests7.dat failed. Input:
925 <!doctype html><table>  <input type=hidDEN></table>
926 Got:
927 | <!DOCTYPE html>
928 | <html>
929 |   <head>
930 |   <body>
931 |     <table>
932 |       "  "
933 Expected:
934 | <!DOCTYPE html>
935 | <html>
936 |   <head>
937 |   <body>
938 |     <table>
939 |       "  "
940 |       <input>
941 |         type="hidDEN"
942
943 Test 18 of 30 in resources/tests7.dat failed. Input:
944 <!doctype html><table>  <input type='hidDEN'></table>
945 Got:
946 | <!DOCTYPE html>
947 | <html>
948 |   <head>
949 |   <body>
950 |     <table>
951 |       "  "
952 Expected:
953 | <!DOCTYPE html>
954 | <html>
955 |   <head>
956 |   <body>
957 |     <table>
958 |       "  "
959 |       <input>
960 |         type="hidDEN"
961
962 Test 19 of 30 in resources/tests7.dat failed. Input:
963 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
964 Got:
965 | <!DOCTYPE html>
966 | <html>
967 |   <head>
968 |   <body>
969 |     <table>
970 Expected:
971 | <!DOCTYPE html>
972 | <html>
973 |   <head>
974 |   <body>
975 |     <input>
976 |       type=" hidden"
977 |     <table>
978 |       <input>
979 |         type="hidDEN"
980
981 Test 24 of 30 in resources/tests7.dat failed. Input:
982 <body>X</body></body>
983 Got:
984 | "X"
985 Expected:
986 | <head>
987 | <body>
988 |   "X"
989
990 Test 27 of 30 in resources/tests7.dat failed. Input:
991 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
992 Got:
993 | <html>
994 |   <head>
995 |   <body>
996 |     <b>
997 |     <table>
998 |       <tbody>
999 |         <tr>
1000 |           <td>
1001 |             "aaa"
1002 |         "bbb"
1003 |     "ccc"
1004 Expected:
1005 | <html>
1006 |   <head>
1007 |   <body>
1008 |     <b>
1009 |     <b>
1010 |       "bbb"
1011 |     <table>
1012 |       <tbody>
1013 |         <tr>
1014 |           <td>
1015 |             "aaa"
1016 |     <b>
1017 |       "ccc"
1018
1019 Test 28 of 30 in resources/tests7.dat failed. Input:
1020 A<table><tr> B</tr> B</table>
1021 Got:
1022 | <html>
1023 |   <head>
1024 |   <body>
1025 |     "A"
1026 |     <table>
1027 |       <tbody>
1028 |         <tr>
1029 |           " B"
1030 |         " B"
1031 Expected:
1032 | <html>
1033 |   <head>
1034 |   <body>
1035 |     "A B B"
1036 |     <table>
1037 |       <tbody>
1038 |         <tr>
1039
1040 Test 29 of 30 in resources/tests7.dat failed. Input:
1041 A<table><tr> B</tr> </em>C</table>
1042 Got:
1043 | <html>
1044 |   <head>
1045 |   <body>
1046 |     "A"
1047 |     <table>
1048 |       <tbody>
1049 |         <tr>
1050 |           " B"
1051 |         " C"
1052 Expected:
1053 | <html>
1054 |   <head>
1055 |   <body>
1056 |     "A BC"
1057 |     <table>
1058 |       <tbody>
1059 |         <tr>
1060 |         " "
1061
1062 Test 30 of 30 in resources/tests7.dat failed. Input:
1063 <select><keygen>
1064 Got:
1065 | <html>
1066 |   <head>
1067 |   <body>
1068 |     <select>
1069 |     <keygen>
1070 |       <option>
1071 |         "2048 (High Grade)"
1072 |       <option>
1073 |         "1024 (Medium Grade)"
1074 |       <option>
1075 |         "512 (Low Grade)"
1076 Expected:
1077 | <html>
1078 |   <head>
1079 |   <body>
1080 |     <select>
1081 |     <keygen>
1082 resources/tests8.dat:
1083 1
1084 2
1085 3
1086 4
1087 5
1088 6
1089 7
1090
1091 Test 1 of 9 in resources/tests8.dat failed. Input:
1092 <div>
1093 <div></div>
1094 </span>x
1095 Got:
1096 | <html>
1097 |   <head>
1098 |   <body>
1099 |     <div>
1100 |       "
1101 "
1102 |       <div>
1103 |     "
1104 x"
1105 Expected:
1106 | <html>
1107 |   <head>
1108 |   <body>
1109 |     <div>
1110 |       "
1111 "
1112 |       <div>
1113 |       "
1114 x"
1115
1116 Test 2 of 9 in resources/tests8.dat failed. Input:
1117 <div>x<div></div>
1118 </span>x
1119 Got:
1120 | <html>
1121 |   <head>
1122 |   <body>
1123 |     <div>
1124 |       "x"
1125 |       <div>
1126 |     "
1127 x"
1128 Expected:
1129 | <html>
1130 |   <head>
1131 |   <body>
1132 |     <div>
1133 |       "x"
1134 |       <div>
1135 |       "
1136 x"
1137
1138 Test 3 of 9 in resources/tests8.dat failed. Input:
1139 <div>x<div></div>x</span>x
1140 Got:
1141 | <html>
1142 |   <head>
1143 |   <body>
1144 |     <div>
1145 |       "x"
1146 |       <div>
1147 |     "xx"
1148 Expected:
1149 | <html>
1150 |   <head>
1151 |   <body>
1152 |     <div>
1153 |       "x"
1154 |       <div>
1155 |       "xx"
1156
1157 Test 4 of 9 in resources/tests8.dat failed. Input:
1158 <div>x<div></div>y</span>z
1159 Got:
1160 | <html>
1161 |   <head>
1162 |   <body>
1163 |     <div>
1164 |       "x"
1165 |       <div>
1166 |     "yz"
1167 Expected:
1168 | <html>
1169 |   <head>
1170 |   <body>
1171 |     <div>
1172 |       "x"
1173 |       <div>
1174 |       "yz"
1175
1176 Test 5 of 9 in resources/tests8.dat failed. Input:
1177 <table><div>x<div></div>x</span>x
1178 Got:
1179 | <html>
1180 |   <head>
1181 |   <body>
1182 |     <div>
1183 |       "x"
1184 |       <div>
1185 |     <table>
1186 |       "xx"
1187 Expected:
1188 | <html>
1189 |   <head>
1190 |   <body>
1191 |     <div>
1192 |       "x"
1193 |       <div>
1194 |       "xx"
1195 |     <table>
1196
1197 Test 6 of 9 in resources/tests8.dat failed. Input:
1198 x<table>x
1199 Got:
1200 | <html>
1201 |   <head>
1202 |   <body>
1203 |     "x"
1204 |     <table>
1205 |       "x"
1206 Expected:
1207 | <html>
1208 |   <head>
1209 |   <body>
1210 |     "xx"
1211 |     <table>
1212
1213 Test 7 of 9 in resources/tests8.dat failed. Input:
1214 x<table><table>x
1215 Got:
1216 | <html>
1217 |   <head>
1218 |   <body>
1219 |     "x"
1220 |     <table>
1221 |       "x"
1222 Expected:
1223 | <html>
1224 |   <head>
1225 |   <body>
1226 |     "x"
1227 |     <table>
1228 |     "x"
1229 |     <table>
1230 resources/tests9.dat:
1231 1
1232 2
1233 5
1234 6
1235 7
1236 8
1237 9
1238 10
1239 11
1240 12
1241 13
1242 14
1243 15
1244 18
1245 19
1246 22
1247 23
1248 24
1249 25
1250
1251 Test 1 of 25 in resources/tests9.dat failed. Input:
1252 <!DOCTYPE html><math></math>
1253 Got:
1254 | <!DOCTYPE html>
1255 | <html>
1256 |   <head>
1257 |   <body>
1258 |     <math>
1259 Expected:
1260 | <!DOCTYPE html>
1261 | <html>
1262 |   <head>
1263 |   <body>
1264 |     <math math>
1265
1266 Test 2 of 25 in resources/tests9.dat failed. Input:
1267 <!DOCTYPE html><body><math></math>
1268 Got:
1269 | <!DOCTYPE html>
1270 | <html>
1271 |   <head>
1272 |   <body>
1273 |     <math>
1274 Expected:
1275 | <!DOCTYPE html>
1276 | <html>
1277 |   <head>
1278 |   <body>
1279 |     <math math>
1280
1281 Test 5 of 25 in resources/tests9.dat failed. Input:
1282 <!DOCTYPE html><body><table><math></math></table>
1283 Got:
1284 | <!DOCTYPE html>
1285 | <html>
1286 |   <head>
1287 |   <body>
1288 |     <math>
1289 |     <table>
1290 Expected:
1291 | <!DOCTYPE html>
1292 | <html>
1293 |   <head>
1294 |   <body>
1295 |     <math math>
1296 |     <table>
1297
1298 Test 6 of 25 in resources/tests9.dat failed. Input:
1299 <!DOCTYPE html><body><table><math><mi>foo</mi></math></table>
1300 Got:
1301 | <!DOCTYPE html>
1302 | <html>
1303 |   <head>
1304 |   <body>
1305 |     <math>
1306 |       <mi>
1307 |         "foo"
1308 |     <table>
1309 Expected:
1310 | <!DOCTYPE html>
1311 | <html>
1312 |   <head>
1313 |   <body>
1314 |     <math math>
1315 |       <math mi>
1316 |         "foo"
1317 |     <table>
1318
1319 Test 7 of 25 in resources/tests9.dat failed. Input:
1320 <!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>
1321 Got:
1322 | <!DOCTYPE html>
1323 | <html>
1324 |   <head>
1325 |   <body>
1326 |     <math>
1327 |       <mi>
1328 |         "foo"
1329 |       <mi>
1330 |         "bar"
1331 |     <table>
1332 Expected:
1333 | <!DOCTYPE html>
1334 | <html>
1335 |   <head>
1336 |   <body>
1337 |     <math math>
1338 |       <math mi>
1339 |         "foo"
1340 |       <math mi>
1341 |         "bar"
1342 |     <table>
1343
1344 Test 8 of 25 in resources/tests9.dat failed. Input:
1345 <!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>
1346 Got:
1347 | <!DOCTYPE html>
1348 | <html>
1349 |   <head>
1350 |   <body>
1351 |     <math>
1352 |       <mi>
1353 |         "foo"
1354 |       <mi>
1355 |         "bar"
1356 |     <table>
1357 |       <tbody>
1358 Expected:
1359 | <!DOCTYPE html>
1360 | <html>
1361 |   <head>
1362 |   <body>
1363 |     <math math>
1364 |       <math mi>
1365 |         "foo"
1366 |       <math mi>
1367 |         "bar"
1368 |     <table>
1369 |       <tbody>
1370
1371 Test 9 of 25 in resources/tests9.dat failed. Input:
1372 <!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>
1373 Got:
1374 | <!DOCTYPE html>
1375 | <html>
1376 |   <head>
1377 |   <body>
1378 |     <math>
1379 |       <mi>
1380 |         "foo"
1381 |       <mi>
1382 |         "bar"
1383 |     <table>
1384 |       <tbody>
1385 |         <tr>
1386 Expected:
1387 | <!DOCTYPE html>
1388 | <html>
1389 |   <head>
1390 |   <body>
1391 |     <math math>
1392 |       <math mi>
1393 |         "foo"
1394 |       <math mi>
1395 |         "bar"
1396 |     <table>
1397 |       <tbody>
1398 |         <tr>
1399
1400 Test 10 of 25 in resources/tests9.dat failed. Input:
1401 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>
1402 Got:
1403 | <!DOCTYPE html>
1404 | <html>
1405 |   <head>
1406 |   <body>
1407 |     <table>
1408 |       <tbody>
1409 |         <tr>
1410 |           <td>
1411 |             <math>
1412 |               <mi>
1413 |                 "foo"
1414 |               <mi>
1415 |                 "bar"
1416 Expected:
1417 | <!DOCTYPE html>
1418 | <html>
1419 |   <head>
1420 |   <body>
1421 |     <table>
1422 |       <tbody>
1423 |         <tr>
1424 |           <td>
1425 |             <math math>
1426 |               <math mi>
1427 |                 "foo"
1428 |               <math mi>
1429 |                 "bar"
1430
1431 Test 11 of 25 in resources/tests9.dat failed. Input:
1432 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>
1433 Got:
1434 | <!DOCTYPE html>
1435 | <html>
1436 |   <head>
1437 |   <body>
1438 |     <table>
1439 |       <tbody>
1440 |         <tr>
1441 |           <td>
1442 |             <math>
1443 |               <mi>
1444 |                 "foo"
1445 |               <mi>
1446 |                 "bar"
1447 |             <p>
1448 |               "baz"
1449 Expected:
1450 | <!DOCTYPE html>
1451 | <html>
1452 |   <head>
1453 |   <body>
1454 |     <table>
1455 |       <tbody>
1456 |         <tr>
1457 |           <td>
1458 |             <math math>
1459 |               <math mi>
1460 |                 "foo"
1461 |               <math mi>
1462 |                 "bar"
1463 |             <p>
1464 |               "baz"
1465
1466 Test 12 of 25 in resources/tests9.dat failed. Input:
1467 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>
1468 Got:
1469 | <!DOCTYPE html>
1470 | <html>
1471 |   <head>
1472 |   <body>
1473 |     <table>
1474 |       <caption>
1475 |         <math>
1476 |           <mi>
1477 |             "foo"
1478 |           <mi>
1479 |             "bar"
1480 |         <p>
1481 |           "baz"
1482 Expected:
1483 | <!DOCTYPE html>
1484 | <html>
1485 |   <head>
1486 |   <body>
1487 |     <table>
1488 |       <caption>
1489 |         <math math>
1490 |           <math mi>
1491 |             "foo"
1492 |           <math mi>
1493 |             "bar"
1494 |         <p>
1495 |           "baz"
1496
1497 Test 13 of 25 in resources/tests9.dat failed. Input:
1498 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
1499 Got:
1500 | <!DOCTYPE html>
1501 | <html>
1502 |   <head>
1503 |   <body>
1504 |     <table>
1505 |       <caption>
1506 |         <math>
1507 |           <mi>
1508 |             "foo"
1509 |           <mi>
1510 |             "bar"
1511 |           <p>
1512 |             "baz"
1513 |     <p>
1514 |       "quux"
1515 Expected:
1516 | <!DOCTYPE html>
1517 | <html>
1518 |   <head>
1519 |   <body>
1520 |     <table>
1521 |       <caption>
1522 |         <math math>
1523 |           <math mi>
1524 |             "foo"
1525 |           <math mi>
1526 |             "bar"
1527 |         <p>
1528 |           "baz"
1529 |     <p>
1530 |       "quux"
1531
1532 Test 14 of 25 in resources/tests9.dat failed. Input:
1533 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
1534 Got:
1535 | <!DOCTYPE html>
1536 | <html>
1537 |   <head>
1538 |   <body>
1539 |     <table>
1540 |       <caption>
1541 |         <math>
1542 |           <mi>
1543 |             "foo"
1544 |           <mi>
1545 |             "bar"
1546 |           "baz"
1547 |     <p>
1548 |       "quux"
1549 Expected:
1550 | <!DOCTYPE html>
1551 | <html>
1552 |   <head>
1553 |   <body>
1554 |     <table>
1555 |       <caption>
1556 |         <math math>
1557 |           <math mi>
1558 |             "foo"
1559 |           <math mi>
1560 |             "bar"
1561 |           "baz"
1562 |     <p>
1563 |       "quux"
1564
1565 Test 15 of 25 in resources/tests9.dat failed. Input:
1566 <!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
1567 Got:
1568 | <!DOCTYPE html>
1569 | <html>
1570 |   <head>
1571 |   <body>
1572 |     <math>
1573 |       <mi>
1574 |         "foo"
1575 |       <mi>
1576 |         "bar"
1577 |       <p>
1578 |         "baz"
1579 |     <table>
1580 |       <colgroup>
1581 |     <p>
1582 |       "quux"
1583 Expected:
1584 | <!DOCTYPE html>
1585 | <html>
1586 |   <head>
1587 |   <body>
1588 |     <math math>
1589 |       <math mi>
1590 |         "foo"
1591 |       <math mi>
1592 |         "bar"
1593 |     <p>
1594 |       "baz"
1595 |     <table>
1596 |       <colgroup>
1597 |     <p>
1598 |       "quux"
1599
1600 Test 18 of 25 in resources/tests9.dat failed. Input:
1601 <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
1602 Got:
1603 | <!DOCTYPE html>
1604 | <html>
1605 |   <head>
1606 |   <body>
1607 |     <math>
1608 |       <mi>
1609 |         "foo"
1610 |       <mi>
1611 |         "bar"
1612 |       <p>
1613 |         "baz"
1614 Expected:
1615 | <!DOCTYPE html>
1616 | <html>
1617 |   <head>
1618 |   <body>
1619 |     <math math>
1620 |       <math mi>
1621 |         "foo"
1622 |       <math mi>
1623 |         "bar"
1624 |     <p>
1625 |       "baz"
1626
1627 Test 19 of 25 in resources/tests9.dat failed. Input:
1628 <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
1629 Got:
1630 | <!DOCTYPE html>
1631 | <html>
1632 |   <head>
1633 |   <body>
1634 |     <math>
1635 |       <mi>
1636 |         "foo"
1637 |       <mi>
1638 |         "bar"
1639 |       <p>
1640 |         "baz"
1641 Expected:
1642 | <!DOCTYPE html>
1643 | <html>
1644 |   <head>
1645 |   <body>
1646 |     <math math>
1647 |       <math mi>
1648 |         "foo"
1649 |       <math mi>
1650 |         "bar"
1651 |     <p>
1652 |       "baz"
1653
1654 Test 22 of 25 in resources/tests9.dat failed. Input:
1655 <!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>
1656 Got:
1657 | <!DOCTYPE html>
1658 | <html>
1659 |   <head>
1660 |   <body>
1661 |     xlink:href="foo"
1662 |     <math>
1663 |       xlink:href="foo"
1664 Expected:
1665 | <!DOCTYPE html>
1666 | <html>
1667 |   <head>
1668 |   <body>
1669 |     xlink:href="foo"
1670 |     <math math>
1671 |       xlink href="foo"
1672
1673 Test 23 of 25 in resources/tests9.dat failed. Input:
1674 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>
1675 Got:
1676 | <!DOCTYPE html>
1677 | <html>
1678 |   <head>
1679 |   <body>
1680 |     xlink:href="foo"
1681 |     xml:lang="en"
1682 |     <math>
1683 |       <mi>
1684 |         xlink:href="foo"
1685 |         xml:lang="en"
1686 Expected:
1687 | <!DOCTYPE html>
1688 | <html>
1689 |   <head>
1690 |   <body>
1691 |     xlink:href="foo"
1692 |     xml:lang="en"
1693 |     <math math>
1694 |       <math mi>
1695 |         xlink href="foo"
1696 |         xml lang="en"
1697
1698 Test 24 of 25 in resources/tests9.dat failed. Input:
1699 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>
1700 Got:
1701 | <!DOCTYPE html>
1702 | <html>
1703 |   <head>
1704 |   <body>
1705 |     xlink:href="foo"
1706 |     xml:lang="en"
1707 |     <math>
1708 |       <mi>
1709 |         xlink:href="foo"
1710 |         xml:lang="en"
1711 Expected:
1712 | <!DOCTYPE html>
1713 | <html>
1714 |   <head>
1715 |   <body>
1716 |     xlink:href="foo"
1717 |     xml:lang="en"
1718 |     <math math>
1719 |       <math mi>
1720 |         xlink href="foo"
1721 |         xml lang="en"
1722
1723 Test 25 of 25 in resources/tests9.dat failed. Input:
1724 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>
1725 Got:
1726 | <!DOCTYPE html>
1727 | <html>
1728 |   <head>
1729 |   <body>
1730 |     xlink:href="foo"
1731 |     xml:lang="en"
1732 |     <math>
1733 |       <mi>
1734 |         xlink:href="foo"
1735 |         xml:lang="en"
1736 |         "bar"
1737 Expected:
1738 | <!DOCTYPE html>
1739 | <html>
1740 |   <head>
1741 |   <body>
1742 |     xlink:href="foo"
1743 |     xml:lang="en"
1744 |     <math math>
1745 |       <math mi>
1746 |         xlink href="foo"
1747 |         xml lang="en"
1748 |       "bar"
1749 resources/tests10.dat:
1750 1
1751 2
1752 5
1753 6
1754 7
1755 8
1756 9
1757 10
1758 11
1759 12
1760 13
1761 14
1762 15
1763 18
1764 19
1765 22
1766 23
1767 24
1768 25
1769
1770 Test 1 of 25 in resources/tests10.dat failed. Input:
1771 <!DOCTYPE html><svg></svg>
1772 Got:
1773 | <!DOCTYPE html>
1774 | <html>
1775 |   <head>
1776 |   <body>
1777 |     <svg>
1778 Expected:
1779 | <!DOCTYPE html>
1780 | <html>
1781 |   <head>
1782 |   <body>
1783 |     <svg svg>
1784
1785 Test 2 of 25 in resources/tests10.dat failed. Input:
1786 <!DOCTYPE html><body><svg></svg>
1787 Got:
1788 | <!DOCTYPE html>
1789 | <html>
1790 |   <head>
1791 |   <body>
1792 |     <svg>
1793 Expected:
1794 | <!DOCTYPE html>
1795 | <html>
1796 |   <head>
1797 |   <body>
1798 |     <svg svg>
1799
1800 Test 5 of 25 in resources/tests10.dat failed. Input:
1801 <!DOCTYPE html><body><table><svg></svg></table>
1802 Got:
1803 | <!DOCTYPE html>
1804 | <html>
1805 |   <head>
1806 |   <body>
1807 |     <svg>
1808 |     <table>
1809 Expected:
1810 | <!DOCTYPE html>
1811 | <html>
1812 |   <head>
1813 |   <body>
1814 |     <svg svg>
1815 |     <table>
1816
1817 Test 6 of 25 in resources/tests10.dat failed. Input:
1818 <!DOCTYPE html><body><table><svg><g>foo</g></svg></table>
1819 Got:
1820 | <!DOCTYPE html>
1821 | <html>
1822 |   <head>
1823 |   <body>
1824 |     <svg>
1825 |       <g>
1826 |         "foo"
1827 |     <table>
1828 Expected:
1829 | <!DOCTYPE html>
1830 | <html>
1831 |   <head>
1832 |   <body>
1833 |     <svg svg>
1834 |       <svg g>
1835 |         "foo"
1836 |     <table>
1837
1838 Test 7 of 25 in resources/tests10.dat failed. Input:
1839 <!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>
1840 Got:
1841 | <!DOCTYPE html>
1842 | <html>
1843 |   <head>
1844 |   <body>
1845 |     <svg>
1846 |       <g>
1847 |         "foo"
1848 |       <g>
1849 |         "bar"
1850 |     <table>
1851 Expected:
1852 | <!DOCTYPE html>
1853 | <html>
1854 |   <head>
1855 |   <body>
1856 |     <svg svg>
1857 |       <svg g>
1858 |         "foo"
1859 |       <svg g>
1860 |         "bar"
1861 |     <table>
1862
1863 Test 8 of 25 in resources/tests10.dat failed. Input:
1864 <!DOCTYPE html><body><table><tbody><svg><g>foo</g><g>bar</g></svg></tbody></table>
1865 Got:
1866 | <!DOCTYPE html>
1867 | <html>
1868 |   <head>
1869 |   <body>
1870 |     <svg>
1871 |       <g>
1872 |         "foo"
1873 |       <g>
1874 |         "bar"
1875 |     <table>
1876 |       <tbody>
1877 Expected:
1878 | <!DOCTYPE html>
1879 | <html>
1880 |   <head>
1881 |   <body>
1882 |     <svg svg>
1883 |       <svg g>
1884 |         "foo"
1885 |       <svg g>
1886 |         "bar"
1887 |     <table>
1888 |       <tbody>
1889
1890 Test 9 of 25 in resources/tests10.dat failed. Input:
1891 <!DOCTYPE html><body><table><tbody><tr><svg><g>foo</g><g>bar</g></svg></tr></tbody></table>
1892 Got:
1893 | <!DOCTYPE html>
1894 | <html>
1895 |   <head>
1896 |   <body>
1897 |     <svg>
1898 |       <g>
1899 |         "foo"
1900 |       <g>
1901 |         "bar"
1902 |     <table>
1903 |       <tbody>
1904 |         <tr>
1905 Expected:
1906 | <!DOCTYPE html>
1907 | <html>
1908 |   <head>
1909 |   <body>
1910 |     <svg svg>
1911 |       <svg g>
1912 |         "foo"
1913 |       <svg g>
1914 |         "bar"
1915 |     <table>
1916 |       <tbody>
1917 |         <tr>
1918
1919 Test 10 of 25 in resources/tests10.dat failed. Input:
1920 <!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>
1921 Got:
1922 | <!DOCTYPE html>
1923 | <html>
1924 |   <head>
1925 |   <body>
1926 |     <table>
1927 |       <tbody>
1928 |         <tr>
1929 |           <td>
1930 |             <svg>
1931 |               <g>
1932 |                 "foo"
1933 |               <g>
1934 |                 "bar"
1935 Expected:
1936 | <!DOCTYPE html>
1937 | <html>
1938 |   <head>
1939 |   <body>
1940 |     <table>
1941 |       <tbody>
1942 |         <tr>
1943 |           <td>
1944 |             <svg svg>
1945 |               <svg g>
1946 |                 "foo"
1947 |               <svg g>
1948 |                 "bar"
1949
1950 Test 11 of 25 in resources/tests10.dat failed. Input:
1951 <!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</td></tr></tbody></table>
1952 Got:
1953 | <!DOCTYPE html>
1954 | <html>
1955 |   <head>
1956 |   <body>
1957 |     <table>
1958 |       <tbody>
1959 |         <tr>
1960 |           <td>
1961 |             <svg>
1962 |               <g>
1963 |                 "foo"
1964 |               <g>
1965 |                 "bar"
1966 |             <p>
1967 |               "baz"
1968 Expected:
1969 | <!DOCTYPE html>
1970 | <html>
1971 |   <head>
1972 |   <body>
1973 |     <table>
1974 |       <tbody>
1975 |         <tr>
1976 |           <td>
1977 |             <svg svg>
1978 |               <svg g>
1979 |                 "foo"
1980 |               <svg g>
1981 |                 "bar"
1982 |             <p>
1983 |               "baz"
1984
1985 Test 12 of 25 in resources/tests10.dat failed. Input:
1986 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>
1987 Got:
1988 | <!DOCTYPE html>
1989 | <html>
1990 |   <head>
1991 |   <body>
1992 |     <table>
1993 |       <caption>
1994 |         <svg>
1995 |           <g>
1996 |             "foo"
1997 |           <g>
1998 |             "bar"
1999 |         <p>
2000 |           "baz"
2001 Expected:
2002 | <!DOCTYPE html>
2003 | <html>
2004 |   <head>
2005 |   <body>
2006 |     <table>
2007 |       <caption>
2008 |         <svg svg>
2009 |           <svg g>
2010 |             "foo"
2011 |           <svg g>
2012 |             "bar"
2013 |         <p>
2014 |           "baz"
2015
2016 Test 13 of 25 in resources/tests10.dat failed. Input:
2017 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
2018 Got:
2019 | <!DOCTYPE html>
2020 | <html>
2021 |   <head>
2022 |   <body>
2023 |     <table>
2024 |       <caption>
2025 |         <svg>
2026 |           <g>
2027 |             "foo"
2028 |           <g>
2029 |             "bar"
2030 |           <p>
2031 |             "baz"
2032 |     <p>
2033 |       "quux"
2034 Expected:
2035 | <!DOCTYPE html>
2036 | <html>
2037 |   <head>
2038 |   <body>
2039 |     <table>
2040 |       <caption>
2041 |         <svg svg>
2042 |           <svg g>
2043 |             "foo"
2044 |           <svg g>
2045 |             "bar"
2046 |         <p>
2047 |           "baz"
2048 |     <p>
2049 |       "quux"
2050
2051 Test 14 of 25 in resources/tests10.dat failed. Input:
2052 <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux
2053 Got:
2054 | <!DOCTYPE html>
2055 | <html>
2056 |   <head>
2057 |   <body>
2058 |     <table>
2059 |       <caption>
2060 |         <svg>
2061 |           <g>
2062 |             "foo"
2063 |           <g>
2064 |             "bar"
2065 |           "baz"
2066 |     <p>
2067 |       "quux"
2068 Expected:
2069 | <!DOCTYPE html>
2070 | <html>
2071 |   <head>
2072 |   <body>
2073 |     <table>
2074 |       <caption>
2075 |         <svg svg>
2076 |           <svg g>
2077 |             "foo"
2078 |           <svg g>
2079 |             "bar"
2080 |           "baz"
2081 |     <p>
2082 |       "quux"
2083
2084 Test 15 of 25 in resources/tests10.dat failed. Input:
2085 <!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
2086 Got:
2087 | <!DOCTYPE html>
2088 | <html>
2089 |   <head>
2090 |   <body>
2091 |     <svg>
2092 |       <g>
2093 |         "foo"
2094 |       <g>
2095 |         "bar"
2096 |       <p>
2097 |         "baz"
2098 |     <table>
2099 |       <colgroup>
2100 |     <p>
2101 |       "quux"
2102 Expected:
2103 | <!DOCTYPE html>
2104 | <html>
2105 |   <head>
2106 |   <body>
2107 |     <svg svg>
2108 |       <svg g>
2109 |         "foo"
2110 |       <svg g>
2111 |         "bar"
2112 |     <p>
2113 |       "baz"
2114 |     <table>
2115 |       <colgroup>
2116 |     <p>
2117 |       "quux"
2118
2119 Test 18 of 25 in resources/tests10.dat failed. Input:
2120 <!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz
2121 Got:
2122 | <!DOCTYPE html>
2123 | <html>
2124 |   <head>
2125 |   <body>
2126 |     <svg>
2127 |       <g>
2128 |         "foo"
2129 |       <g>
2130 |         "bar"
2131 |       <p>
2132 |         "baz"
2133 Expected:
2134 | <!DOCTYPE html>
2135 | <html>
2136 |   <head>
2137 |   <body>
2138 |     <svg svg>
2139 |       <svg g>
2140 |         "foo"
2141 |       <svg g>
2142 |         "bar"
2143 |     <p>
2144 |       "baz"
2145
2146 Test 19 of 25 in resources/tests10.dat failed. Input:
2147 <!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz
2148 Got:
2149 | <!DOCTYPE html>
2150 | <html>
2151 |   <head>
2152 |   <body>
2153 |     <svg>
2154 |       <g>
2155 |         "foo"
2156 |       <g>
2157 |         "bar"
2158 |       <p>
2159 |         "baz"
2160 Expected:
2161 | <!DOCTYPE html>
2162 | <html>
2163 |   <head>
2164 |   <body>
2165 |     <svg svg>
2166 |       <svg g>
2167 |         "foo"
2168 |       <svg g>
2169 |         "bar"
2170 |     <p>
2171 |       "baz"
2172
2173 Test 22 of 25 in resources/tests10.dat failed. Input:
2174 <!DOCTYPE html><body xlink:href=foo><svg xlink:href=foo></svg>
2175 Got:
2176 | <!DOCTYPE html>
2177 | <html>
2178 |   <head>
2179 |   <body>
2180 |     xlink:href="foo"
2181 |     <svg>
2182 |       xlink:href="foo"
2183 Expected:
2184 | <!DOCTYPE html>
2185 | <html>
2186 |   <head>
2187 |   <body>
2188 |     xlink:href="foo"
2189 |     <svg svg>
2190 |       xlink href="foo"
2191
2192 Test 23 of 25 in resources/tests10.dat failed. Input:
2193 <!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo></g></svg>
2194 Got:
2195 | <!DOCTYPE html>
2196 | <html>
2197 |   <head>
2198 |   <body>
2199 |     xlink:href="foo"
2200 |     xml:lang="en"
2201 |     <svg>
2202 |       <g>
2203 |         xlink:href="foo"
2204 |         xml:lang="en"
2205 Expected:
2206 | <!DOCTYPE html>
2207 | <html>
2208 |   <head>
2209 |   <body>
2210 |     xlink:href="foo"
2211 |     xml:lang="en"
2212 |     <svg svg>
2213 |       <svg g>
2214 |         xlink href="foo"
2215 |         xml lang="en"
2216
2217 Test 24 of 25 in resources/tests10.dat failed. Input:
2218 <!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo /></svg>
2219 Got:
2220 | <!DOCTYPE html>
2221 | <html>
2222 |   <head>
2223 |   <body>
2224 |     xlink:href="foo"
2225 |     xml:lang="en"
2226 |     <svg>
2227 |       <g>
2228 |         xlink:href="foo"
2229 |         xml:lang="en"
2230 Expected:
2231 | <!DOCTYPE html>
2232 | <html>
2233 |   <head>
2234 |   <body>
2235 |     xlink:href="foo"
2236 |     xml:lang="en"
2237 |     <svg svg>
2238 |       <svg g>
2239 |         xlink href="foo"
2240 |         xml lang="en"
2241
2242 Test 25 of 25 in resources/tests10.dat failed. Input:
2243 <!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo />bar</svg>
2244 Got:
2245 | <!DOCTYPE html>
2246 | <html>
2247 |   <head>
2248 |   <body>
2249 |     xlink:href="foo"
2250 |     xml:lang="en"
2251 |     <svg>
2252 |       <g>
2253 |         xlink:href="foo"
2254 |         xml:lang="en"
2255 |         "bar"
2256 Expected:
2257 | <!DOCTYPE html>
2258 | <html>
2259 |   <head>
2260 |   <body>
2261 |     xlink:href="foo"
2262 |     xml:lang="en"
2263 |     <svg svg>
2264 |       <svg g>
2265 |         xlink href="foo"
2266 |         xml lang="en"
2267 |       "bar"
2268 resources/tests11.dat:
2269 1
2270 2
2271 3
2272 4
2273 5
2274 6
2275 7
2276 8
2277 9
2278
2279 Test 1 of 9 in resources/tests11.dat failed. Input:
2280 <!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>
2281 Got:
2282 | <!DOCTYPE html>
2283 | <html>
2284 |   <head>
2285 |   <body>
2286 |     <svg>
2287 |       attributename=""
2288 |       attributetype=""
2289 |       basefrequency=""
2290 |       baseprofile=""
2291 |       calcmode=""
2292 |       clippathunits=""
2293 |       contentscripttype=""
2294 |       contentstyletype=""
2295 |       diffuseconstant=""
2296 |       edgemode=""
2297 |       externalresourcesrequired=""
2298 |       filterres=""
2299 |       filterunits=""
2300 |       glyphref=""
2301 |       gradienttransform=""
2302 |       gradientunits=""
2303 |       kernelmatrix=""
2304 |       kernelunitlength=""
2305 |       keypoints=""
2306 |       keysplines=""
2307 |       keytimes=""
2308 |       lengthadjust=""
2309 |       limitingconeangle=""
2310 |       markerheight=""
2311 |       markerunits=""
2312 |       markerwidth=""
2313 |       maskcontentunits=""
2314 |       maskunits=""
2315 |       numoctaves=""
2316 |       pathlength=""
2317 |       patterncontentunits=""
2318 |       patterntransform=""
2319 |       patternunits=""
2320 |       pointsatx=""
2321 |       pointsaty=""
2322 |       pointsatz=""
2323 |       preservealpha=""
2324 |       preserveaspectratio=""
2325 |       primitiveunits=""
2326 |       refx=""
2327 |       refy=""
2328 |       repeatcount=""
2329 |       repeatdur=""
2330 |       requiredextensions=""
2331 |       requiredfeatures=""
2332 |       specularconstant=""
2333 |       specularexponent=""
2334 |       spreadmethod=""
2335 |       startoffset=""
2336 |       stddeviation=""
2337 |       stitchtiles=""
2338 |       surfacescale=""
2339 |       systemlanguage=""
2340 |       tablevalues=""
2341 |       targetx=""
2342 |       targety=""
2343 |       textlength=""
2344 |       viewbox=""
2345 |       viewtarget=""
2346 |       xchannelselector=""
2347 |       ychannelselector=""
2348 |       zoomandpan=""
2349 Expected:
2350 | <!DOCTYPE html>
2351 | <html>
2352 |   <head>
2353 |   <body>
2354 |     <svg svg>
2355 |       attributeName=""
2356 |       attributeType=""
2357 |       baseFrequency=""
2358 |       baseProfile=""
2359 |       calcMode=""
2360 |       clipPathUnits=""
2361 |       contentScriptType=""
2362 |       contentStyleType=""
2363 |       diffuseConstant=""
2364 |       edgeMode=""
2365 |       externalResourcesRequired=""
2366 |       filterRes=""
2367 |       filterUnits=""
2368 |       glyphRef=""
2369 |       gradientTransform=""
2370 |       gradientUnits=""
2371 |       kernelMatrix=""
2372 |       kernelUnitLength=""
2373 |       keyPoints=""
2374 |       keySplines=""
2375 |       keyTimes=""
2376 |       lengthAdjust=""
2377 |       limitingConeAngle=""
2378 |       markerHeight=""
2379 |       markerUnits=""
2380 |       markerWidth=""
2381 |       maskContentUnits=""
2382 |       maskUnits=""
2383 |       numOctaves=""
2384 |       pathLength=""
2385 |       patternContentUnits=""
2386 |       patternTransform=""
2387 |       patternUnits=""
2388 |       pointsAtX=""
2389 |       pointsAtY=""
2390 |       pointsAtZ=""
2391 |       preserveAlpha=""
2392 |       preserveAspectRatio=""
2393 |       primitiveUnits=""
2394 |       refX=""
2395 |       refY=""
2396 |       repeatCount=""
2397 |       repeatDur=""
2398 |       requiredExtensions=""
2399 |       requiredFeatures=""
2400 |       specularConstant=""
2401 |       specularExponent=""
2402 |       spreadMethod=""
2403 |       startOffset=""
2404 |       stdDeviation=""
2405 |       stitchTiles=""
2406 |       surfaceScale=""
2407 |       systemLanguage=""
2408 |       tableValues=""
2409 |       targetX=""
2410 |       targetY=""
2411 |       textLength=""
2412 |       viewBox=""
2413 |       viewTarget=""
2414 |       xChannelSelector=""
2415 |       yChannelSelector=""
2416 |       zoomAndPan=""
2417
2418 Test 2 of 9 in resources/tests11.dat failed. Input:
2419 <!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>
2420 Got:
2421 | <!DOCTYPE html>
2422 | <html>
2423 |   <head>
2424 |   <body>
2425 |     <svg>
2426 |       attributename=""
2427 |       attributetype=""
2428 |       basefrequency=""
2429 |       baseprofile=""
2430 |       calcmode=""
2431 |       clippathunits=""
2432 |       contentscripttype=""
2433 |       contentstyletype=""
2434 |       diffuseconstant=""
2435 |       edgemode=""
2436 |       externalresourcesrequired=""
2437 |       filterres=""
2438 |       filterunits=""
2439 |       glyphref=""
2440 |       gradienttransform=""
2441 |       gradientunits=""
2442 |       kernelmatrix=""
2443 |       kernelunitlength=""
2444 |       keypoints=""
2445 |       keysplines=""
2446 |       keytimes=""
2447 |       lengthadjust=""
2448 |       limitingconeangle=""
2449 |       markerheight=""
2450 |       markerunits=""
2451 |       markerwidth=""
2452 |       maskcontentunits=""
2453 |       maskunits=""
2454 |       numoctaves=""
2455 |       pathlength=""
2456 |       patterncontentunits=""
2457 |       patterntransform=""
2458 |       patternunits=""
2459 |       pointsatx=""
2460 |       pointsaty=""
2461 |       pointsatz=""
2462 |       preservealpha=""
2463 |       preserveaspectratio=""
2464 |       primitiveunits=""
2465 |       refx=""
2466 |       refy=""
2467 |       repeatcount=""
2468 |       repeatdur=""
2469 |       requiredextensions=""
2470 |       requiredfeatures=""
2471 |       specularconstant=""
2472 |       specularexponent=""
2473 |       spreadmethod=""
2474 |       startoffset=""
2475 |       stddeviation=""
2476 |       stitchtiles=""
2477 |       surfacescale=""
2478 |       systemlanguage=""
2479 |       tablevalues=""
2480 |       targetx=""
2481 |       targety=""
2482 |       textlength=""
2483 |       viewbox=""
2484 |       viewtarget=""
2485 |       xchannelselector=""
2486 |       ychannelselector=""
2487 |       zoomandpan=""
2488 Expected:
2489 | <!DOCTYPE html>
2490 | <html>
2491 |   <head>
2492 |   <body>
2493 |     <svg svg>
2494 |       attributeName=""
2495 |       attributeType=""
2496 |       baseFrequency=""
2497 |       baseProfile=""
2498 |       calcMode=""
2499 |       clipPathUnits=""
2500 |       contentScriptType=""
2501 |       contentStyleType=""
2502 |       diffuseConstant=""
2503 |       edgeMode=""
2504 |       externalResourcesRequired=""
2505 |       filterRes=""
2506 |       filterUnits=""
2507 |       glyphRef=""
2508 |       gradientTransform=""
2509 |       gradientUnits=""
2510 |       kernelMatrix=""
2511 |       kernelUnitLength=""
2512 |       keyPoints=""
2513 |       keySplines=""
2514 |       keyTimes=""
2515 |       lengthAdjust=""
2516 |       limitingConeAngle=""
2517 |       markerHeight=""
2518 |       markerUnits=""
2519 |       markerWidth=""
2520 |       maskContentUnits=""
2521 |       maskUnits=""
2522 |       numOctaves=""
2523 |       pathLength=""
2524 |       patternContentUnits=""
2525 |       patternTransform=""
2526 |       patternUnits=""
2527 |       pointsAtX=""
2528 |       pointsAtY=""
2529 |       pointsAtZ=""
2530 |       preserveAlpha=""
2531 |       preserveAspectRatio=""
2532 |       primitiveUnits=""
2533 |       refX=""
2534 |       refY=""
2535 |       repeatCount=""
2536 |       repeatDur=""
2537 |       requiredExtensions=""
2538 |       requiredFeatures=""
2539 |       specularConstant=""
2540 |       specularExponent=""
2541 |       spreadMethod=""
2542 |       startOffset=""
2543 |       stdDeviation=""
2544 |       stitchTiles=""
2545 |       surfaceScale=""
2546 |       systemLanguage=""
2547 |       tableValues=""
2548 |       targetX=""
2549 |       targetY=""
2550 |       textLength=""
2551 |       viewBox=""
2552 |       viewTarget=""
2553 |       xChannelSelector=""
2554 |       yChannelSelector=""
2555 |       zoomAndPan=""
2556
2557 Test 3 of 9 in resources/tests11.dat failed. Input:
2558 <!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>
2559 Got:
2560 | <!DOCTYPE html>
2561 | <html>
2562 |   <head>
2563 |   <body>
2564 |     <svg>
2565 |       attributename=""
2566 |       attributetype=""
2567 |       basefrequency=""
2568 |       baseprofile=""
2569 |       calcmode=""
2570 |       clippathunits=""
2571 |       contentscripttype=""
2572 |       contentstyletype=""
2573 |       diffuseconstant=""
2574 |       edgemode=""
2575 |       externalresourcesrequired=""
2576 |       filterres=""
2577 |       filterunits=""
2578 |       glyphref=""
2579 |       gradienttransform=""
2580 |       gradientunits=""
2581 |       kernelmatrix=""
2582 |       kernelunitlength=""
2583 |       keypoints=""
2584 |       keysplines=""
2585 |       keytimes=""
2586 |       lengthadjust=""
2587 |       limitingconeangle=""
2588 |       markerheight=""
2589 |       markerunits=""
2590 |       markerwidth=""
2591 |       maskcontentunits=""
2592 |       maskunits=""
2593 |       numoctaves=""
2594 |       pathlength=""
2595 |       patterncontentunits=""
2596 |       patterntransform=""
2597 |       patternunits=""
2598 |       pointsatx=""
2599 |       pointsaty=""
2600 |       pointsatz=""
2601 |       preservealpha=""
2602 |       preserveaspectratio=""
2603 |       primitiveunits=""
2604 |       refx=""
2605 |       refy=""
2606 |       repeatcount=""
2607 |       repeatdur=""
2608 |       requiredextensions=""
2609 |       requiredfeatures=""
2610 |       specularconstant=""
2611 |       specularexponent=""
2612 |       spreadmethod=""
2613 |       startoffset=""
2614 |       stddeviation=""
2615 |       stitchtiles=""
2616 |       surfacescale=""
2617 |       systemlanguage=""
2618 |       tablevalues=""
2619 |       targetx=""
2620 |       targety=""
2621 |       textlength=""
2622 |       viewbox=""
2623 |       viewtarget=""
2624 |       xchannelselector=""
2625 |       ychannelselector=""
2626 |       zoomandpan=""
2627 Expected:
2628 | <!DOCTYPE html>
2629 | <html>
2630 |   <head>
2631 |   <body>
2632 |     <svg svg>
2633 |       attributeName=""
2634 |       attributeType=""
2635 |       baseFrequency=""
2636 |       baseProfile=""
2637 |       calcMode=""
2638 |       clipPathUnits=""
2639 |       contentScriptType=""
2640 |       contentStyleType=""
2641 |       diffuseConstant=""
2642 |       edgeMode=""
2643 |       externalResourcesRequired=""
2644 |       filterRes=""
2645 |       filterUnits=""
2646 |       glyphRef=""
2647 |       gradientTransform=""
2648 |       gradientUnits=""
2649 |       kernelMatrix=""
2650 |       kernelUnitLength=""
2651 |       keyPoints=""
2652 |       keySplines=""
2653 |       keyTimes=""
2654 |       lengthAdjust=""
2655 |       limitingConeAngle=""
2656 |       markerHeight=""
2657 |       markerUnits=""
2658 |       markerWidth=""
2659 |       maskContentUnits=""
2660 |       maskUnits=""
2661 |       numOctaves=""
2662 |       pathLength=""
2663 |       patternContentUnits=""
2664 |       patternTransform=""
2665 |       patternUnits=""
2666 |       pointsAtX=""
2667 |       pointsAtY=""
2668 |       pointsAtZ=""
2669 |       preserveAlpha=""
2670 |       preserveAspectRatio=""
2671 |       primitiveUnits=""
2672 |       refX=""
2673 |       refY=""
2674 |       repeatCount=""
2675 |       repeatDur=""
2676 |       requiredExtensions=""
2677 |       requiredFeatures=""
2678 |       specularConstant=""
2679 |       specularExponent=""
2680 |       spreadMethod=""
2681 |       startOffset=""
2682 |       stdDeviation=""
2683 |       stitchTiles=""
2684 |       surfaceScale=""
2685 |       systemLanguage=""
2686 |       tableValues=""
2687 |       targetX=""
2688 |       targetY=""
2689 |       textLength=""
2690 |       viewBox=""
2691 |       viewTarget=""
2692 |       xChannelSelector=""
2693 |       yChannelSelector=""
2694 |       zoomAndPan=""
2695
2696 Test 4 of 9 in resources/tests11.dat failed. Input:
2697 <!DOCTYPE html><body><math 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=''></math>
2698 Got:
2699 | <!DOCTYPE html>
2700 | <html>
2701 |   <head>
2702 |   <body>
2703 |     <math>
2704 |       attributename=""
2705 |       attributetype=""
2706 |       basefrequency=""
2707 |       baseprofile=""
2708 |       calcmode=""
2709 |       clippathunits=""
2710 |       contentscripttype=""
2711 |       contentstyletype=""
2712 |       diffuseconstant=""
2713 |       edgemode=""
2714 |       externalresourcesrequired=""
2715 |       filterres=""
2716 |       filterunits=""
2717 |       glyphref=""
2718 |       gradienttransform=""
2719 |       gradientunits=""
2720 |       kernelmatrix=""
2721 |       kernelunitlength=""
2722 |       keypoints=""
2723 |       keysplines=""
2724 |       keytimes=""
2725 |       lengthadjust=""
2726 |       limitingconeangle=""
2727 |       markerheight=""
2728 |       markerunits=""
2729 |       markerwidth=""
2730 |       maskcontentunits=""
2731 |       maskunits=""
2732 |       numoctaves=""
2733 |       pathlength=""
2734 |       patterncontentunits=""
2735 |       patterntransform=""
2736 |       patternunits=""
2737 |       pointsatx=""
2738 |       pointsaty=""
2739 |       pointsatz=""
2740 |       preservealpha=""
2741 |       preserveaspectratio=""
2742 |       primitiveunits=""
2743 |       refx=""
2744 |       refy=""
2745 |       repeatcount=""
2746 |       repeatdur=""
2747 |       requiredextensions=""
2748 |       requiredfeatures=""
2749 |       specularconstant=""
2750 |       specularexponent=""
2751 |       spreadmethod=""
2752 |       startoffset=""
2753 |       stddeviation=""
2754 |       stitchtiles=""
2755 |       surfacescale=""
2756 |       systemlanguage=""
2757 |       tablevalues=""
2758 |       targetx=""
2759 |       targety=""
2760 |       textlength=""
2761 |       viewbox=""
2762 |       viewtarget=""
2763 |       xchannelselector=""
2764 |       ychannelselector=""
2765 |       zoomandpan=""
2766 Expected:
2767 | <!DOCTYPE html>
2768 | <html>
2769 |   <head>
2770 |   <body>
2771 |     <math math>
2772 |       attributename=""
2773 |       attributetype=""
2774 |       basefrequency=""
2775 |       baseprofile=""
2776 |       calcmode=""
2777 |       clippathunits=""
2778 |       contentscripttype=""
2779 |       contentstyletype=""
2780 |       diffuseconstant=""
2781 |       edgemode=""
2782 |       externalresourcesrequired=""
2783 |       filterres=""
2784 |       filterunits=""
2785 |       glyphref=""
2786 |       gradienttransform=""
2787 |       gradientunits=""
2788 |       kernelmatrix=""
2789 |       kernelunitlength=""
2790 |       keypoints=""
2791 |       keysplines=""
2792 |       keytimes=""
2793 |       lengthadjust=""
2794 |       limitingconeangle=""
2795 |       markerheight=""
2796 |       markerunits=""
2797 |       markerwidth=""
2798 |       maskcontentunits=""
2799 |       maskunits=""
2800 |       numoctaves=""
2801 |       pathlength=""
2802 |       patterncontentunits=""
2803 |       patterntransform=""
2804 |       patternunits=""
2805 |       pointsatx=""
2806 |       pointsaty=""
2807 |       pointsatz=""
2808 |       preservealpha=""
2809 |       preserveaspectratio=""
2810 |       primitiveunits=""
2811 |       refx=""
2812 |       refy=""
2813 |       repeatcount=""
2814 |       repeatdur=""
2815 |       requiredextensions=""
2816 |       requiredfeatures=""
2817 |       specularconstant=""
2818 |       specularexponent=""
2819 |       spreadmethod=""
2820 |       startoffset=""
2821 |       stddeviation=""
2822 |       stitchtiles=""
2823 |       surfacescale=""
2824 |       systemlanguage=""
2825 |       tablevalues=""
2826 |       targetx=""
2827 |       targety=""
2828 |       textlength=""
2829 |       viewbox=""
2830 |       viewtarget=""
2831 |       xchannelselector=""
2832 |       ychannelselector=""
2833 |       zoomandpan=""
2834
2835 Test 5 of 9 in resources/tests11.dat failed. Input:
2836 <!DOCTYPE html><body><svg><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feColorMatrix /><feComponentTransfer /><feComposite /><feConvolveMatrix /><feDiffuseLighting /><feDisplacementMap /><feDistantLight /><feFlood /><feFuncA /><feFuncB /><feFuncG /><feFuncR /><feGaussianBlur /><feImage /><feMerge /><feMergeNode /><feMorphology /><feOffset /><fePointLight /><feSpecularLighting /><feSpotLight /><feTile /><feTurbulence /><foreignObject /><glyphRef /><linearGradient /><radialGradient /><textPath /></svg>
2837 Got:
2838 | <!DOCTYPE html>
2839 | <html>
2840 |   <head>
2841 |   <body>
2842 |     <svg>
2843 |       <altglyph>
2844 |         <altglyphdef>
2845 |           <altglyphitem>
2846 |             <animatecolor>
2847 |               <animatemotion>
2848 |                 <animatetransform>
2849 |                   <clippath>
2850 |                     <feblend>
2851 |                       <fecolormatrix>
2852 |                         <fecomponenttransfer>
2853 |                           <fecomposite>
2854 |                             <feconvolvematrix>
2855 |                               <fediffuselighting>
2856 |                                 <fedisplacementmap>
2857 |                                   <fedistantlight>
2858 |                                     <feflood>
2859 |                                       <fefunca>
2860 |                                         <fefuncb>
2861 |                                           <fefuncg>
2862 |                                             <fefuncr>
2863 |                                               <fegaussianblur>
2864 |                                                 <feimage>
2865 |                                                   <femerge>
2866 |                                                     <femergenode>
2867 |                                                       <femorphology>
2868 |                                                         <feoffset>
2869 |                                                           <fepointlight>
2870 |                                                             <fespecularlighting>
2871 |                                                               <fespotlight>
2872 |                                                                 <fetile>
2873 |                                                                   <feturbulence>
2874 |                                                                     <foreignobject>
2875 |                                                                       <glyphref>
2876 |                                                                         <lineargradient>
2877 |                                                                           <radialgradient>
2878 |                                                                             <textpath>
2879 Expected:
2880 | <!DOCTYPE html>
2881 | <html>
2882 |   <head>
2883 |   <body>
2884 |     <svg svg>
2885 |       <svg altGlyph>
2886 |       <svg altGlyphDef>
2887 |       <svg altGlyphItem>
2888 |       <svg animateColor>
2889 |       <svg animateMotion>
2890 |       <svg animateTransform>
2891 |       <svg clipPath>
2892 |       <svg feBlend>
2893 |       <svg feColorMatrix>
2894 |       <svg feComponentTransfer>
2895 |       <svg feComposite>
2896 |       <svg feConvolveMatrix>
2897 |       <svg feDiffuseLighting>
2898 |       <svg feDisplacementMap>
2899 |       <svg feDistantLight>
2900 |       <svg feFlood>
2901 |       <svg feFuncA>
2902 |       <svg feFuncB>
2903 |       <svg feFuncG>
2904 |       <svg feFuncR>
2905 |       <svg feGaussianBlur>
2906 |       <svg feImage>
2907 |       <svg feMerge>
2908 |       <svg feMergeNode>
2909 |       <svg feMorphology>
2910 |       <svg feOffset>
2911 |       <svg fePointLight>
2912 |       <svg feSpecularLighting>
2913 |       <svg feSpotLight>
2914 |       <svg feTile>
2915 |       <svg feTurbulence>
2916 |       <svg foreignObject>
2917 |       <svg glyphRef>
2918 |       <svg linearGradient>
2919 |       <svg radialGradient>
2920 |       <svg textPath>
2921
2922 Test 6 of 9 in resources/tests11.dat failed. Input:
2923 <!DOCTYPE html><body><svg><altglyph /><altglyphdef /><altglyphitem /><animatecolor /><animatemotion /><animatetransform /><clippath /><feblend /><fecolormatrix /><fecomponenttransfer /><fecomposite /><feconvolvematrix /><fediffuselighting /><fedisplacementmap /><fedistantlight /><feflood /><fefunca /><fefuncb /><fefuncg /><fefuncr /><fegaussianblur /><feimage /><femerge /><femergenode /><femorphology /><feoffset /><fepointlight /><fespecularlighting /><fespotlight /><fetile /><feturbulence /><foreignobject /><glyphref /><lineargradient /><radialgradient /><textpath /></svg>
2924 Got:
2925 | <!DOCTYPE html>
2926 | <html>
2927 |   <head>
2928 |   <body>
2929 |     <svg>
2930 |       <altglyph>
2931 |         <altglyphdef>
2932 |           <altglyphitem>
2933 |             <animatecolor>
2934 |               <animatemotion>
2935 |                 <animatetransform>
2936 |                   <clippath>
2937 |                     <feblend>
2938 |                       <fecolormatrix>
2939 |                         <fecomponenttransfer>
2940 |                           <fecomposite>
2941 |                             <feconvolvematrix>
2942 |                               <fediffuselighting>
2943 |                                 <fedisplacementmap>
2944 |                                   <fedistantlight>
2945 |                                     <feflood>
2946 |                                       <fefunca>
2947 |                                         <fefuncb>
2948 |                                           <fefuncg>
2949 |                                             <fefuncr>
2950 |                                               <fegaussianblur>
2951 |                                                 <feimage>
2952 |                                                   <femerge>
2953 |                                                     <femergenode>
2954 |                                                       <femorphology>
2955 |                                                         <feoffset>
2956 |                                                           <fepointlight>
2957 |                                                             <fespecularlighting>
2958 |                                                               <fespotlight>
2959 |                                                                 <fetile>
2960 |                                                                   <feturbulence>
2961 |                                                                     <foreignobject>
2962 |                                                                       <glyphref>
2963 |                                                                         <lineargradient>
2964 |                                                                           <radialgradient>
2965 |                                                                             <textpath>
2966 Expected:
2967 | <!DOCTYPE html>
2968 | <html>
2969 |   <head>
2970 |   <body>
2971 |     <svg svg>
2972 |       <svg altGlyph>
2973 |       <svg altGlyphDef>
2974 |       <svg altGlyphItem>
2975 |       <svg animateColor>
2976 |       <svg animateMotion>
2977 |       <svg animateTransform>
2978 |       <svg clipPath>
2979 |       <svg feBlend>
2980 |       <svg feColorMatrix>
2981 |       <svg feComponentTransfer>
2982 |       <svg feComposite>
2983 |       <svg feConvolveMatrix>
2984 |       <svg feDiffuseLighting>
2985 |       <svg feDisplacementMap>
2986 |       <svg feDistantLight>
2987 |       <svg feFlood>
2988 |       <svg feFuncA>
2989 |       <svg feFuncB>
2990 |       <svg feFuncG>
2991 |       <svg feFuncR>
2992 |       <svg feGaussianBlur>
2993 |       <svg feImage>
2994 |       <svg feMerge>
2995 |       <svg feMergeNode>
2996 |       <svg feMorphology>
2997 |       <svg feOffset>
2998 |       <svg fePointLight>
2999 |       <svg feSpecularLighting>
3000 |       <svg feSpotLight>
3001 |       <svg feTile>
3002 |       <svg feTurbulence>
3003 |       <svg foreignObject>
3004 |       <svg glyphRef>
3005 |       <svg linearGradient>
3006 |       <svg radialGradient>
3007 |       <svg textPath>
3008
3009 Test 7 of 9 in resources/tests11.dat failed. Input:
3010 <!DOCTYPE html><BODY><SVG><ALTGLYPH /><ALTGLYPHDEF /><ALTGLYPHITEM /><ANIMATECOLOR /><ANIMATEMOTION /><ANIMATETRANSFORM /><CLIPPATH /><FEBLEND /><FECOLORMATRIX /><FECOMPONENTTRANSFER /><FECOMPOSITE /><FECONVOLVEMATRIX /><FEDIFFUSELIGHTING /><FEDISPLACEMENTMAP /><FEDISTANTLIGHT /><FEFLOOD /><FEFUNCA /><FEFUNCB /><FEFUNCG /><FEFUNCR /><FEGAUSSIANBLUR /><FEIMAGE /><FEMERGE /><FEMERGENODE /><FEMORPHOLOGY /><FEOFFSET /><FEPOINTLIGHT /><FESPECULARLIGHTING /><FESPOTLIGHT /><FETILE /><FETURBULENCE /><FOREIGNOBJECT /><GLYPHREF /><LINEARGRADIENT /><RADIALGRADIENT /><TEXTPATH /></SVG>
3011 Got:
3012 | <!DOCTYPE html>
3013 | <html>
3014 |   <head>
3015 |   <body>
3016 |     <svg>
3017 |       <altglyph>
3018 |         <altglyphdef>
3019 |           <altglyphitem>
3020 |             <animatecolor>
3021 |               <animatemotion>
3022 |                 <animatetransform>
3023 |                   <clippath>
3024 |                     <feblend>
3025 |                       <fecolormatrix>
3026 |                         <fecomponenttransfer>
3027 |                           <fecomposite>
3028 |                             <feconvolvematrix>
3029 |                               <fediffuselighting>
3030 |                                 <fedisplacementmap>
3031 |                                   <fedistantlight>
3032 |                                     <feflood>
3033 |                                       <fefunca>
3034 |                                         <fefuncb>
3035 |                                           <fefuncg>
3036 |                                             <fefuncr>
3037 |                                               <fegaussianblur>
3038 |                                                 <feimage>
3039 |                                                   <femerge>
3040 |                                                     <femergenode>
3041 |                                                       <femorphology>
3042 |                                                         <feoffset>
3043 |                                                           <fepointlight>
3044 |                                                             <fespecularlighting>
3045 |                                                               <fespotlight>
3046 |                                                                 <fetile>
3047 |                                                                   <feturbulence>
3048 |                                                                     <foreignobject>
3049 |                                                                       <glyphref>
3050 |                                                                         <lineargradient>
3051 |                                                                           <radialgradient>
3052 |                                                                             <textpath>
3053 Expected:
3054 | <!DOCTYPE html>
3055 | <html>
3056 |   <head>
3057 |   <body>
3058 |     <svg svg>
3059 |       <svg altGlyph>
3060 |       <svg altGlyphDef>
3061 |       <svg altGlyphItem>
3062 |       <svg animateColor>
3063 |       <svg animateMotion>
3064 |       <svg animateTransform>
3065 |       <svg clipPath>
3066 |       <svg feBlend>
3067 |       <svg feColorMatrix>
3068 |       <svg feComponentTransfer>
3069 |       <svg feComposite>
3070 |       <svg feConvolveMatrix>
3071 |       <svg feDiffuseLighting>
3072 |       <svg feDisplacementMap>
3073 |       <svg feDistantLight>
3074 |       <svg feFlood>
3075 |       <svg feFuncA>
3076 |       <svg feFuncB>
3077 |       <svg feFuncG>
3078 |       <svg feFuncR>
3079 |       <svg feGaussianBlur>
3080 |       <svg feImage>
3081 |       <svg feMerge>
3082 |       <svg feMergeNode>
3083 |       <svg feMorphology>
3084 |       <svg feOffset>
3085 |       <svg fePointLight>
3086 |       <svg feSpecularLighting>
3087 |       <svg feSpotLight>
3088 |       <svg feTile>
3089 |       <svg feTurbulence>
3090 |       <svg foreignObject>
3091 |       <svg glyphRef>
3092 |       <svg linearGradient>
3093 |       <svg radialGradient>
3094 |       <svg textPath>
3095
3096 Test 8 of 9 in resources/tests11.dat failed. Input:
3097 <!DOCTYPE html><body><math><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feColorMatrix /><feComponentTransfer /><feComposite /><feConvolveMatrix /><feDiffuseLighting /><feDisplacementMap /><feDistantLight /><feFlood /><feFuncA /><feFuncB /><feFuncG /><feFuncR /><feGaussianBlur /><feImage /><feMerge /><feMergeNode /><feMorphology /><feOffset /><fePointLight /><feSpecularLighting /><feSpotLight /><feTile /><feTurbulence /><foreignObject /><glyphRef /><linearGradient /><radialGradient /><textPath /></math>
3098 Got:
3099 | <!DOCTYPE html>
3100 | <html>
3101 |   <head>
3102 |   <body>
3103 |     <math>
3104 |       <altglyph>
3105 |         <altglyphdef>
3106 |           <altglyphitem>
3107 |             <animatecolor>
3108 |               <animatemotion>
3109 |                 <animatetransform>
3110 |                   <clippath>
3111 |                     <feblend>
3112 |                       <fecolormatrix>
3113 |                         <fecomponenttransfer>
3114 |                           <fecomposite>
3115 |                             <feconvolvematrix>
3116 |                               <fediffuselighting>
3117 |                                 <fedisplacementmap>
3118 |                                   <fedistantlight>
3119 |                                     <feflood>
3120 |                                       <fefunca>
3121 |                                         <fefuncb>
3122 |                                           <fefuncg>
3123 |                                             <fefuncr>
3124 |                                               <fegaussianblur>
3125 |                                                 <feimage>
3126 |                                                   <femerge>
3127 |                                                     <femergenode>
3128 |                                                       <femorphology>
3129 |                                                         <feoffset>
3130 |                                                           <fepointlight>
3131 |                                                             <fespecularlighting>
3132 |                                                               <fespotlight>
3133 |                                                                 <fetile>
3134 |                                                                   <feturbulence>
3135 |                                                                     <foreignobject>
3136 |                                                                       <glyphref>
3137 |                                                                         <lineargradient>
3138 |                                                                           <radialgradient>
3139 |                                                                             <textpath>
3140 Expected:
3141 | <!DOCTYPE html>
3142 | <html>
3143 |   <head>
3144 |   <body>
3145 |     <math math>
3146 |       <math altglyph>
3147 |       <math altglyphdef>
3148 |       <math altglyphitem>
3149 |       <math animatecolor>
3150 |       <math animatemotion>
3151 |       <math animatetransform>
3152 |       <math clippath>
3153 |       <math feblend>
3154 |       <math fecolormatrix>
3155 |       <math fecomponenttransfer>
3156 |       <math fecomposite>
3157 |       <math feconvolvematrix>
3158 |       <math fediffuselighting>
3159 |       <math fedisplacementmap>
3160 |       <math fedistantlight>
3161 |       <math feflood>
3162 |       <math fefunca>
3163 |       <math fefuncb>
3164 |       <math fefuncg>
3165 |       <math fefuncr>
3166 |       <math fegaussianblur>
3167 |       <math feimage>
3168 |       <math femerge>
3169 |       <math femergenode>
3170 |       <math femorphology>
3171 |       <math feoffset>
3172 |       <math fepointlight>
3173 |       <math fespecularlighting>
3174 |       <math fespotlight>
3175 |       <math fetile>
3176 |       <math feturbulence>
3177 |       <math foreignobject>
3178 |       <math glyphref>
3179 |       <math lineargradient>
3180 |       <math radialgradient>
3181 |       <math textpath>
3182
3183 Test 9 of 9 in resources/tests11.dat failed. Input:
3184 <!DOCTYPE html><body><svg><solidColor /></svg>
3185 Got:
3186 | <!DOCTYPE html>
3187 | <html>
3188 |   <head>
3189 |   <body>
3190 |     <svg>
3191 |       <solidcolor>
3192 Expected:
3193 | <!DOCTYPE html>
3194 | <html>
3195 |   <head>
3196 |   <body>
3197 |     <svg svg>
3198 |       <svg solidcolor>
3199 resources/tests12.dat:
3200 1
3201 2
3202
3203 Test 1 of 2 in resources/tests12.dat failed. Input:
3204 <!DOCTYPE html><body><p>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img></td></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar
3205 Got:
3206 | <!DOCTYPE html>
3207 | <html>
3208 |   <head>
3209 |   <body>
3210 |     <p>
3211 |       "foo"
3212 |       <math>
3213 |         <mtext>
3214 |           <i>
3215 |             "baz"
3216 |         <annotation-xml>
3217 |           <svg>
3218 |             <desc>
3219 |               <b>
3220 |                 "eggs"
3221 |             <g>
3222 |               <foreignobject>
3223 |     <p>
3224 |       "spam"
3225 |       <table>
3226 |         <tbody>
3227 |           <tr>
3228 |             <td>
3229 |               <img>
3230 |       <g>
3231 |         "quux"
3232 |       "bar"
3233 Expected:
3234 | <!DOCTYPE html>
3235 | <html>
3236 |   <head>
3237 |   <body>
3238 |     <p>
3239 |       "foo"
3240 |       <math math>
3241 |         <math mtext>
3242 |           <i>
3243 |             "baz"
3244 |         <math annotation-xml>
3245 |           <svg svg>
3246 |             <svg desc>
3247 |               <b>
3248 |                 "eggs"
3249 |             <svg g>
3250 |               <svg foreignObject>
3251 |                 <p>
3252 |                   "spam"
3253 |                 <table>
3254 |                   <tbody>
3255 |                     <tr>
3256 |                       <td>
3257 |                         <img>
3258 |             <svg g>
3259 |               "quux"
3260 |       "bar"
3261
3262 Test 2 of 2 in resources/tests12.dat failed. Input:
3263 <!DOCTYPE html><body>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img></td></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar
3264 Got:
3265 | <!DOCTYPE html>
3266 | <html>
3267 |   <head>
3268 |   <body>
3269 |     "foo"
3270 |     <math>
3271 |       <mtext>
3272 |         <i>
3273 |           "baz"
3274 |       <annotation-xml>
3275 |         <svg>
3276 |           <desc>
3277 |             <b>
3278 |               "eggs"
3279 |           <g>
3280 |             <foreignobject>
3281 |               <p>
3282 |                 "spam"
3283 |                 <table>
3284 |                   <tbody>
3285 |                     <tr>
3286 |                       <td>
3287 |                         <img>
3288 |                 <g>
3289 |                   "quux"
3290 |                 "bar"
3291 Expected:
3292 | <!DOCTYPE html>
3293 | <html>
3294 |   <head>
3295 |   <body>
3296 |     "foo"
3297 |     <math math>
3298 |       <math mtext>
3299 |         <i>
3300 |           "baz"
3301 |       <math annotation-xml>
3302 |         <svg svg>
3303 |           <svg desc>
3304 |             <b>
3305 |               "eggs"
3306 |           <svg g>
3307 |             <svg foreignObject>
3308 |               <p>
3309 |                 "spam"
3310 |               <table>
3311 |                 <tbody>
3312 |                   <tr>
3313 |                     <td>
3314 |                       <img>
3315 |           <svg g>
3316 |             "quux"
3317 |     "bar"
3318 resources/tests14.dat: PASS
3319
3320 resources/tests15.dat:
3321 1
3322 2
3323 5
3324 7
3325 8
3326 9
3327 10
3328 11
3329
3330 Test 1 of 14 in resources/tests15.dat failed. Input:
3331 <!DOCTYPE html><p><b><i><u></p> <p>X
3332 Got:
3333 | <!DOCTYPE html>
3334 | <html>
3335 |   <head>
3336 |   <body>
3337 |     <p>
3338 |       <b>
3339 |         <i>
3340 |           <u>
3341 |     " "
3342 |     <p>
3343 |       "X"
3344 Expected:
3345 | <!DOCTYPE html>
3346 | <html>
3347 |   <head>
3348 |   <body>
3349 |     <p>
3350 |       <b>
3351 |         <i>
3352 |           <u>
3353 |     <b>
3354 |       <i>
3355 |         <u>
3356 |           " "
3357 |           <p>
3358 |             "X"
3359
3360 Test 2 of 14 in resources/tests15.dat failed. Input:
3361 <p><b><i><u></p>
3362 <p>X
3363 Got:
3364 | <html>
3365 |   <head>
3366 |   <body>
3367 |     <p>
3368 |       <b>
3369 |         <i>
3370 |           <u>
3371 |     "
3372 "
3373 |     <p>
3374 |       "X"
3375 Expected:
3376 | <html>
3377 |   <head>
3378 |   <body>
3379 |     <p>
3380 |       <b>
3381 |         <i>
3382 |           <u>
3383 |     <b>
3384 |       <i>
3385 |         <u>
3386 |           "
3387 "
3388 |           <p>
3389 |             "X"
3390
3391 Test 5 of 14 in resources/tests15.dat failed. Input:
3392 <html></html><!-- foo -->
3393 Got:
3394 | <html>
3395 |   <!--  foo  -->
3396 |   <head>
3397 |   <body>
3398 Expected:
3399 | <html>
3400 |   <head>
3401 |   <body>
3402 | <!--  foo  -->
3403
3404 Test 7 of 14 in resources/tests15.dat failed. Input:
3405 <!doctype html><table> X<meta></table>
3406 Got:
3407 | <!DOCTYPE html>
3408 | <html>
3409 |   <head>
3410 |   <body>
3411 |     <meta>
3412 |     <table>
3413 |       " X"
3414 Expected:
3415 | <!DOCTYPE html>
3416 | <html>
3417 |   <head>
3418 |   <body>
3419 |     " X"
3420 |     <meta>
3421 |     <table>
3422
3423 Test 8 of 14 in resources/tests15.dat failed. Input:
3424 <!doctype html><table> x</table>
3425 Got:
3426 | <!DOCTYPE html>
3427 | <html>
3428 |   <head>
3429 |   <body>
3430 |     <table>
3431 |       " x"
3432 Expected:
3433 | <!DOCTYPE html>
3434 | <html>
3435 |   <head>
3436 |   <body>
3437 |     " x"
3438 |     <table>
3439
3440 Test 9 of 14 in resources/tests15.dat failed. Input:
3441 <!doctype html><table> x </table>
3442 Got:
3443 | <!DOCTYPE html>
3444 | <html>
3445 |   <head>
3446 |   <body>
3447 |     <table>
3448 |       " x "
3449 Expected:
3450 | <!DOCTYPE html>
3451 | <html>
3452 |   <head>
3453 |   <body>
3454 |     " x "
3455 |     <table>
3456
3457 Test 10 of 14 in resources/tests15.dat failed. Input:
3458 <!doctype html><table><tr> x</table>
3459 Got:
3460 | <!DOCTYPE html>
3461 | <html>
3462 |   <head>
3463 |   <body>
3464 |     <table>
3465 |       <tbody>
3466 |         <tr>
3467 |           " x"
3468 Expected:
3469 | <!DOCTYPE html>
3470 | <html>
3471 |   <head>
3472 |   <body>
3473 |     " x"
3474 |     <table>
3475 |       <tbody>
3476 |         <tr>
3477
3478 Test 11 of 14 in resources/tests15.dat failed. Input:
3479 <!doctype html><table>X<style> <tr>x </style> </table>
3480 Got:
3481 | <!DOCTYPE html>
3482 | <html>
3483 |   <head>
3484 |   <body>
3485 |     <table>
3486 |       "X"
3487 |       <style>
3488 |         " <tr>x "
3489 |       " "
3490 Expected:
3491 | <!DOCTYPE html>
3492 | <html>
3493 |   <head>
3494 |   <body>
3495 |     "X"
3496 |     <table>
3497 |       <style>
3498 |         " <tr>x "
3499 |       " "
3500 resources/tests16.dat: PASS
3501
3502 resources/webkit01.dat: PASS
3503
3504 resources/doctype01.dat: PASS
3505
3506 resources/scriptdata01.dat: PASS
3507
3508 resources/entities01.dat:
3509 2
3510 5
3511
3512 Test 2 of 68 in resources/entities01.dat failed. Input:
3513 FOO&gtBAR
3514 Got:
3515 | <html>
3516 |   <head>
3517 |   <body>
3518 |     "FOO&gtBAR"
3519 Expected:
3520 | <html>
3521 |   <head>
3522 |   <body>
3523 |     "FOO>BAR"
3524
3525 Test 5 of 68 in resources/entities01.dat failed. Input:
3526 I'm &notit; I tell you
3527 Got:
3528 | <html>
3529 |   <head>
3530 |   <body>
3531 |     "I'm &notit; I tell you"
3532 Expected:
3533 | <html>
3534 |   <head>
3535 |   <body>
3536 |     "I'm ┬Čit; I tell you"
3537 resources/entities02.dat: PASS
3538
3539 resources/comments01.dat: PASS
3540
3541 resources/adoption01.dat:
3542 3
3543 4
3544 5
3545
3546 Test 3 of 9 in resources/adoption01.dat failed. Input:
3547 <a>1<button>2</a>3</button>
3548 Got:
3549 | <html>
3550 |   <head>
3551 |   <body>
3552 |     <a>
3553 |       "1"
3554 |       <button>
3555 |         "23"
3556 Expected:
3557 | <html>
3558 |   <head>
3559 |   <body>
3560 |     <a>
3561 |       "1"
3562 |       <button>
3563 |         "2"
3564 |     "3"
3565
3566 Test 4 of 9 in resources/adoption01.dat failed. Input:
3567 <a>1<b>2</a>3</b>
3568 Got:
3569 | <html>
3570 |   <head>
3571 |   <body>
3572 |     <a>
3573 |       "1"
3574 |       <b>
3575 |         "2"
3576 |     "3"
3577 Expected:
3578 | <html>
3579 |   <head>
3580 |   <body>
3581 |     <a>
3582 |       "1"
3583 |       <b>
3584 |         "2"
3585 |     <b>
3586 |       "3"
3587
3588 Test 5 of 9 in resources/adoption01.dat failed. Input:
3589 <a>1<div>2<div>3</a>4</div>5</div>
3590 Got:
3591 | <html>
3592 |   <head>
3593 |   <body>
3594 |     <a>
3595 |       "1"
3596 |     <div>
3597 |       <a>
3598 |         "2"
3599 |       <div>
3600 |         <a>
3601 |           "3"
3602 |         "4"
3603 |     "5"
3604 Expected:
3605 | <html>
3606 |   <head>
3607 |   <body>
3608 |     <a>
3609 |       "1"
3610 |     <div>
3611 |       <a>
3612 |         "2"
3613 |       <div>
3614 |         <a>
3615 |           "3"
3616 |         "4"
3617 |       "5"
3618 resources/inbody01.dat: PASS
3619
3620 resources/isindex.dat: PASS
3621
3622 resources/tables01.dat:
3623 4
3624 8
3625
3626 Test 4 of 15 in resources/tables01.dat failed. Input:
3627 <table><colgroup></html>foo
3628 Got:
3629 | <html>
3630 |   <head>
3631 |   <body>
3632 |     <table>
3633 |       <colgroup>
3634 |       "foo"
3635 Expected:
3636 | <html>
3637 |   <head>
3638 |   <body>
3639 |     "foo"
3640 |     <table>
3641 |       <colgroup>
3642
3643 Test 8 of 15 in resources/tables01.dat failed. Input:
3644 <table><select><table></table></select></table>
3645 Got:
3646 | <html>
3647 |   <head>
3648 |   <body>
3649 |     <select>
3650 |     <table>
3651 Expected:
3652 | <html>
3653 |   <head>
3654 |   <body>
3655 |     <select>
3656 |     <table>
3657 |     <table>
3658 #EOF