summaryrefslogtreecommitdiff
path: root/test/data/tree-construction/tests8.dat
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-07-03 16:57:23 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-07-03 16:57:23 +0000
commitc5aab778cca9b8c579f4241ed76c5dfeac4c8553 (patch)
tree2e825a6ffb16d8652b8d62ad2559df39240fffbc /test/data/tree-construction/tests8.dat
parent3ef17f8b57ed63bd96971c8c742c605675b038a9 (diff)
downloadlibhubbub-c5aab778cca9b8c579f4241ed76c5dfeac4c8553.tar.gz
libhubbub-c5aab778cca9b8c579f4241ed76c5dfeac4c8553.tar.bz2
Add tree construction tests in anticipation of a test harness.
svn path=/trunk/hubbub/; revision=4504
Diffstat (limited to 'test/data/tree-construction/tests8.dat')
-rw-r--r--test/data/tree-construction/tests8.dat128
1 files changed, 128 insertions, 0 deletions
diff --git a/test/data/tree-construction/tests8.dat b/test/data/tree-construction/tests8.dat
new file mode 100644
index 0000000..7520b42
--- /dev/null
+++ b/test/data/tree-construction/tests8.dat
@@ -0,0 +1,128 @@
+#data
+<div>
+<div></div>
+</span>x
+#errors
+missing doctype
+unexpected </span>
+unclosed <div>
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| "
+"
+| <div>
+| "
+x"
+
+#data
+<div>x<div></div>
+</span>x
+#errors
+missing doctype
+unexpected </span>
+unclosed <div>
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| "x"
+| <div>
+| "
+x"
+
+#data
+<div>x<div></div>x</span>x
+#errors
+missing doctype
+unexpected </span>
+unclosed <div>
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| "x"
+| <div>
+| "xx"
+
+#data
+<div>x<div></div>y</span>z
+#errors
+missing doctype
+unexpected </span>
+unclosed <div>
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| "x"
+| <div>
+| "yz"
+
+#data
+<table><div>x<div></div>x</span>x
+#errors
+missing doctype
+table voodoo
+unexpected </span>
+unclosed <div>
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| "x"
+| <div>
+| "xx"
+| <table>
+
+#data
+x<table>x
+#errors
+missing doctype
+table voodoo
+unclosed <table>
+#document
+| <html>
+| <head>
+| <body>
+| "xx"
+| <table>
+
+#data
+x<table><table>x
+#errors
+missing doctype
+unexpected <table>
+table voodoo
+unclosed <table>
+#document
+| <html>
+| <head>
+| <body>
+| "x"
+| <table>
+| "x"
+| <table>
+
+#data
+<b>a<div></div><div></b>y
+#errors
+missing doctype
+adoption agency
+unclosed <div>
+#document
+| <html>
+| <head>
+| <body>
+| <b>
+| "a"
+| <div>
+| <div>
+| <b>
+| "y"