diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-04-07 02:04:05 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-04-07 02:04:05 +0000 |
commit | 427ce60a0cf055347b2fd7ac4a37bec59d65c3ac (patch) | |
tree | ff3c9fc5b4d0366f5b2066209bbfb0ec824a5f6d /test/data/html | |
parent | 2ef742b2bbe323e50001bece2116734ec2b01ee0 (diff) | |
download | libhubbub-427ce60a0cf055347b2fd7ac4a37bec59d65c3ac.tar.gz libhubbub-427ce60a0cf055347b2fd7ac4a37bec59d65c3ac.tar.bz2 |
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
Diffstat (limited to 'test/data/html')
-rw-r--r-- | test/data/html/INDEX | 2 | ||||
-rw-r--r-- | test/data/html/isindex.html | 8 | ||||
-rw-r--r-- | test/data/html/misnested.html | 11 |
3 files changed, 21 insertions, 0 deletions
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 </html> #phonecalls.html HTML document that breaks libxml's HTML parser +misnested.html Misnested tags +isindex.html Test of <isindex> 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 @@ +<!DOCTYPE html> +<html> +<body> +<isindex action="foo" name="bar"> +<isindex action="foo" name="bar" prompt="baz"> +</body> +</html> + 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 @@ +<!DOCTYPE html> +<html> +<head> +<title>Misnested tags</title> +</head> +<body> +<p>Hello <b>this <i>is a test </b>of badly </i>nested tags</p> +<p>Hello <b>this <i>is a <button>test </b>of badly </i>nested tags</p> +<p>Hello <a>this is <p><a>test </p></p> +</body> +</html> |