From e0bccb01c9952ee48d5ceaab3a39a9ff2cab0029 Mon Sep 17 00:00:00 2001 From: hyatt Date: Wed, 14 Jul 2004 19:56:18 +0000 Subject: [PATCH] new layout test to cover percentage heights inside auto tables. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7025 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- .../table/auto-with-percent-height-expected.txt | 31 ++++++++++++++++++++++ .../fast/table/auto-with-percent-height.html | 25 +++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 LayoutTests/fast/table/auto-with-percent-height-expected.txt create mode 100644 LayoutTests/fast/table/auto-with-percent-height.html diff --git a/LayoutTests/fast/table/auto-with-percent-height-expected.txt b/LayoutTests/fast/table/auto-with-percent-height-expected.txt new file mode 100644 index 0000000..c616058 --- /dev/null +++ b/LayoutTests/fast/table/auto-with-percent-height-expected.txt @@ -0,0 +1,31 @@ +layer at (0,0) size 800x600 + RenderCanvas at (0,0) size 800x600 +layer at (0,0) size 800x156 + RenderBlock {HTML} at (0,0) size 800x156 + RenderBody {BODY} at (8,16) size 784x124 + RenderTable {TABLE} at (16,0) size 88x60 [border: (3px solid #FF0000)] + RenderTableSection {TBODY} at (3,3) size 0x54 + RenderTableRow {TR} at (0,0) size 0x0 + RenderTableCell {TD} at (2,2) size 78x50 [r=0 c=0 rs=1 cs=1] + RenderTable {TABLE} at (1,1) size 73x24 [color=#FFFFFF] [bgcolor=#800080] + RenderTableSection {TBODY} at (0,0) size 0x24 + RenderTableRow {TR} at (0,0) size 0x0 + RenderTableCell {TD} at (2,2) size 69x20 [r=0 c=0 rs=1 cs=1] + RenderText {TEXT} at (1,1) size 67x18 + text run at (1,1) width 67: "Table One" + RenderTable {TABLE} at (1,25) size 76x24 [color=#FFFFFF] [bgcolor=#800080] + RenderTableSection {TBODY} at (0,0) size 0x24 + RenderTableRow {TR} at (0,0) size 0x0 + RenderTableCell {TD} at (2,2) size 72x20 [r=0 c=0 rs=1 cs=1] + RenderText {TEXT} at (1,1) size 70x18 + text run at (1,1) width 70: "Table Two" + RenderTable {TABLE} at (16,76) size 70x48 [border: (3px solid #FF0000)] + RenderTableSection {TBODY} at (3,3) size 0x42 + RenderTableRow {TR} at (0,0) size 0x0 + RenderTableCell {TD} at (2,2) size 60x38 [r=0 c=0 rs=1 cs=1] + RenderBlock {DIV} at (1,1) size 58x18 [color=#FFFFFF] [bgcolor=#800080] + RenderText {TEXT} at (0,0) size 55x18 + text run at (0,0) width 55: "Div One" + RenderBlock {DIV} at (1,19) size 58x18 [color=#FFFFFF] [bgcolor=#800080] + RenderText {TEXT} at (0,0) size 58x18 + text run at (0,0) width 58: "Div Two" diff --git a/LayoutTests/fast/table/auto-with-percent-height.html b/LayoutTests/fast/table/auto-with-percent-height.html new file mode 100644 index 0000000..13ed444 --- /dev/null +++ b/LayoutTests/fast/table/auto-with-percent-height.html @@ -0,0 +1,25 @@ + + + + + + + + + +
Table One
Table Two
+ + +
Div One
Div Two
+
-- 1.8.3.1