diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-07-03 16:57:23 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-07-03 16:57:23 +0000 |
commit | c5aab778cca9b8c579f4241ed76c5dfeac4c8553 (patch) | |
tree | 2e825a6ffb16d8652b8d62ad2559df39240fffbc /test/data/tree-construction/tests4.dat | |
parent | 3ef17f8b57ed63bd96971c8c742c605675b038a9 (diff) | |
download | libhubbub-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/tests4.dat')
-rw-r--r-- | test/data/tree-construction/tests4.dat | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/test/data/tree-construction/tests4.dat b/test/data/tree-construction/tests4.dat new file mode 100644 index 0000000..0a6174c --- /dev/null +++ b/test/data/tree-construction/tests4.dat @@ -0,0 +1,58 @@ +#data +direct div content +#errors +#document-fragment +div +#document +| "direct div content" + +#data +direct textarea content +#errors +#document-fragment +textarea +#document +| "direct textarea content" + +#data +textarea content with <em>pseudo</em> <foo>markup +#errors +#document-fragment +textarea +#document +| "textarea content with <em>pseudo</em> <foo>markup" + +#data +this is CDATA inside a <style> element +#errors +#document-fragment +style +#document +| "this is CDATA inside a <style> element" + +#data +</plaintext> +#errors +#document-fragment +plaintext +#document +| "</plaintext>" + +#data +setting html's innerHTML +#errors +#document-fragment +html +#document +| <head> +| <body> +| "setting html's innerHTML" + +#data +<title>setting head's innerHTML</title> +#errors +#document-fragment +head +#document +| <title> +| "setting head's innerHTML" |