From fb2930da83caf43fd1994da0e01e33e11acfd4e9 Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Mon, 11 Aug 2008 02:29:53 +0000 Subject: Update the "after after frameset" tests to cover all spec cases svn path=/trunk/hubbub/; revision=5005 --- .../tree-construction/after-after-frameset.dat | 38 +++++++++------------- 1 file changed, 16 insertions(+), 22 deletions(-) (limited to 'test/data') 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 @@ #errors #comments -Tests comments in "after after frameset" get appended to the Document object. +"A comment token" #document | | @@ -15,8 +15,7 @@ Tests comments in "after after frameset" get appended to the Document object. #errors Unexpected DOCTYPE: #comments -This tests DOCTYPE ignorance in "after after frameset". -This handling should be identical to "in body". +"A DOCTYPE token" #document | | @@ -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 | | @@ -39,43 +37,42 @@ node, which in "after after frameset" is always the "html" element. " #data - + #errors Second 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 | | +| bgcolor="red" | | #data - + #errors -Second tag not allowed. #comments -This tests that the attributes on tags in "after after frameset" are added -to the top element on the stack of open elements (e.g. the root tag.) -This handling should be identical to "in body". +"An end-of-file token" #document | | -| bgcolor="red" | | #data - + #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> -- cgit v1.2.3