summaryrefslogtreecommitdiff
path: root/test/data/tree-construction/tests2.dat
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-10 13:05:06 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-10 13:05:06 +0000
commit81619b1337f5ddfdb8c8a8d77c10d752a349b3f7 (patch)
tree84538be7bb1f155c7a23fa435952392aa384752e /test/data/tree-construction/tests2.dat
parentb5c7452b78896deedc117e3c8d1a9875f13ddcc4 (diff)
downloadlibhubbub-81619b1337f5ddfdb8c8a8d77c10d752a349b3f7.tar.gz
libhubbub-81619b1337f5ddfdb8c8a8d77c10d752a349b3f7.tar.bz2
Sync treebuilder tests with html5lib
svn path=/trunk/hubbub/; revision=6757
Diffstat (limited to 'test/data/tree-construction/tests2.dat')
-rw-r--r--test/data/tree-construction/tests2.dat18
1 files changed, 8 insertions, 10 deletions
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
| <html>
| <head>
@@ -154,7 +154,7 @@ Line: 1 Col: 23 Expected closing tag. Unexpected end of file.
<!DOCTYPE html><table><tr>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
| <!DOCTYPE html>
| <html>
@@ -454,8 +454,8 @@ Line: 1 Col: 41 Expected closing tag. Unexpected end of file.
#data
<!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
#errors
-68: “select” start tag where end tag expected.
-76: End of file seen and there were open elements.
+Line: 1 Col: 68 Unexpected select start tag in the select phase treated as select end tag.
+Line: 1 Col: 76 Expected closing tag. Unexpected end of file.
#document
| <!DOCTYPE html>
| <html>
@@ -693,7 +693,6 @@ Line: 1 Col: 32 html needs to be the first start tag.
#data
<!DOCTYPE html>X</html>X
#errors
-Line: 1 Col: 24 Unexpected non-space characters. Expected end of file.
Line: 1 Col: 24 Unexpected non-space characters in the after body phase.
#document
| <!DOCTYPE html>
@@ -715,8 +714,7 @@ Line: 1 Col: 24 Unexpected non-space characters in the after body phase.
#data
<!DOCTYPE html>X</html><p>X
#errors
-Line: 1 Col: 26 Unexpected start tag (p). Expected end of file.
-Line: 1 Col: 26 Unexpected start tag token (p) in the after body phase.
+Line: 1 Col: 26 Unexpected start tag ().
#document
| <!DOCTYPE html>
| <html>
@@ -729,7 +727,7 @@ Line: 1 Col: 26 Unexpected start tag token (p) in the after body phase.
#data
<!DOCTYPE html>X<p/x/y/z>
#errors
-Line: 1 Col: 19 Solidus (/) incorrectly placed in tag.
+Line: 1 Col: 19 Expected a > after the /.
Line: 1 Col: 21 Solidus (/) incorrectly placed in tag.
Line: 1 Col: 23 Solidus (/) incorrectly placed in tag.
#document
@@ -772,11 +770,11 @@ Line: 1 Col: 34 Unexpected end tag (p). Ignored.
#data
<!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->-->
#errors
-Line: 1 Col: 20 Expected space or '>'. Got 'H'
+Line: 1 Col: 20 Expected space or '>'. Got ''
Line: 1 Col: 25 Erroneous DOCTYPE.
Line: 1 Col: 35 Unexpected character in comment found.
#document
-| <!DOCTYPE <!DOCTYPE>
+| <!DOCTYPE <!doctype>
| <html>
| <head>
| <body>