From 427ce60a0cf055347b2fd7ac4a37bec59d65c3ac Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 7 Apr 2008 02:04:05 +0000 Subject: Implement "in body" insertion mode. Modify treebuilder test driver to bring it in line with API changes. A few minimal bits of testdata for various bits of in body. Proper testing will come once we're actually building a tree. svn path=/trunk/hubbub/; revision=4076 --- test/data/html/INDEX | 2 ++ test/data/html/isindex.html | 8 ++++++++ test/data/html/misnested.html | 11 +++++++++++ 3 files changed, 21 insertions(+) create mode 100644 test/data/html/isindex.html create mode 100644 test/data/html/misnested.html (limited to 'test/data/html') diff --git a/test/data/html/INDEX b/test/data/html/INDEX index cd97b8e..25483db 100644 --- a/test/data/html/INDEX +++ b/test/data/html/INDEX @@ -6,3 +6,5 @@ section-tree-construction.html HTML5 tree construction algorithm #web-apps.html HTML5 specification initial-close-tag.html Page with initial #phonecalls.html HTML document that breaks libxml's HTML parser +misnested.html Misnested tags +isindex.html Test of parsing diff --git a/test/data/html/isindex.html b/test/data/html/isindex.html new file mode 100644 index 0000000..f454069 --- /dev/null +++ b/test/data/html/isindex.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/test/data/html/misnested.html b/test/data/html/misnested.html new file mode 100644 index 0000000..1116840 --- /dev/null +++ b/test/data/html/misnested.html @@ -0,0 +1,11 @@ + + + +Misnested tags + + +

Hello this is a test of badly nested tags

+

Hello this is a