aboutsummaryrefslogtreecommitdiff
path: root/test/html/render
diff options
context:
space:
mode:
Diffstat (limited to 'test/html/render')
-rw-r--r--test/html/render/table-td-width-percent-img.html18
-rw-r--r--test/html/render/table-td-width-percent-img.ref.html18
2 files changed, 36 insertions, 0 deletions
diff --git a/test/html/render/table-td-width-percent-img.html b/test/html/render/table-td-width-percent-img.html
new file mode 100644
index 00000000..2368cf7c
--- /dev/null
+++ b/test/html/render/table-td-width-percent-img.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <body>
+ <table>
+ <tr>
+ <td width="128" style="background: lightblue">
+ The next cell is 50%
+ </td>
+ <td width="50%" style="background: lightgreen">
+ <div>
+ <img src="pic.png">
+ </div>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/test/html/render/table-td-width-percent-img.ref.html b/test/html/render/table-td-width-percent-img.ref.html
new file mode 100644
index 00000000..52cc6469
--- /dev/null
+++ b/test/html/render/table-td-width-percent-img.ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <body>
+ <table>
+ <tr>
+ <td width="128" style="background: lightblue">
+ The next cell is 50%
+ </td>
+ <td style="background: lightgreen">
+ <div>
+ <img src="pic.png">
+ </div>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>