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/tests7.dat | 71 ++++++++++++++++++++-------------- 1 file changed, 41 insertions(+), 30 deletions(-) (limited to 'test/data/tree-construction/tests7.dat') 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
#errors -meta-in-table +Line: 1 Col: 28 Unexpected start tag (meta) in table context caused voodoo mode. #document | | @@ -74,7 +74,8 @@ meta-in-table #data X
#errors -characters-in-table +Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. +Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. #document | | @@ -88,8 +89,8 @@ characters-in-table #data X
#errors -characters-in-table -meta-in-table +Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +Line: 1 Col: 45 Unexpected start tag (meta) in table context caused voodoo mode. #document | | @@ -125,7 +126,7 @@ meta-in-table #data x
#errors -node-in-table +Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. #document | | @@ -138,7 +139,7 @@ node-in-table #data x
#errors -node-in-table +Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode. #document | | @@ -151,7 +152,7 @@ node-in-table #data x
#errors -node-in-table-row +Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode. #document | | @@ -166,6 +167,7 @@ node-in-table-row #data
#errors +Line: 1 Col: 44 Unexpected end tag (style) in table context caused voodoo mode. #document | | @@ -179,6 +181,7 @@ node-in-table-row #data
#errors +Line: 1 Col: 53 Unexpected end tag (script) in table context caused voodoo mode. #document | | @@ -193,7 +196,9 @@ node-in-table-row #data X
#errors -xxxx +Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +Line: 1 Col: 30 Unexpected start tag (style) in table context caused voodoo mode. +Line: 1 Col: 45 Unexpected end tag (style) in table context caused voodoo mode. #document | | @@ -233,7 +238,7 @@ X #data X #errors -input-in-select +Line: 1 Col: 30 Unexpected input start tag in the select phase. #document | | @@ -246,7 +251,7 @@ input-in-select #data X #errors -select-in-select +Line: 1 Col: 31 Unexpected select start tag in the select phase treated as select end tag. #document | | @@ -258,7 +263,7 @@ select-in-select #data
#errors -input-in-table +Line: 1 Col: 41 Unexpected input with type hidden in table context. #document | | @@ -271,7 +276,8 @@ input-in-table #data X
#errors -input-in-table +Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +Line: 1 Col: 42 Unexpected start tag (input) in table context caused voodoo mode. #document | | @@ -285,7 +291,7 @@ input-in-table #data
#errors -input-in-table +Line: 1 Col: 43 Unexpected input with type hidden in table context. #document | | @@ -299,7 +305,7 @@ input-in-table #data
#errors -input-in-table +Line: 1 Col: 45 Unexpected input with type hidden in table context. #document | | @@ -313,7 +319,8 @@ input-in-table #data
#errors -input-in-table +Line: 1 Col: 44 Unexpected start tag (input) in table context caused voodoo mode. +Line: 1 Col: 63 Unexpected start tag (input) in table context caused voodoo mode. #document | | @@ -328,9 +335,9 @@ input-in-table #data #errors -select-in-table -unexpected-tr-in-select-in-table -eof +Line: 1 Col: 30 Unexpected start tag (select) in table context caused voodoo mode. +Line: 1 Col: 35 Unexpected table element start tag (trs) in the select in table phase. +Line: 1 Col: 35 Unexpected end of file. Expected table content. #document | | @@ -356,8 +363,9 @@ eof #data #errors +Line: 1 Col: 28 Unexpected end tag (html) after the (implied) root element. #document -| +| | | | @@ -365,8 +373,9 @@ eof #data #errors +Line: 1 Col: 28 Unexpected end tag (html) after the (implied) root element. #document -| +| | | | @@ -374,7 +383,8 @@ eof #data X #errors -21: Saw an end tag after body had been closed. +Line: 1 Col: 21 Unexpected end tag token (body) in the after body phase. +Line: 1 Col: 21 Unexpected EOF in inner html mode. #document-fragment html #document @@ -385,7 +395,8 @@ html #data
foo
bar
#errors -unexpected-start-tag-implies-table-voodoo +Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode. +Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. #document | | @@ -404,9 +415,9 @@ unexpected-start-tag-implies-table-voodoo #data

a b #errors -5: Start tag seen without seeing a doctype first. Expected “”. -13: Stray end tag “x”. -15: End of file seen and there were open elements. +Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. +Line: 1 Col: 13 Unexpected end tag (x). Ignored. +Line: 1 Col: 15 Expected closing tag. Unexpected end of file. #document | | -- cgit v1.2.3