[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:35:30 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 678c9d7197664d9008050577bdf6587896bd22a9
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Apr 21 21:25:30 2004 +0000

    Add layout test to cover percentage height cells case.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6441 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/table/percent-heights-expected.txt b/LayoutTests/fast/table/percent-heights-expected.txt
new file mode 100644
index 0000000..118e546
--- /dev/null
+++ b/LayoutTests/fast/table/percent-heights-expected.txt
@@ -0,0 +1,58 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x204
+  RenderBlock {HTML} at (0,0) size 800x204
+    RenderBody {BODY} at (8,8) size 784x188
+      RenderBlock {H3} at (0,0) size 784x22
+        RenderText {TEXT} at (0,0) size 247x22
+          text run at (0,0) width 247: "Small Percentage Heights Bug"
+      RenderBlock {P} at (0,40) size 784x36
+        RenderText {TEXT} at (0,0) size 768x36
+          text run at (0,0) width 401: "In the example below, all eight cells should be the same height. "
+          text run at (401,0) width 367: "It appears that any percentage heights cause cells to fill the"
+          text run at (0,18) width 120: "entire table height. "
+          text run at (120,18) width 533: "Note how cell 8 is correct but 2-7 are not, despite the cells all specifying height:30%."
+      RenderTable {TABLE} at (0,92) size 784x96 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 0x94
+          RenderTableRow {TR} at (0,0) size 0x0
+            RenderTableCell {TD} at (0,0) size 474x94 [bgcolor=#FFFF00] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+              RenderText {TEXT} at (192,11) size 90x18
+                text run at (192,11) width 90: "Table Data #1"
+              RenderBR {BR} at (0,0) size 0x0
+              RenderText {TEXT} at (203,29) size 68x18
+                text run at (203,29) width 68: "Other cells"
+              RenderBR {BR} at (0,0) size 0x0
+              RenderText {TEXT} at (173,47) size 127x18
+                text run at (173,47) width 127: "should be the height"
+              RenderBR {BR} at (0,0) size 0x0
+              RenderText {TEXT} at (204,65) size 65x18
+                text run at (204,65) width 65: "of this cell"
+            RenderTableCell {TD} at (474,18) size 44x58 [bgcolor=#006000] [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              RenderText {TEXT} at (11,11) size 22x36
+                text run at (11,11) width 22: "TD"
+                text run at (14,29) width 16: "#2"
+            RenderTableCell {TD} at (518,18) size 44x58 [bgcolor=#00FFFF] [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+              RenderText {TEXT} at (11,11) size 22x36
+                text run at (11,11) width 22: "TD"
+                text run at (14,29) width 16: "#3"
+            RenderTableCell {TD} at (562,18) size 44x58 [bgcolor=#0000FF] [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
+              RenderText {TEXT} at (11,11) size 22x36
+                text run at (11,11) width 22: "TD"
+                text run at (14,29) width 16: "#4"
+            RenderTableCell {TD} at (606,18) size 44x58 [bgcolor=#008000] [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
+              RenderText {TEXT} at (11,11) size 22x36
+                text run at (11,11) width 22: "TD"
+                text run at (14,29) width 16: "#5"
+            RenderTableCell {TD} at (650,18) size 44x58 [bgcolor=#000080] [border: (1px inset #808080)] [r=0 c=5 rs=1 cs=1]
+              RenderText {TEXT} at (11,11) size 22x36
+                text run at (11,11) width 22: "TD"
+                text run at (14,29) width 16: "#6"
+            RenderTableCell {TD} at (694,18) size 44x58 [bgcolor=#CACACA] [border: (1px inset #808080)] [r=0 c=6 rs=1 cs=1]
+              RenderText {TEXT} at (11,11) size 22x36
+                text run at (11,11) width 22: "TD"
+                text run at (14,29) width 16: "#7"
+            RenderTableCell {TD} at (738,18) size 44x58 [bgcolor=#000000] [border: (1px inset #808080)] [r=0 c=7 rs=1 cs=1]
+              RenderInline {FONT} at (0,0) size 22x36 [color=#FFFFFF]
+                RenderText {TEXT} at (11,11) size 22x36
+                  text run at (11,11) width 22: "TD"
+                  text run at (14,29) width 16: "#8"
diff --git a/LayoutTests/fast/table/percent-heights.html b/LayoutTests/fast/table/percent-heights.html
new file mode 100644
index 0000000..6e16fbe
--- /dev/null
+++ b/LayoutTests/fast/table/percent-heights.html
@@ -0,0 +1,17 @@
+<h3>Small Percentage Heights Bug</h3>
+
+<p>In the example below, all eight cells should be the same height.  It appears that any percentage heights
+cause cells to fill the entire table height.  Note how cell 8 is correct but 2-7 are not, despite the cells
+all specifying height:30%.</p>
+
+<table align=center summary="Table number four describes plain border" border=1 cellspacing=0 cellpadding=10 width=100%>
+<td valign=center align=center width=100% height=30% bgcolor="#ffff00">Table Data #1<br>Other cells<br>should be the height<br>of this cell</td>
+<td valign=center align=center width=100% height=30% bgcolor="#006000">TD #2</td>
+<td valign=center align=center width=100% height=30% bgcolor="#00ffff">TD #3</td>
+<td valign=center align=center width=100% height=30% bgcolor="#0000ff">TD #4</td>
+<td valign=center align=center width=100% height=30% bgcolor="#008000">TD #5</td>
+<td valign=center align=center width=100% height=30% bgcolor="#000080">TD #6</td>
+<td valign=center align=center width=100% height=30% bgcolor="#cacaca">TD #7</td>
+<td valign=center align=center width=100% height=30% bgcolor="#000000"><font color="#ffffff">TD #8</font></td>
+</td>
+</table>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list