quux
#errors
-(1,49) unexpected-start-tag-in-select
-(1,52) unexpected-start-tag-in-select
-(1,59) unexpected-end-tag-in-select
-(1,62) unexpected-start-tag-in-select
-(1,69) unexpected-end-tag-in-select
-(1,72) unexpected-start-tag-in-select
-(1,83) unexpected-table-element-end-tag-in-select-in-table
+1:70: ERROR: Start tag 'p' isn't allowed here. Currently open tags: html, body, table, tbody, tr, td, select, svg.
+1:76: ERROR: End tag 'table' isn't allowed here. Currently open tags: html, body, table, tbody, tr, td, select.
#document
|
|
@@ -278,28 +271,39 @@
|
|
|
-| "foobarbaz"
+|
+|
+| "foo"
+|
+| "bar"
+|
+| "baz"
|
| "quux"
#data
quux
#errors
-(1,36) unexpected-start-tag-implies-table-voodoo
-(1,41) unexpected-start-tag-in-select
-(1,44) unexpected-start-tag-in-select
-(1,51) unexpected-end-tag-in-select
-(1,54) unexpected-start-tag-in-select
-(1,61) unexpected-end-tag-in-select
-(1,64) unexpected-start-tag-in-select
-(1,75) unexpected-table-element-end-tag-in-select-in-table
+1:29: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, table.
+1:37: ERROR: Start tag 'svg' isn't allowed here. Currently open tags: html, body, table, select.
+1:62: ERROR: Start tag 'p' isn't allowed here. Currently open tags: html, body, table, select, svg.
+1:62: ERROR: Start tag 'p' isn't allowed here. Currently open tags: html, body, table, select.
+1:65: ERROR: Character tokens aren't legal here
+1:66: ERROR: Character tokens aren't legal here
+1:67: ERROR: Character tokens aren't legal here
#document
|
|
|
|
|
-| "foobarbaz"
+|
+|
+| "foo"
+|
+| "bar"
+|
+| "baz"
|
|
| "quux"
diff --git a/tests/phpunit/data/html5lib-tests/tree-construction/tests17.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests17.dat
index e49bcf03142dc..1c472d1dc1eb8 100644
--- a/tests/phpunit/data/html5lib-tests/tree-construction/tests17.dat
+++ b/tests/phpunit/data/html5lib-tests/tree-construction/tests17.dat
@@ -1,9 +1,8 @@
#data
#errors
-(1,37): unexpected-start-tag-implies-table-voodoo
-(1,41): unexpected-table-element-start-tag-in-select-in-table
-(1,41): eof-in-table
+(1,30): unexpected-start-tag
+(1,42): premature-eof
#document
|
|
@@ -17,9 +16,8 @@
#data
#errors
-(1,34): unexpected-start-tag-implies-table-voodoo
-(1,38): unexpected-table-element-start-tag-in-select-in-table
-(1,38): expected-closing-tag-but-got-eof
+(1,27): unexpected-start-tag
+(1,39): premature-eof
#document
|
|
diff --git a/tests/phpunit/data/html5lib-tests/tree-construction/tests18.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests18.dat
index 0b6d5dc404a9d..a3bb69a16ef57 100644
--- a/tests/phpunit/data/html5lib-tests/tree-construction/tests18.dat
+++ b/tests/phpunit/data/html5lib-tests/tree-construction/tests18.dat
@@ -227,34 +227,42 @@
#data
X
#errors
-34: Stray start tag “plaintext”.
-46: Stray end tag “plaintext”.
-47: End of file seen and there were open elements.
+1:48: ERROR: Premature end of file. Currently open tags: html, body, select, plaintext.
#document
|
|
|
|
|
-| "X"
+|
+| " X"
#data
ab
#errors
-30: Start tag “select” seen in “table”.
-41: Stray start tag “plaintext”.
-51: “caption” start tag with “select” open.
-52: End of file seen and there were open elements.
+1:23: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, table.
+1:31: ERROR: Start tag 'plaintext' isn't allowed here. Currently open tags: html, body, table, select.
+1:42: ERROR: Character tokens aren't legal here
+1:43: ERROR: Character tokens aren't legal here
+1:44: ERROR: Character tokens aren't legal here
+1:45: ERROR: Character tokens aren't legal here
+1:46: ERROR: Character tokens aren't legal here
+1:47: ERROR: Character tokens aren't legal here
+1:48: ERROR: Character tokens aren't legal here
+1:49: ERROR: Character tokens aren't legal here
+1:50: ERROR: Character tokens aren't legal here
+1:51: ERROR: Character tokens aren't legal here
+1:52: ERROR: Character tokens aren't legal here
+1:53: ERROR: Premature end of file. Currently open tags: html, body, table, select, plaintext.
#document
|
|
|
|
|
-| "a"
+|
+| "ab"
|
-|
-| "b"
#data
a b
@@ -446,8 +454,11 @@
#data
abc
#errors
-(1,30): unexpected-start-tag-implies-table-voodoo
-(1,58): eof-in-select
+1:23: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, table.
+1:56: ERROR: Character tokens aren't legal here
+1:57: ERROR: Character tokens aren't legal here
+1:58: ERROR: Character tokens aren't legal here
+1:59: ERROR: Premature end of file. Currently open tags: html, body, table, select.
#document
|
|
@@ -462,8 +473,11 @@
#data
abc
#errors
-(1,34): unexpected-start-tag-implies-table-voodoo
-(1,62): eof-in-select
+1:27: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, table, tbody, tr.
+1:60: ERROR: Character tokens aren't legal here
+1:61: ERROR: Character tokens aren't legal here
+1:62: ERROR: Character tokens aren't legal here
+1:63: ERROR: Premature end of file. Currently open tags: html, body, table, tbody, tr, select.
#document
|
|
diff --git a/tests/phpunit/data/html5lib-tests/tree-construction/tests2.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests2.dat
index 11ef9b1643ff4..9232edde30918 100644
--- a/tests/phpunit/data/html5lib-tests/tree-construction/tests2.dat
+++ b/tests/phpunit/data/html5lib-tests/tree-construction/tests2.dat
@@ -500,7 +500,7 @@
#data
#errors
-(1,68): unexpected-select-in-select
+1:61: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, select, option.
#document
|
|
diff --git a/tests/phpunit/data/html5lib-tests/tree-construction/tests7.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests7.dat
index b2db4de1f3bdf..aa7e16b408e2e 100644
--- a/tests/phpunit/data/html5lib-tests/tree-construction/tests7.dat
+++ b/tests/phpunit/data/html5lib-tests/tree-construction/tests7.dat
@@ -200,7 +200,7 @@ X
#data
X
#errors
-(1,30): unexpected-input-in-select
+1:32: ERROR: Premature end of file. Currently open tags: html, body, select.
#document
|
|
@@ -213,7 +213,7 @@ X
#data
X
#errors
-(1,31): unexpected-select-in-select
+1:24: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, select.
#document
|
|
@@ -443,11 +443,11 @@ A
#data
#errors
-(1,8): expected-doctype-but-got-start-tag
-(1,16): unexpected-input-in-select
+1:1: ERROR: Expected a doctype token
+1:17: ERROR: Premature end of file. Currently open tags: html, body, select.
#document
|
|
|
|
-|
+|
diff --git a/tests/phpunit/data/html5lib-tests/tree-construction/tests9.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests9.dat
index f8d04b23bc0be..1456324ffc21f 100644
--- a/tests/phpunit/data/html5lib-tests/tree-construction/tests9.dat
+++ b/tests/phpunit/data/html5lib-tests/tree-construction/tests9.dat
@@ -48,20 +48,17 @@
#data
#errors
-(1,35) unexpected-start-tag-in-select
-(1,42) unexpected-end-tag-in-select
#document
|
|
|
|
|
+|
#data
#errors
-(1,43) unexpected-start-tag-in-select
-(1,50) unexpected-end-tag-in-select
#document
|
|
@@ -69,6 +66,7 @@
|
|
|
+|
#data
@@ -301,13 +299,8 @@
#data
quux
#errors
-(1,50) unexpected-start-tag-in-select
-(1,54) unexpected-start-tag-in-select
-(1,62) unexpected-end-tag-in-select
-(1,66) unexpected-start-tag-in-select
-(1,74) unexpected-end-tag-in-select
-(1,77) unexpected-start-tag-in-select
-(1,88) unexpected-table-element-end-tag-in-select-in-table
+1:75: ERROR: Start tag 'p' isn't allowed here. Currently open tags: html, body, table, tbody, tr, td, select, math.
+1:81: ERROR: End tag 'table' isn't allowed here. Currently open tags: html, body, table, tbody, tr, td, select.
#document
|
|
@@ -318,28 +311,45 @@
|
|
|
-| "foobarbaz"
+|
+|
+| "foo"
+|
+| "bar"
+|
+| "baz"
|
| "quux"
#data
quux
#errors
-(1,36) unexpected-start-tag-implies-table-voodoo
-(1,42) unexpected-start-tag-in-select
-(1,46) unexpected-start-tag-in-select
-(1,54) unexpected-end-tag-in-select
-(1,58) unexpected-start-tag-in-select
-(1,66) unexpected-end-tag-in-select
-(1,69) unexpected-start-tag-in-select
-(1,80) unexpected-table-element-end-tag-in-select-in-table
+1:29: ERROR: Start tag 'select' isn't allowed here. Currently open tags: html, body, table.
+1:37: ERROR: Start tag 'math' isn't allowed here. Currently open tags: html, body, table, select.
+1:47: ERROR: Character tokens aren't legal here
+1:48: ERROR: Character tokens aren't legal here
+1:49: ERROR: Character tokens aren't legal here
+1:59: ERROR: Character tokens aren't legal here
+1:60: ERROR: Character tokens aren't legal here
+1:61: ERROR: Character tokens aren't legal here
+1:67: ERROR: Start tag 'p' isn't allowed here. Currently open tags: html, body, table, select, math.
+1:67: ERROR: Start tag 'p' isn't allowed here. Currently open tags: html, body, table, select.
+1:70: ERROR: Character tokens aren't legal here
+1:71: ERROR: Character tokens aren't legal here
+1:72: ERROR: Character tokens aren't legal here
#document
|
|
|
|
|
-| "foobarbaz"
+|
+|
+| "foo"
+|
+| "bar"
+|
+| "baz"
|