Add layout tests.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Sep 2004 17:29:37 +0000 (17:29 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Sep 2004 17:29:37 +0000 (17:29 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/table/empty-table-percent-height.html [new file with mode: 0644]
LayoutTests/fast/table/replaced-percent-height.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/table/empty-table-percent-height.html b/LayoutTests/fast/table/empty-table-percent-height.html
new file mode 100644 (file)
index 0000000..518b44d
--- /dev/null
@@ -0,0 +1,14 @@
+<html><head>
+<style type=text/css>
+body            { background: #944 }
+td.thumb        { border: #522 dashed 1px }
+</style>
+</head><body>
+
+<table border=1 width=100% height=100%><tr><td align=center valign=center></td><td class=thumb width=150 align=left valign=center>
+
+<table width=100% height=100%></table>boo
+
+</td></tr></table>
+</body></html>
+
diff --git a/LayoutTests/fast/table/replaced-percent-height.html b/LayoutTests/fast/table/replaced-percent-height.html
new file mode 100644 (file)
index 0000000..8e5a893
--- /dev/null
@@ -0,0 +1,9 @@
+<table>
+<tr><td ><div style="width: 400px; background-color:green; height:100%">This div does not flex.</div></td>
+<td><img height=200 width=200></td></tr></table>
+
+<p></p>
+
+<table>
+<tr><td ><img style="width: 400px; height:200px; background-color:green;"></td>
+<td><img height=200 width=200></td></tr></table>