From a016790d3573e89ecb270d494d855b6111e5e715 Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Fri, 11 Jul 2008 21:14:38 +0000 Subject: Add "after after body" and "after after frameset" testsuites. svn path=/trunk/hubbub/; revision=4623 --- test/data/tree-construction/after-after-body.dat | 110 +++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 test/data/tree-construction/after-after-body.dat (limited to 'test/data/tree-construction/after-after-body.dat') diff --git a/test/data/tree-construction/after-after-body.dat b/test/data/tree-construction/after-after-body.dat new file mode 100644 index 0000000..978bac7 --- /dev/null +++ b/test/data/tree-construction/after-after-body.dat @@ -0,0 +1,110 @@ +#data + +#errors +#comments +This tests comment insertion in "after after body". +#document +| +| +| +| +| + +#data + +#errors +Unexpected DOCTYPE: +#comments +This tests DOCTYPE ignorance in "after after body". +This handling should be identical to "in body". +#document +| +| +| +| + +#data + + +#errors +#comments +This tests that whitespace in "after after body" is appended to the current +node, which in "after after body" is always the element. +#document +| +| +| +| +| " +" + +#data + +#errors +Second tag not allowed. +#comments +This tests that no new tag is added to the document. +This handling should be identical to "in body". +#document +| +| +| +| + +#data + +#errors +Second tag not allowed. +#comments +This tests that the attributes on tags in "after after body" 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". +#document +| +| +| bgcolor="red" +| +| + +#data +xxx +#errors +Unexpected text past tag. +#comments +This tests that "anything else" causes switching back to "in body" and +reprocessing of the token. (Character data) +#document +| +| +| +| +| "xxx" + +#data + +#errors +Unexpected tag after tag. +EOF in "in table" mode. +#comments +This tests that "anything else" causes switching back to "in body" and +reprocessing of the token. (Start tag) +#document +| +| +| +| +|
+ +#data +
+#errors +Unexpected end tag after tag. +End tag with no matching start tag. +#comments +This tests that "anything else" causes switching back to "in body" and +reprocessing of the token. (End tag) +#document +| +| +| +| -- cgit v1.2.3