[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:26:20 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit b3c80bcece9a74d78929ef249efc34b8fd574425
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Feb 11 22:08:37 2004 +0000

    Add layout test that dumps .rows and .cells
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6075 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/table/039-expected.txt b/LayoutTests/fast/table/039-expected.txt
new file mode 100644
index 0000000..35a67af
--- /dev/null
+++ b/LayoutTests/fast/table/039-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x125
+  RenderBlock {HTML} at (0,0) size 800x125
+    RenderBody {BODY} at (8,8) size 784x101
+      RenderTable {TABLE} at (0,0) size 178x49 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 0x47
+          RenderTableRow {TR} at (0,0) size 0x0
+            RenderTableCell {TH} at (1,1) size 34x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(1,1)"
+            RenderTableCell {TH} at (36,1) size 34x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(1,2)"
+            RenderTableCell {TH} at (71,1) size 34x22 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(1,3)"
+            RenderTableCell {TH} at (106,1) size 34x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(1,4)"
+            RenderTableCell {TH} at (141,1) size 34x22 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(1,5)"
+          RenderTableRow {TR} at (0,0) size 0x0
+            RenderTableCell {TD} at (1,24) size 34x22 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(2,1)"
+            RenderTableCell {TD} at (36,24) size 34x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(2,2)"
+            RenderTableCell {TD} at (71,24) size 34x22 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(2,3)"
+            RenderTableCell {TD} at (106,24) size 34x22 [border: (1px inset #808080)] [r=1 c=3 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(2,4)"
+            RenderTableCell {TD} at (141,24) size 34x22 [border: (1px inset #808080)] [r=1 c=4 rs=1 cs=1]
+              RenderText {TEXT} at (2,2) size 30x18
+                text run at (2,2) width 30: "(2,5)"
+      RenderBlock {P} at (0,65) size 784x36
+        RenderInline {B} at (0,0) size 49x18
+          RenderText {TEXT} at (0,0) size 49x18
+            text run at (0,0) width 49: "Row 0:"
+        RenderText {TEXT} at (49,0) size 174x18
+          text run at (49,0) width 38: " (1,1) "
+          text run at (87,0) width 34: "(1,2) "
+          text run at (121,0) width 34: "(1,3) "
+          text run at (155,0) width 34: "(1,4) "
+          text run at (189,0) width 34: "(1,5) "
+        RenderBR {BR} at (0,0) size 0x0
+        RenderInline {B} at (0,0) size 49x18
+          RenderText {TEXT} at (0,18) size 49x18
+            text run at (0,18) width 49: "Row 1:"
+        RenderText {TEXT} at (49,18) size 174x18
+          text run at (49,18) width 38: " (2,1) "
+          text run at (87,18) width 34: "(2,2) "
+          text run at (121,18) width 34: "(2,3) "
+          text run at (155,18) width 34: "(2,4) "
+          text run at (189,18) width 34: "(2,5) "
+        RenderBR {BR} at (0,0) size 0x0
+        RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/table/039.html b/LayoutTests/fast/table/039.html
new file mode 100644
index 0000000..07481d7
--- /dev/null
+++ b/LayoutTests/fast/table/039.html
@@ -0,0 +1,48 @@
+<HTML>
+<HEAD>
+	<SCRIPT LANGUAGE="javascript">
+		function ShowRows()
+		{
+			var s = "";
+			
+			for(var i=0;i<document.getElementById("tbl").rows.length;i++)
+				s += "<b>Row " + i + ":</b> " + document.getElementById("tbl").rows[i].innerText + "<br>";
+			
+			document.write(s);
+		}
+	</SCRIPT> 
+</HEAD>
+<BODY>
+<TABLE ID="tbl" CELLSPACING="1" CELLPADDING="1" BORDER="1">
+	<TR>
+		<TH>(1,1) 
+		</TH>
+		<TH>(1,2) 
+		</TH>
+		<TH>(1,3) 
+		</TH>
+		<TH>(1,4) 
+		</TH>
+		<TH>(1,5) 
+		</TH>
+	</TR>
+	<TR>
+		<TD>(2,1) 
+		</TD>
+		<TD>(2,2) 
+		</TD>
+		<TD>(2,3) 
+		</TD>
+		<TD>(2,4) 
+		</TD>
+		<TD>(2,5) 
+		</TD>
+	</TR>
+</TABLE>
+<p>
+<script>
+ShowRows();
+</script>
+</p>
+</BODY>
+</HTML>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list