aboutsummaryrefslogtreecommitdiff
path: root/test/html/render
diff options
context:
space:
mode:
Diffstat (limited to 'test/html/render')
-rw-r--r--test/html/render/table-missing-width-in-one-column.html19
-rw-r--r--test/html/render/table-missing-width-in-one-column.ref.html19
2 files changed, 38 insertions, 0 deletions
diff --git a/test/html/render/table-missing-width-in-one-column.html b/test/html/render/table-missing-width-in-one-column.html
new file mode 100644
index 00000000..04a24597
--- /dev/null
+++ b/test/html/render/table-missing-width-in-one-column.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/REC-html401/loose.dtd">
+<html>
+ <head>
+ <title>Table with percent width except in one column</title>
+ </head>
+ <body style="width: 400px">
+ <table width="100%" cellspacing=0 cellpadding=0 border=0>
+ <tr>
+ <td style="background:pink" width="25%"></td>
+ <td style="background:lightgreen">
+ This is the middle row, which should measure half the table
+ width.
+ </td>
+ <td style="background:pink" width="25%"></td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/test/html/render/table-missing-width-in-one-column.ref.html b/test/html/render/table-missing-width-in-one-column.ref.html
new file mode 100644
index 00000000..effc7401
--- /dev/null
+++ b/test/html/render/table-missing-width-in-one-column.ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/REC-html401/loose.dtd">
+<html>
+ <head>
+ <title>Table with percent width except in one column</title>
+ </head>
+ <body style="width: 400px">
+ <table width="400" cellspacing=0 cellpadding=0 border=0>
+ <tr>
+ <td style="background:pink" width="100"></td>
+ <td style="background:lightgreen" width="200">
+ This is the middle row, which should measure half the table
+ width.
+ </td>
+ <td style="background:pink" width="100"></td>
+ </tr>
+ </table>
+ </body>
+</html>