summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/html/INDEX2
-rw-r--r--test/data/html/isindex.html8
-rw-r--r--test/data/html/misnested.html11
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>