From 81619b1337f5ddfdb8c8a8d77c10d752a349b3f7 Mon Sep 17 00:00:00 2001
From: John Mark Bell
Date: Tue, 10 Mar 2009 13:05:06 +0000
Subject: Sync treebuilder tests with html5lib
svn path=/trunk/hubbub/; revision=6757
---
test/data/tree-construction/tests1.dat | 299 ++++++++++++++++++---------------
test/data/tree-construction/tests2.dat | 18 +-
test/data/tree-construction/tests3.dat | 1 -
test/data/tree-construction/tests4.dat | 1 +
test/data/tree-construction/tests6.dat | 38 ++---
test/data/tree-construction/tests7.dat | 71 ++++----
test/data/tree-construction/tests8.dat | 72 +++++---
test/data/tree-construction/tests9.dat | 128 +++++++-------
8 files changed, 344 insertions(+), 284 deletions(-)
diff --git a/test/data/tree-construction/tests1.dat b/test/data/tree-construction/tests1.dat
index c9f627b..db78aee 100644
--- a/test/data/tree-construction/tests1.dat
+++ b/test/data/tree-construction/tests1.dat
@@ -113,6 +113,8 @@ Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
#errors
Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
+Line: 1 Col: 19 Unexpected end tag (body).
+Line: 1 Col: 26 Unexpected end tag (html).
#document
|
|
@@ -149,6 +151,7 @@ Line: 1 Col: 6 Unexpected start tag (body). Expected DOCTYPE.
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
+Line: 1 Col: 13 Unexpected end tag (html). Ignored.
#document
|
|
@@ -167,6 +170,7 @@ Line: 1 Col: 7 Unexpected end tag (head). Expected DOCTYPE.
#errors
Line: 1 Col: 7 Unexpected end tag (body). Expected DOCTYPE.
+Line: 1 Col: 7 Unexpected end tag (body) after the (implied) root element.
#document
|
|
@@ -176,6 +180,7 @@ Line: 1 Col: 7 Unexpected end tag (body). Expected DOCTYPE.
#errors
Line: 1 Col: 7 Unexpected end tag (html). Expected DOCTYPE.
+Line: 1 Col: 7 Unexpected end tag (html) after the (implied) root element.
#document
|
|
@@ -222,32 +227,25 @@ Line: 1 Col: 30 Expected closing tag. Unexpected end of file.
#data
Hello
World
#errors
-Line: 1 Col: 4 Unexpected start tag (h1). Expected DOCTYPE.
-Line: 1 Col: 18 Expected closing tag. Unexpected end of file.
+4: Start tag seen without seeing a doctype first. Expected “”.
+13: Heading cannot be a child of another heading.
+18: End of file seen and there were open elements.
#document
|
|
|
|
#errors
-<<<<<<< .mine
-3: missing document type declaration
-10: a element start tag implying a element end tag
-10: first AAA hit
-10: mismatched a element end tag (misnested tags)
-24: mismatched a element end tag (no matching start tag)
-=======
Line: 1 Col: 3 Unexpected start tag (a). Expected DOCTYPE.
Line: 1 Col: 10 Unexpected start tag (a) implies end tag (a).
Line: 1 Col: 10 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm.
Line: 1 Col: 24 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm.
->>>>>>> .r1092
#document
|
|
@@ -341,12 +339,12 @@ Line: 1 Col: 11 Unexpected end tag (p). Ignored.
#data
X
#errors
-8: Start tag seen without seeing a doctype first. Expected “”.
-11: Stray “b” start tag.
-27: “select” start tag where end tag expected.
-39: No element “b” to close.
-48: Stray end tag “select”.
-49: End of file seen and there were open elements.
+Line: 1 Col: 8 Unexpected start tag (select). Expected DOCTYPE.
+Line: 1 Col: 11 Unexpected start tag token (b) in the select phase. Ignored.
+Line: 1 Col: 27 Unexpected select start tag in the select phase treated as select end tag.
+Line: 1 Col: 39 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 48 Unexpected end tag (select). Ignored.
+Line: 1 Col: 49 Expected closing tag. Unexpected end of file.
#document
|
|
@@ -366,6 +364,7 @@ Line: 1 Col: 40 Got table cell end tag (td) while required end tags are missing.
Line: 1 Col: 43 Unexpected start tag (a) in table context caused voodoo mode.
Line: 1 Col: 43 Unexpected start tag (a) implies end tag (a).
Line: 1 Col: 43 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 51 Unexpected implied end tag (a) in the table phase.
Line: 1 Col: 63 Unexpected start tag (a) implies end tag (a).
Line: 1 Col: 64 Expected closing tag. Unexpected end of file.
#document
@@ -415,9 +414,11 @@ Line: 1 Col: 16 Expected closing tag. Unexpected end of file.
Line: 1 Col: 7 Unexpected '-' after '--' found in comment.
Line: 1 Col: 14 Unexpected start tag (font). Expected DOCTYPE.
Line: 1 Col: 38 Unexpected non-space characters in table context caused voodoo mode.
+Line: 1 Col: 41 Unexpected start tag (b) in table context caused voodoo mode.
+Line: 1 Col: 48 Unexpected implied end tag (b) in the table phase.
Line: 1 Col: 48 Unexpected table cell start tag (th) in the table body phase.
Line: 1 Col: 63 Got table cell end tag (th) while required end tags are missing.
-Line: 1 Col: 71 Expected closing tag. Unexpected end of file.
+Line: 1 Col: 71 Unexpected end of file. Expected table content.
#document
|
|
@@ -459,8 +460,8 @@ Line: 1 Col: 61 Unexpected end tag (li). Missing end tag (body).
#data
A
B
#errors
-6: Start tag seen without seeing a doctype first. Expected “”.
-10: Stray end tag “p”.
-16: “meta” element outside “head”.
+Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
+Line: 1 Col: 10 Unexpected end tag (p). Ignored.
#document
|
|
@@ -1379,9 +1384,8 @@ Line: 1 Col: 35 Expected closing tag. Unexpected end of file.
#data
#errors
-6: Start tag seen without seeing a doctype first. Expected “”.
-13: Stray end tag “html”.
-19: “meta” element outside “head”.
+Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
+Line: 1 Col: 13 Unexpected end tag (html). Ignored.
#document
|
|
@@ -1429,14 +1433,15 @@ Line: 1 Col: 29 Expected closing tag. Unexpected end of file.
#data
#errors
-Line: 1 Col: 4 Unexpected start tag (h1). Expected DOCTYPE.
-Line: 1 Col: 8 Expected closing tag. Unexpected end of file.
+4: Start tag seen without seeing a doctype first. Expected “”.
+8: Heading cannot be a child of another heading.
+8: End of file seen and there were open elements.
#document
|
|
|
|
-|
+|
#data
@@ -1516,12 +1521,12 @@ Line: 1 Col: 11 Unexpected end tag (p). Ignored.
#data
#errors
-8: Start tag seen without seeing a doctype first. Expected “”.
-11: Stray “b” start tag.
-27: “select” start tag where end tag expected.
-39: No element “b” to close.
-48: Stray end tag “select”.
-48: End of file seen and there were open elements.
+Line: 1 Col: 8 Unexpected start tag (select). Expected DOCTYPE.
+Line: 1 Col: 11 Unexpected start tag token (b) in the select phase. Ignored.
+Line: 1 Col: 27 Unexpected select start tag in the select phase treated as select end tag.
+Line: 1 Col: 39 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 48 Unexpected end tag (select). Ignored.
+Line: 1 Col: 48 Expected closing tag. Unexpected end of file.
#document
|
|
@@ -1550,6 +1555,7 @@ Line: 1 Col: 40 Got table cell end tag (td) while required end tags are missing.
Line: 1 Col: 43 Unexpected start tag (a) in table context caused voodoo mode.
Line: 1 Col: 43 Unexpected start tag (a) implies end tag (a).
Line: 1 Col: 43 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 51 Unexpected implied end tag (a) in the table phase.
Line: 1 Col: 54 Unexpected start tag (a) implies end tag (a).
Line: 1 Col: 54 End tag (a) violates step 1, paragraph 2 of the adoption agency algorithm.
Line: 1 Col: 54 Expected closing tag. Unexpected end of file.
@@ -1629,11 +1635,11 @@ Line: 1 Col: 105 Expected closing tag. Unexpected end of file.
#data
#errors
-Line: 1 Col: 4 Unexpected start tag (h1). Expected DOCTYPE.
-Line: 1 Col: 15 Unexpected table cell start tag (td) in the table body phase.
-Line: 1 Col: 27 Got table cell end tag (td) while required end tags are missing.
-Line: 1 Col: 36 End tag (h1) seen too early. Expected other end tag.
-Line: 1 Col: 36 Expected closing tag. Unexpected end of file.
+4: Start tag seen without seeing a doctype first. Expected “”.
+15: “td” start tag in table body.
+27: Unclosed elements.
+31: Heading cannot be a child of another heading.
+36: End tag “h1” seen but there were unclosed elements.
#document
|
|
@@ -1644,7 +1650,7 @@ Line: 1 Col: 36 Expected closing tag. Unexpected end of file.
|
#errors
-9: End tag seen without seeing a doctype first. Expected “”.
-9: Stray end tag “strong”.
-13: Stray end tag “b”.
-18: Stray end tag “em”.
-22: Stray end tag “i”.
-26: Stray end tag “u”.
-35: Stray end tag “strike”.
-39: Stray end tag “s”.
-47: Stray end tag “blink”.
-52: Stray end tag “tt”.
-58: Stray end tag “pre”.
-64: Stray end tag “big”.
-72: Stray end tag “small”.
-79: Stray end tag “font”.
-88: Stray end tag “select”.
-93: Stray end tag “h1”.
-98: Stray end tag “h2”.
-103: Stray end tag “h3”.
-108: Stray end tag “h4”.
-113: Stray end tag “h5”.
-118: Stray end tag “h6”.
-125: Stray end tag “body”.
-130: Stray end tag “br”.
-134: Stray end tag “a”.
-140: Stray end tag “img”.
-148: Stray end tag “title”.
-155: Stray end tag “span”.
-163: Stray end tag “style”.
-172: Stray end tag “script”.
-180: Stray end tag “table”.
-185: Stray end tag “th”.
-190: Stray end tag “td”.
-195: Stray end tag “tr”.
-203: Stray end tag “frame”.
-210: Stray end tag “area”.
-217: Stray end tag “link”.
-225: Stray end tag “param”.
-230: Stray end tag “hr”.
-238: Stray end tag “input”.
-244: Stray end tag “col”.
-251: Stray end tag “base”.
-258: Stray end tag “meta”.
-269: Stray end tag “basefont”.
-279: Stray end tag “bgsound”.
-287: Stray end tag “embed”.
-296: Stray end tag “spacer”.
-300: Stray end tag “p”.
-305: Stray end tag “dd”.
-310: Stray end tag “dt”.
-320: Stray end tag “caption”.
-331: Stray end tag “colgroup”.
-339: Stray end tag “tbody”.
-347: Stray end tag “tfoot”.
-355: Stray end tag “thead”.
-365: Stray end tag “address”.
-378: Stray end tag “blockquote”.
-387: Stray end tag “center”.
-393: Stray end tag “dir”.
-399: Stray end tag “div”.
-404: Stray end tag “dl”.
-415: Stray end tag “fieldset”.
-425: Stray end tag “listing”.
-432: Stray end tag “menu”.
-437: Stray end tag “ol”.
-442: Stray end tag “ul”.
-447: Stray end tag “li”.
-454: Stray end tag “nobr”.
-460: Stray end tag “wbr”.
-467: Stray end tag “form”.
-476: Stray end tag “button”.
-486: Stray end tag “marquee”.
-495: Stray end tag “object”.
-502: Stray end tag “html”.
-513: Stray end tag “frameset”.
-520: Stray end tag “head”.
-529: Stray end tag “iframe”.
-537: Stray end tag “image”.
-547: Stray end tag “isindex”.
-557: Stray end tag “noembed”.
-568: Stray end tag “noframes”.
-579: Stray end tag “noscript”.
-590: Stray end tag “optgroup”.
-599: Stray end tag “option”.
-611: Stray end tag “plaintext”.
-622: Stray end tag “textarea”.
+Line: 1 Col: 9 Unexpected end tag (strong). Expected DOCTYPE.
+Line: 1 Col: 9 Unexpected end tag (strong) after the (implied) root element.
+Line: 1 Col: 13 Unexpected end tag (b) after the (implied) root element.
+Line: 1 Col: 18 Unexpected end tag (em) after the (implied) root element.
+Line: 1 Col: 22 Unexpected end tag (i) after the (implied) root element.
+Line: 1 Col: 26 Unexpected end tag (u) after the (implied) root element.
+Line: 1 Col: 35 Unexpected end tag (strike) after the (implied) root element.
+Line: 1 Col: 39 Unexpected end tag (s) after the (implied) root element.
+Line: 1 Col: 47 Unexpected end tag (blink) after the (implied) root element.
+Line: 1 Col: 52 Unexpected end tag (tt) after the (implied) root element.
+Line: 1 Col: 58 Unexpected end tag (pre) after the (implied) root element.
+Line: 1 Col: 64 Unexpected end tag (big) after the (implied) root element.
+Line: 1 Col: 72 Unexpected end tag (small) after the (implied) root element.
+Line: 1 Col: 79 Unexpected end tag (font) after the (implied) root element.
+Line: 1 Col: 88 Unexpected end tag (select) after the (implied) root element.
+Line: 1 Col: 93 Unexpected end tag (h1) after the (implied) root element.
+Line: 1 Col: 98 Unexpected end tag (h2) after the (implied) root element.
+Line: 1 Col: 103 Unexpected end tag (h3) after the (implied) root element.
+Line: 1 Col: 108 Unexpected end tag (h4) after the (implied) root element.
+Line: 1 Col: 113 Unexpected end tag (h5) after the (implied) root element.
+Line: 1 Col: 118 Unexpected end tag (h6) after the (implied) root element.
+Line: 1 Col: 125 Unexpected end tag (body) after the (implied) root element.
+Line: 1 Col: 130 Unexpected end tag (br). Treated as br element.
+Line: 1 Col: 134 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 140 This element (img) has no end tag.
+Line: 1 Col: 148 Unexpected end tag (title). Ignored.
+Line: 1 Col: 155 Unexpected end tag (span). Ignored.
+Line: 1 Col: 163 Unexpected end tag (style). Ignored.
+Line: 1 Col: 172 Unexpected end tag (script). Ignored.
+Line: 1 Col: 180 Unexpected end tag (table). Ignored.
+Line: 1 Col: 185 Unexpected end tag (th). Ignored.
+Line: 1 Col: 190 Unexpected end tag (td). Ignored.
+Line: 1 Col: 195 Unexpected end tag (tr). Ignored.
+Line: 1 Col: 203 This element (frame) has no end tag.
+Line: 1 Col: 210 This element (area) has no end tag.
+Line: 1 Col: 217 Unexpected end tag (link). Ignored.
+Line: 1 Col: 225 This element (param) has no end tag.
+Line: 1 Col: 230 This element (hr) has no end tag.
+Line: 1 Col: 238 This element (input) has no end tag.
+Line: 1 Col: 244 Unexpected end tag (col). Ignored.
+Line: 1 Col: 251 Unexpected end tag (base). Ignored.
+Line: 1 Col: 258 Unexpected end tag (meta). Ignored.
+Line: 1 Col: 269 This element (basefont) has no end tag.
+Line: 1 Col: 279 This element (bgsound) has no end tag.
+Line: 1 Col: 287 This element (embed) has no end tag.
+Line: 1 Col: 296 This element (spacer) has no end tag.
+Line: 1 Col: 300 Unexpected end tag (p). Ignored.
+Line: 1 Col: 305 End tag (dd) seen too early. Expected other end tag.
+Line: 1 Col: 310 End tag (dt) seen too early. Expected other end tag.
+Line: 1 Col: 320 Unexpected end tag (caption). Ignored.
+Line: 1 Col: 331 Unexpected end tag (colgroup). Ignored.
+Line: 1 Col: 339 Unexpected end tag (tbody). Ignored.
+Line: 1 Col: 347 Unexpected end tag (tfoot). Ignored.
+Line: 1 Col: 355 Unexpected end tag (thead). Ignored.
+Line: 1 Col: 365 End tag (address) seen too early. Expected other end tag.
+Line: 1 Col: 378 End tag (blockquote) seen too early. Expected other end tag.
+Line: 1 Col: 387 End tag (center) seen too early. Expected other end tag.
+Line: 1 Col: 393 Unexpected end tag (dir). Ignored.
+Line: 1 Col: 399 End tag (div) seen too early. Expected other end tag.
+Line: 1 Col: 404 End tag (dl) seen too early. Expected other end tag.
+Line: 1 Col: 415 End tag (fieldset) seen too early. Expected other end tag.
+Line: 1 Col: 425 End tag (listing) seen too early. Expected other end tag.
+Line: 1 Col: 432 End tag (menu) seen too early. Expected other end tag.
+Line: 1 Col: 437 End tag (ol) seen too early. Expected other end tag.
+Line: 1 Col: 442 End tag (ul) seen too early. Expected other end tag.
+Line: 1 Col: 447 End tag (li) seen too early. Expected other end tag.
+Line: 1 Col: 454 End tag (nobr) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 460 This element (wbr) has no end tag.
+Line: 1 Col: 476 End tag (button) seen too early. Expected other end tag.
+Line: 1 Col: 486 End tag (marquee) seen too early. Expected other end tag.
+Line: 1 Col: 495 End tag (object) seen too early. Expected other end tag.
+Line: 1 Col: 513 Unexpected end tag (). Ignored.
+Line: 1 Col: 513 Unexpected end tag (frameset). Ignored.
+Line: 1 Col: 520 Unexpected end tag (head). Ignored.
+Line: 1 Col: 529 Unexpected end tag (iframe). Ignored.
+Line: 1 Col: 537 This element (image) has no end tag.
+Line: 1 Col: 547 This element (isindex) has no end tag.
+Line: 1 Col: 557 Unexpected end tag (noembed). Ignored.
+Line: 1 Col: 568 Unexpected end tag (noframes). Ignored.
+Line: 1 Col: 579 Unexpected end tag (noscript). Ignored.
+Line: 1 Col: 590 Unexpected end tag (optgroup). Ignored.
+Line: 1 Col: 599 Unexpected end tag (option). Ignored.
+Line: 1 Col: 611 Unexpected end tag (plaintext). Ignored.
+Line: 1 Col: 622 Unexpected end tag (textarea). Ignored.
#document
|
|
|
+|
+|
#data
@@ -1815,32 +1822,58 @@ Line: 1 Col: 80 Unexpected start tag colgroup. Ignored.
Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
Line: 1 Col: 20 Unexpected end tag (strong) in table context caused voodoo mode.
Line: 1 Col: 20 End tag (strong) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 24 Unexpected end tag (b) in table context caused voodoo mode.
Line: 1 Col: 24 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 29 Unexpected end tag (em) in table context caused voodoo mode.
Line: 1 Col: 29 End tag (em) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 33 Unexpected end tag (i) in table context caused voodoo mode.
Line: 1 Col: 33 End tag (i) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 37 Unexpected end tag (u) in table context caused voodoo mode.
Line: 1 Col: 37 End tag (u) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 46 Unexpected end tag (strike) in table context caused voodoo mode.
Line: 1 Col: 46 End tag (strike) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 50 Unexpected end tag (s) in table context caused voodoo mode.
Line: 1 Col: 50 End tag (s) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 58 Unexpected end tag (blink) in table context caused voodoo mode.
Line: 1 Col: 58 Unexpected end tag (blink). Ignored.
+Line: 1 Col: 63 Unexpected end tag (tt) in table context caused voodoo mode.
Line: 1 Col: 63 End tag (tt) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 69 Unexpected end tag (pre) in table context caused voodoo mode.
Line: 1 Col: 69 End tag (pre) seen too early. Expected other end tag.
+Line: 1 Col: 75 Unexpected end tag (big) in table context caused voodoo mode.
Line: 1 Col: 75 End tag (big) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 83 Unexpected end tag (small) in table context caused voodoo mode.
Line: 1 Col: 83 End tag (small) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 90 Unexpected end tag (font) in table context caused voodoo mode.
Line: 1 Col: 90 End tag (font) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 99 Unexpected end tag (select) in table context caused voodoo mode.
Line: 1 Col: 99 Unexpected end tag (select). Ignored.
+Line: 1 Col: 104 Unexpected end tag (h1) in table context caused voodoo mode.
Line: 1 Col: 104 End tag (h1) seen too early. Expected other end tag.
+Line: 1 Col: 109 Unexpected end tag (h2) in table context caused voodoo mode.
Line: 1 Col: 109 End tag (h2) seen too early. Expected other end tag.
+Line: 1 Col: 114 Unexpected end tag (h3) in table context caused voodoo mode.
Line: 1 Col: 114 End tag (h3) seen too early. Expected other end tag.
+Line: 1 Col: 119 Unexpected end tag (h4) in table context caused voodoo mode.
Line: 1 Col: 119 End tag (h4) seen too early. Expected other end tag.
+Line: 1 Col: 124 Unexpected end tag (h5) in table context caused voodoo mode.
Line: 1 Col: 124 End tag (h5) seen too early. Expected other end tag.
+Line: 1 Col: 129 Unexpected end tag (h6) in table context caused voodoo mode.
Line: 1 Col: 129 End tag (h6) seen too early. Expected other end tag.
Line: 1 Col: 136 Unexpected end tag (body) in the table row phase. Ignored.
+Line: 1 Col: 141 Unexpected end tag (br) in table context caused voodoo mode.
Line: 1 Col: 141 Unexpected end tag (br). Treated as br element.
+Line: 1 Col: 145 Unexpected end tag (a) in table context caused voodoo mode.
Line: 1 Col: 145 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm.
+Line: 1 Col: 151 Unexpected end tag (img) in table context caused voodoo mode.
Line: 1 Col: 151 This element (img) has no end tag.
+Line: 1 Col: 159 Unexpected end tag (title) in table context caused voodoo mode.
Line: 1 Col: 159 Unexpected end tag (title). Ignored.
+Line: 1 Col: 166 Unexpected end tag (span) in table context caused voodoo mode.
Line: 1 Col: 166 Unexpected end tag (span). Ignored.
+Line: 1 Col: 174 Unexpected end tag (style) in table context caused voodoo mode.
Line: 1 Col: 174 Unexpected end tag (style). Ignored.
+Line: 1 Col: 183 Unexpected end tag (script) in table context caused voodoo mode.
Line: 1 Col: 183 Unexpected end tag (script). Ignored.
Line: 1 Col: 196 Unexpected end tag (th). Ignored.
Line: 1 Col: 201 Unexpected end tag (td). Ignored.
@@ -1880,12 +1913,10 @@ Line: 1 Col: 453 End tag (ul) seen too early. Expected other end tag.
Line: 1 Col: 458 End tag (li) seen too early. Expected other end tag.
Line: 1 Col: 465 End tag (nobr) violates step 1, paragraph 1 of the adoption agency algorithm.
Line: 1 Col: 471 This element (wbr) has no end tag.
-Line: 1 Col: 478 End tag (form) seen too early. Ignored.
Line: 1 Col: 487 End tag (button) seen too early. Expected other end tag.
Line: 1 Col: 497 End tag (marquee) seen too early. Expected other end tag.
Line: 1 Col: 506 End tag (object) seen too early. Expected other end tag.
-Line: 1 Col: 524 Unexpected end tag (frameset). Expected end of file.
-Line: 1 Col: 524 Unexpected end tag token (frameset) in the after body phase.
+Line: 1 Col: 524 Unexpected end tag (). Ignored.
Line: 1 Col: 524 Unexpected end tag (frameset). Ignored.
Line: 1 Col: 531 Unexpected end tag (head). Ignored.
Line: 1 Col: 540 Unexpected end tag (iframe). Ignored.
diff --git a/test/data/tree-construction/tests2.dat b/test/data/tree-construction/tests2.dat
index 34b0745..eb9b444 100644
--- a/test/data/tree-construction/tests2.dat
+++ b/test/data/tree-construction/tests2.dat
@@ -129,7 +129,7 @@ Line: 1 Col: 11 Unexpected end of file. Expected end tag (script).
#errors
Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
Line: 1 Col: 18 Unexpected start tag (plaintext) in table context caused voodoo mode.
-Line: 1 Col: 22 Expected closing tag. Unexpected end of file.
+Line: 1 Col: 22 Unexpected end of file. Expected table content.
#document
|
|
@@ -154,7 +154,7 @@ Line: 1 Col: 23 Expected closing tag. Unexpected end of file.
TEST
#errors
Line: 1 Col: 30 Unexpected non-space characters in table context caused voodoo mode.
-Line: 1 Col: 30 Expected closing tag. Unexpected end of file.
+Line: 1 Col: 30 Unexpected end of file. Expected table content.
#document
|
|
@@ -454,8 +454,8 @@ Line: 1 Col: 41 Expected closing tag. Unexpected end of file.
#data
#errors
Line: 1 Col: 8 Unexpected end tag (table). Ignored.
-Line: 1 Col: 12 Expected closing tag. Unexpected end of file.
+Line: 1 Col: 12 Unexpected end of file. Expected table content.
#document-fragment
table
#document
@@ -604,8 +602,8 @@ table
#data
#errors
-6: Start tag seen without seeing a doctype first. Expected .
-13: Stray end tag html.
+Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
+Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element.
#document
|
|
@@ -616,6 +614,7 @@ table
#errors
Line: 1 Col: 20 Unexpected html end tag in inner html mode.
+Line: 1 Col: 20 Unexpected EOF in inner html mode.
#document-fragment
html
#document
@@ -635,7 +634,8 @@ Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
#data
#errors
-doctype-error
+Line: 1 Col: 50 Erroneous DOCTYPE.
+Line: 1 Col: 63 Unexpected end tag (html) after the (implied) root element.
#document
|
|
diff --git a/test/data/tree-construction/tests7.dat b/test/data/tree-construction/tests7.dat
index be0b9a5..d80b618 100644
--- a/test/data/tree-construction/tests7.dat
+++ b/test/data/tree-construction/tests7.dat
@@ -12,7 +12,8 @@
#data
X
#errors
-xxx
+Line: 1 Col: 29 Unexpected start tag (title) in table context caused voodoo mode.
+Line: 1 Col: 38 Unexpected end tag (title) in table context caused voodoo mode.
#document
|
|
@@ -25,7 +26,7 @@ xxx
#data
X
#errors
-element-belongs-in-da-head
+Line: 1 Col: 35 Unexpected start tag (title) that can be in head. Moved.
#document
|
|
@@ -37,7 +38,7 @@ element-belongs-in-da-head
#data
X
#errors
-element-belongs-in-da-head
+Line: 1 Col: 29 Unexpected start tag (title) that can be in head. Moved.
#document
|
|
@@ -49,8 +50,7 @@ element-belongs-in-da-head
#data
X
#errors
-22: Stray end tag body.
-29: title element outside head.
+Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element.
#document
|
|
@@ -62,7 +62,7 @@ element-belongs-in-da-head
#data