summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-08-11 02:29:53 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-08-11 02:29:53 +0000
commitfb2930da83caf43fd1994da0e01e33e11acfd4e9 (patch)
tree746d25019f7aaf2c1de7cc8f7a72caa3c37bbdb2 /test
parent1bbbb07f189a043436787616abbd7c00bbc148dc (diff)
downloadlibhubbub-fb2930da83caf43fd1994da0e01e33e11acfd4e9.tar.gz
libhubbub-fb2930da83caf43fd1994da0e01e33e11acfd4e9.tar.bz2
Update the "after after frameset" tests to cover all spec cases
svn path=/trunk/hubbub/; revision=5005
Diffstat (limited to 'test')
-rw-r--r--test/data/tree-construction/after-after-frameset.dat38
1 files changed, 16 insertions, 22 deletions
diff --git a/test/data/tree-construction/after-after-frameset.dat b/test/data/tree-construction/after-after-frameset.dat
index e29b585..7b4d9a6 100644
--- a/test/data/tree-construction/after-after-frameset.dat
+++ b/test/data/tree-construction/after-after-frameset.dat
@@ -2,7 +2,7 @@
<!DOCTYPE html><html><frameset></frameset></html><!--x-->
#errors
#comments
-Tests comments in "after after frameset" get appended to the Document object.
+"A comment token"
#document
| <!DOCTYPE html>
| <html>
@@ -15,8 +15,7 @@ Tests comments in "after after frameset" get appended to the Document object.
#errors
Unexpected DOCTYPE: <!DOCTYPE foo>
#comments
-This tests DOCTYPE ignorance in "after after frameset".
-This handling should be identical to "in body".
+"A DOCTYPE token"
#document
| <!DOCTYPE html>
| <html>
@@ -28,8 +27,7 @@ This handling should be identical to "in body".
#errors
#comments
-This tests that whitespace in "after after" frameset is appended to the current
-node, which in "after after frameset" is always the "html" element.
+Whitespace character token
#document
| <!DOCTYPE html>
| <html>
@@ -39,43 +37,42 @@ node, which in "after after frameset" is always the "html" element.
"
#data
-<!DOCTYPE html><frameset></frameset></html><html>
+<!DOCTYPE html><frameset></frameset></html><html bgcolor="red">
#errors
Second <html> tag not allowed.
#comments
-This tests that no new "html" tag is added to the document.
-This handling should be identical to "in body".
+A start tag whose tag name is "html"
#document
| <!DOCTYPE html>
| <html>
+| bgcolor="red"
| <head>
| <frameset>
#data
-<!DOCTYPE html><frameset></frameset></html><html bgcolor="red">
+<!DOCTYPE html><html><frameset></frameset></html>
#errors
-Second <html> tag not allowed.
#comments
-This tests that the attributes on <html> tags in "after after frameset" are added
-to the top element on the stack of open elements (e.g. the root <html> tag.)
-This handling should be identical to "in body".
+"An end-of-file token"
#document
| <!DOCTYPE html>
| <html>
-| bgcolor="red"
| <head>
| <frameset>
#data
-<!DOCTYPE html><html><frameset></frameset></html>
+<!DOCTYPE html><html><frameset></frameset></html><noframes>
#errors
+End tag after </html>.
+</frameset> when the current node is the root "html" element.
#comments
-Test EOF in "after after frameset".
+A start tag whose tag name is "noframes"
#document
| <!DOCTYPE html>
| <html>
| <head>
| <frameset>
+| <noframes>
#data
<!DOCTYPE html><html><frameset></frameset></html>xx
@@ -83,8 +80,7 @@ Test EOF in "after after frameset".
Text after </html> tag.
Text in frameset.
#comments
-Test non-space character in "after after frameset".
-This handling should be identical to "in frameset".
+"Anything else" (character token)
#document
| <!DOCTYPE html>
| <html>
@@ -97,8 +93,7 @@ This handling should be identical to "in frameset".
Tag after </html>.
<table> not allowed in <frameset>.
#comments
-Test non-html start tag in "after after frameset".
-This handling should be identical to "in frameset".
+"Anything else" (start tag)
#document
| <!DOCTYPE html>
| <html>
@@ -111,8 +106,7 @@ This handling should be identical to "in frameset".
End tag after </html>.
</frameset> when the current node is the root "html" element.
#comments
-Test non-html start tag in "after after frameset".
-This handling should be identical to "in frameset".
+"Anything else" (end tag)
#document
| <!DOCTYPE html>
| <html>