summaryrefslogtreecommitdiff
path: root/test/data/binding/sample.html
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 03:40:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 03:40:09 +0000
commitc34dc685f70193728ead525f59d56cdbf116f574 (patch)
tree3e4223631b7ec7034980cc09f50fb72a3239ee4a /test/data/binding/sample.html
parent358bca1162d0112c8564ec3956a44f1d5adf574e (diff)
downloadlibdom-c34dc685f70193728ead525f59d56cdbf116f574.tar.gz
libdom-c34dc685f70193728ead525f59d56cdbf116f574.tar.bz2
Make TestObject support both HTML and XML documents and auto-detect which parser to use.
Make binding testcase attempt to load an HTML document. Hubbub parser binding constructor takes Aliases file path as a parameter. Hubbub parser binding's token handler now spews debug at stdout. svn path=/trunk/dom/; revision=3648
Diffstat (limited to 'test/data/binding/sample.html')
-rw-r--r--test/data/binding/sample.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/data/binding/sample.html b/test/data/binding/sample.html
new file mode 100644
index 0000000..a090978
--- /dev/null
+++ b/test/data/binding/sample.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>This is a title</title>
+</head>
+<body>
+<p>Here is some text with mismatched <b>bold <i>and italic </b>tags</i>. Here's some more text.</p>
+</body>
+</html>
+