Add layout test with multiple rows expanding in percentage heights.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Apr 2004 04:39:42 +0000 (04:39 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Apr 2004 04:39:42 +0000 (04:39 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6447 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/table/multiple-percent-height-rows-expected.txt [new file with mode: 0644]
LayoutTests/fast/table/multiple-percent-height-rows.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/table/multiple-percent-height-rows-expected.txt b/LayoutTests/fast/table/multiple-percent-height-rows-expected.txt
new file mode 100644 (file)
index 0000000..5709507
--- /dev/null
@@ -0,0 +1,25 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x245
+  RenderBlock {HTML} at (0,0) size 800x245
+    RenderBody {BODY} at (8,8) size 784x229
+      RenderTable {TABLE} at (0,0) size 435x229 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 0x227
+          RenderTableRow {TR} at (0,0) size 0x0
+            RenderTableCell {TD} at (0,0) size 433x231 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+              RenderTable {TABLE} at (1,1) size 431x229 [border: (1px outset #808080)]
+                RenderTableSection {TBODY} at (1,1) size 0x227
+                  RenderTableRow {TR} at (0,0) size 0x0
+                    RenderTableCell {TD} at (0,46) size 214x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      RenderText {TEXT} at (1,1) size 4x18
+                        text run at (1,1) width 4: " "
+                    RenderTableCell {TD} at (214,46) size 215x20 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+                      RenderText {TEXT} at (1,1) size 4x18
+                        text run at (1,1) width 4: " "
+                  RenderTableRow {TR} at (0,0) size 0x0
+                    RenderTableCell {TD} at (0,160) size 214x20 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      RenderText {TEXT} at (1,1) size 4x18
+                        text run at (1,1) width 4: " "
+                    RenderTableCell {TD} at (214,160) size 215x20 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      RenderText {TEXT} at (1,1) size 4x18
+                        text run at (1,1) width 4: " "
diff --git a/LayoutTests/fast/table/multiple-percent-height-rows.html b/LayoutTests/fast/table/multiple-percent-height-rows.html
new file mode 100644 (file)
index 0000000..58476f0
--- /dev/null
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>Untitled Document</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+<body>
+<table width="435" height="227" border="1" cellpadding="0" cellspacing="0">
+  <tr>
+    <td><table width="100%" height ="100%" border="1" cellspacing="0" cellpadding="0">
+      <tr>
+        <td>&nbsp;</td>
+        <td>&nbsp;</td>
+      </tr>
+      <tr>
+        <td>&nbsp;</td>
+        <td>&nbsp;</td>
+      </tr>
+    </table></td>
+  </tr>
+</table>
+</body>
+</html>