diff --git a/tree-construction/tests18.dat b/tree-construction/tests18.dat
index 05363b39..0b6d5dc4 100644
--- a/tree-construction/tests18.dat
+++ b/tree-construction/tests18.dat
@@ -3,7 +3,6 @@
#errors
11: Start tag seen without seeing a doctype first. Expected “”.
23: End of file seen and there were open elements.
-11: Unclosed element “plaintext”.
#document
|
|
@@ -27,7 +26,6 @@
#errors
44: End of file seen and there were open elements.
-32: Unclosed element “plaintext”.
#document
|
|
@@ -40,7 +38,6 @@
#errors
44: End of file seen and there were open elements.
-32: Unclosed element “plaintext”.
#document
|
|
@@ -54,7 +51,6 @@
#errors
42: Bad start tag in “plaintext” in “head”.
54: End of file seen and there were open elements.
-42: Unclosed element “plaintext”.
#script-off
#document
|
@@ -69,7 +65,6 @@
#errors
45: End of file seen and there were open elements.
-33: Unclosed element “plaintext”.
#document
|
|
@@ -82,7 +77,6 @@
#errors
44: End of file seen and there were open elements.
-32: Unclosed element “plaintext”.
#document
|
|
@@ -95,8 +89,19 @@
#errors
-43: Start tag “plaintext” seen in “table”.
-55: Misplaced non-space characters inside a table.
+(1,43): foster-parenting-start-tag
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
+(1,56): foster-parenting-character
55: End of file seen and there were open elements.
-43: Unclosed element “plaintext”.
-22: Unclosed element “table”.
#document
|
|
@@ -194,7 +230,6 @@
34: Stray start tag “plaintext”.
46: Stray end tag “plaintext”.
47: End of file seen and there were open elements.
-23: Unclosed element “select”.
#document
|
|
@@ -210,8 +245,6 @@
41: Stray start tag “plaintext”.
51: “caption” start tag with “select” open.
52: End of file seen and there were open elements.
-51: Unclosed element “caption”.
-22: Unclosed element “table”.
#document
|
|
@@ -227,8 +260,6 @@
ab
#errors
49: End of file seen and there were open elements.
-36: Unclosed element “plaintext”.
-25: Unclosed element “template”.
#document
|
|
@@ -244,7 +275,6 @@
#errors
39: Stray start tag “plaintext”.
51: End of file seen and there were open elements.
-39: Unclosed element “plaintext”.
#document
|
|
@@ -259,7 +289,6 @@
36: Stray start tag “plaintext”.
48: Stray end tag “plaintext”.
48: End of file seen and there were open elements.
-25: Unclosed element “frameset”.
#document
|
|
@@ -282,7 +311,6 @@
#errors
46: Stray start tag “plaintext”.
58: End of file seen and there were open elements.
-46: Unclosed element “plaintext”.
#document
|
|
@@ -306,7 +334,6 @@