Index: packages/html/test/data/tree-construction/tests8.dat |
diff --git a/packages/html/test/data/tree-construction/tests8.dat b/packages/html/test/data/tree-construction/tests8.dat |
new file mode 100644 |
index 0000000000000000000000000000000000000000..90e6c919e8463a1e2c53df1ba3a67b4f166342f0 |
--- /dev/null |
+++ b/packages/html/test/data/tree-construction/tests8.dat |
@@ -0,0 +1,148 @@ |
+#data |
+<div> |
+<div></div> |
+</span>x |
+#errors |
+Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. |
+Line: 3 Col: 7 Unexpected end tag (span). Ignored. |
+Line: 3 Col: 8 Expected closing tag. Unexpected end of file. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <div> |
+| " |
+" |
+| <div> |
+| " |
+x" |
+ |
+#data |
+<div>x<div></div> |
+</span>x |
+#errors |
+Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. |
+Line: 2 Col: 7 Unexpected end tag (span). Ignored. |
+Line: 2 Col: 8 Expected closing tag. Unexpected end of file. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <div> |
+| "x" |
+| <div> |
+| " |
+x" |
+ |
+#data |
+<div>x<div></div>x</span>x |
+#errors |
+Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. |
+Line: 1 Col: 25 Unexpected end tag (span). Ignored. |
+Line: 1 Col: 26 Expected closing tag. Unexpected end of file. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <div> |
+| "x" |
+| <div> |
+| "xx" |
+ |
+#data |
+<div>x<div></div>y</span>z |
+#errors |
+Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. |
+Line: 1 Col: 25 Unexpected end tag (span). Ignored. |
+Line: 1 Col: 26 Expected closing tag. Unexpected end of file. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <div> |
+| "x" |
+| <div> |
+| "yz" |
+ |
+#data |
+<table><div>x<div></div>x</span>x |
+#errors |
+Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. |
+Line: 1 Col: 12 Unexpected start tag (div) in table context caused voodoo mode. |
+Line: 1 Col: 18 Unexpected start tag (div) in table context caused voodoo mode. |
+Line: 1 Col: 24 Unexpected end tag (div) in table context caused voodoo mode. |
+Line: 1 Col: 32 Unexpected end tag (span) in table context caused voodoo mode. |
+Line: 1 Col: 32 Unexpected end tag (span). Ignored. |
+Line: 1 Col: 33 Unexpected end of file. Expected table content. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <div> |
+| "x" |
+| <div> |
+| "xx" |
+| <table> |
+ |
+#data |
+x<table>x |
+#errors |
+Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. |
+Line: 1 Col: 9 Unexpected non-space characters in table context caused voodoo mode. |
+Line: 1 Col: 9 Unexpected end of file. Expected table content. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| "xx" |
+| <table> |
+ |
+#data |
+x<table><table>x |
+#errors |
+Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. |
+Line: 1 Col: 15 Unexpected start tag (table) implies end tag (table). |
+Line: 1 Col: 16 Unexpected non-space characters in table context caused voodoo mode. |
+Line: 1 Col: 16 Unexpected end of file. Expected table content. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| "x" |
+| <table> |
+| "x" |
+| <table> |
+ |
+#data |
+<b>a<div></div><div></b>y |
+#errors |
+Line: 1 Col: 3 Unexpected start tag (b). Expected DOCTYPE. |
+Line: 1 Col: 24 End tag (b) violates step 1, paragraph 3 of the adoption agency algorithm. |
+Line: 1 Col: 25 Expected closing tag. Unexpected end of file. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <b> |
+| "a" |
+| <div> |
+| <div> |
+| <b> |
+| "y" |
+ |
+#data |
+<a><div><p></a> |
+#errors |
+Line: 1 Col: 3 Unexpected start tag (a). Expected DOCTYPE. |
+Line: 1 Col: 15 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm. |
+Line: 1 Col: 15 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm. |
+Line: 1 Col: 15 Expected closing tag. Unexpected end of file. |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <a> |
+| <div> |
+| <a> |
+| <p> |
+| <a> |