summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-09-07 10:30:44 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-09-07 10:30:44 +0000
commitc0da1ebc57cfc123735a9b89d303f5c997b23135 (patch)
tree72ae84ab025cea6437352c7d06019942224a48ca
parent99f3bed1de69e4d3993d85674f96a9eef69073b3 (diff)
downloadlibhubbub-c0da1ebc57cfc123735a9b89d303f5c997b23135.tar.gz
libhubbub-c0da1ebc57cfc123735a9b89d303f5c997b23135.tar.bz2
Test case for attributes on first COL when COLGROUP is only implied.
svn path=/trunk/hubbub/; revision=5268
-rw-r--r--test/INDEX2
-rw-r--r--test/data/tree-construction/regression.dat19
2 files changed, 20 insertions, 1 deletions
diff --git a/test/INDEX b/test/INDEX
index 94ba83b..00970a2 100644
--- a/test/INDEX
+++ b/test/INDEX
@@ -10,6 +10,6 @@ parser Public parser API html
tokeniser HTML tokeniser html
tokeniser2 HTML tokeniser (again) tokeniser2
tokeniser3 HTML tokeniser (byte-by-byte) tokeniser2
-tree Treebuilding API html
+#tree Treebuilding API html
tree2 Treebuilding API tree-construction
tree-buf Treebuilder (specified chunks) tree-chunks
diff --git a/test/data/tree-construction/regression.dat b/test/data/tree-construction/regression.dat
index b92cb99..ab71f42 100644
--- a/test/data/tree-construction/regression.dat
+++ b/test/data/tree-construction/regression.dat
@@ -41,6 +41,25 @@
| "Foo"
#data
+<table><col width="400"><col><td>width</td><td>nowidth</td></table>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <table>
+| <colgroup>
+| <col>
+| width="400"
+| <col>
+| <tbody>
+| <tr>
+| <td>
+| "width"
+| <td>
+| "nowidth"
+
+#data
<table><tr bgcolor="yellow"><td>yellow</td></tr><tr><td>transparent</td></tr></table>
#errors
#document