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