[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:12:22 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 380eca7176557a0dbc2abef55c7d6843cafade6e
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 16 21:01:25 2003 +0000

    Adding css tests.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/css/001-expected.txt b/LayoutTests/fast/css/001-expected.txt
new file mode 100644
index 0000000..1c9d88d
--- /dev/null
+++ b/LayoutTests/fast/css/001-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x60
+  RenderBlock {HTML} at (0,0) size 800x60
+    RenderBody {BODY} at (8,8) size 784x36
+      RenderBlock {UL} at (0,0) size 784x36
+        RenderListItem {LI} at (40,0) size 744x36
+          RenderListMarker at (0,0) size 14x14
+          RenderText {TEXT} at (14,0) size 264x18
+            text run at (14,0) width 264: "This list item should have an inside bullet."
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {TEXT} at (0,18) size 246x18
+            text run at (0,18) width 246: "This line should begin under the bullet."
diff --git a/LayoutTests/fast/css/001.html b/LayoutTests/fast/css/001.html
new file mode 100644
index 0000000..f49adaf
--- /dev/null
+++ b/LayoutTests/fast/css/001.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<style>
+body { list-style-position: inside; }
+ul { list-style-position: outside; }
+ul.insidebullets { list-style: inherit }
+</style>
+</head>
+<body>
+<ul class="insidebullets">
+<li>This list item should have an inside bullet.<br>
+This line should begin under the bullet.
+</ul>
+</body>
+</html>
+
diff --git a/LayoutTests/fast/css/002-expected.txt b/LayoutTests/fast/css/002-expected.txt
new file mode 100644
index 0000000..a36fc43
--- /dev/null
+++ b/LayoutTests/fast/css/002-expected.txt
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x228
+  RenderBlock {HTML} at (0,0) size 800x228
+    RenderBody {BODY} at (8,8) size 784x188
+      RenderBlock (anonymous) at (0,0) size 784x78
+        RenderText {TEXT} at (0,0) size 743x78
+          text run at (0,0) width 665: "These two lines should both be Verdana. "
+          text run at (665,0) width 78: "They"
+          text run at (0,39) width 313: "should be identical."
+      RenderBlock {P} at (0,110) size 784x78
+        RenderText {TEXT} at (0,0) size 743x78
+          text run at (0,0) width 665: "These two lines should both be Verdana. "
+          text run at (665,0) width 78: "They"
+          text run at (0,39) width 313: "should be identical."
diff --git a/LayoutTests/fast/css/002.html b/LayoutTests/fast/css/002.html
new file mode 100644
index 0000000..20d92ff
--- /dev/null
+++ b/LayoutTests/fast/css/002.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<style>
+body { font-family: Verdana; font-size: 200%; }
+p { font-family: Times; }
+p.family { font-family: inherit }
+</style>
+</head>
+<body>
+These two lines should both be Verdana.  They should be identical.
+<p class="family">
+These two lines should both be Verdana.  They should be identical.
+</p>
+</body>
+</html>
diff --git a/LayoutTests/fast/css/003-expected.txt b/LayoutTests/fast/css/003-expected.txt
new file mode 100644
index 0000000..b0c7fc0
--- /dev/null
+++ b/LayoutTests/fast/css/003-expected.txt
@@ -0,0 +1,56 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x376
+  RenderBlock {HTML} at (0,0) size 800x376
+    RenderBody {BODY} at (8,8) size 784x360 [color=#444444]
+      RenderTable {TABLE} at (0,0) size 734x360
+        RenderTableSection {TBODY} at (0,0) size 0x360
+          RenderTableRow {TR} at (0,0) size 0x0
+            RenderTableCell {TD} at (2,2) size 242x356 [r=0 c=0 rs=1 cs=1]
+              RenderBlock {H1} at (1,1) size 240x37
+                RenderText {TEXT} at (0,0) size 177x37
+                  text run at (0,0) width 177: "Blue-on-blue"
+              RenderBlock (anonymous) at (1,59) size 240x18
+                RenderText {TEXT} at (0,0) size 142x18
+                  text run at (0,0) width 142: "Background color first"
+              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+                RenderText {TEXT} at (20,1) size 58x58
+                  text run at (20,1) width 58: "Az"
+              RenderBlock (anonymous) at (1,207) size 240x18
+                RenderText {TEXT} at (0,0) size 93x18
+                  text run at (0,0) width 93: "Text color first"
+              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+                RenderText {TEXT} at (20,1) size 58x58
+                  text run at (20,1) width 58: "Az"
+            RenderTableCell {TD} at (246,2) size 242x356 [r=0 c=1 rs=1 cs=1]
+              RenderBlock {H1} at (1,1) size 240x37
+                RenderText {TEXT} at (0,0) size 164x37
+                  text run at (0,0) width 164: "Blue-on-red"
+              RenderBlock (anonymous) at (1,59) size 240x18
+                RenderText {TEXT} at (0,0) size 142x18
+                  text run at (0,0) width 142: "Background color first"
+              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#FF0000]
+                RenderText {TEXT} at (20,1) size 58x58
+                  text run at (20,1) width 58: "Az"
+              RenderBlock (anonymous) at (1,207) size 240x18
+                RenderText {TEXT} at (0,0) size 93x18
+                  text run at (0,0) width 93: "Text color first"
+              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#FF0000]
+                RenderText {TEXT} at (20,1) size 58x58
+                  text run at (20,1) width 58: "Az"
+            RenderTableCell {TD} at (490,2) size 242x356 [r=0 c=2 rs=1 cs=1]
+              RenderBlock {H1} at (1,1) size 240x37
+                RenderText {TEXT} at (0,0) size 177x37
+                  text run at (0,0) width 177: "Blue-on-blue"
+              RenderBlock (anonymous) at (1,59) size 240x18
+                RenderText {TEXT} at (0,0) size 142x18
+                  text run at (0,0) width 142: "Background color first"
+              RenderBlock {DIV} at (17,93) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+                RenderText {TEXT} at (20,1) size 58x58
+                  text run at (20,1) width 58: "Az"
+              RenderBlock (anonymous) at (1,207) size 240x18
+                RenderText {TEXT} at (0,0) size 93x18
+                  text run at (0,0) width 93: "Text color first"
+              RenderBlock {DIV} at (17,241) size 98x98 [color=#0000FF] [bgcolor=#0000FF]
+                RenderText {TEXT} at (20,1) size 58x58
+                  text run at (20,1) width 58: "Az"
diff --git a/LayoutTests/fast/css/003.html b/LayoutTests/fast/css/003.html
new file mode 100644
index 0000000..065f778
--- /dev/null
+++ b/LayoutTests/fast/css/003.html
@@ -0,0 +1,52 @@
+<html>
+<head>
+<title>Color Test</title>
+<style type="text/css">
+body {color: #444444}
+
+.blue,.foo {color: #0000ff}
+.bgblue,.bar {background-color: #0000ff}
+
+.bgred {background-color: #ff0000}
+
+div {
+	font-family: Verdana, sans-serif;
+	font-size: 0.5in;
+	height: 1in;
+	width: 1in;
+	text-align: center;
+	vertical-align: center;
+	border: 1px solid black;
+	margin: 12pt;
+}
+td {width: 2.5in}
+</style>
+</head>
+<body>
+<table>
+<tr>
+
+<td><h1>Blue-on-blue</h1>
+Background color first
+<div class="bgblue blue">Az</div>
+Text color first
+<div class="blue bgblue">Az</div>
+</td>
+
+<td><h1>Blue-on-red</h1>
+Background color first
+<div class="bgred blue">Az</div>
+Text color first
+<div class="blue bgred">Az</div>
+</td>
+
+<td><h1>Blue-on-blue</h1>
+Background color first
+<div class="bar foo">Az</div>
+Text color first
+<div class="foo bar">Az</div>
+</td>
+
+</tr></table>
+</body>
+</html>
diff --git a/LayoutTests/fast/css/004-expected.txt b/LayoutTests/fast/css/004-expected.txt
new file mode 100644
index 0000000..c12a52e
--- /dev/null
+++ b/LayoutTests/fast/css/004-expected.txt
@@ -0,0 +1,24 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x273
+  RenderBlock {HTML} at (0,0) size 800x273
+    RenderBody {BODY} at (8,21) size 784x236
+      RenderBlock {H1} at (0,0) size 784x37
+        RenderText {TEXT} at (0,0) size 421x37
+          text run at (0,0) width 421: "Shorthand border properties 2"
+      RenderBlock {P} at (0,58) size 784x18
+        RenderText {TEXT} at (0,0) size 501x18
+          text run at (0,0) width 403: "This test was written to test a point I mentioned to Tantek \x{C7}elik "
+          text run at (403,0) width 98: "on 2000-07-13."
+      RenderBlock {P} at (0,92) size 784x24 [color=#008000]
+        RenderText {TEXT} at (3,3) size 274x18
+          text run at (3,3) width 274: "This paragraph should have a green border."
+      RenderBlock {P} at (0,132) size 784x24 [color=#008000]
+        RenderText {TEXT} at (3,3) size 274x18
+          text run at (3,3) width 274: "This paragraph should have a green border."
+      RenderBlock {P} at (0,172) size 784x24 [color=#008000]
+        RenderText {TEXT} at (3,3) size 274x18
+          text run at (3,3) width 274: "This paragraph should have a green border."
+      RenderBlock {P} at (0,212) size 784x24 [color=#008000]
+        RenderText {TEXT} at (3,3) size 274x18
+          text run at (3,3) width 274: "This paragraph should have a green border."
diff --git a/LayoutTests/fast/css/004.html b/LayoutTests/fast/css/004.html
new file mode 100644
index 0000000..d1f8f14
--- /dev/null
+++ b/LayoutTests/fast/css/004.html
@@ -0,0 +1,62 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html lang="en-US">
+<head>
+<title>Shorthand border properties 2</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<link rel="copyright" href="/~dbaron/legal.html">
+<style type="text/css">
+
+p.one {
+	border-color: red;
+	color: green;
+}
+
+p.one {
+	border: medium solid;
+}
+
+p.two {
+	border-color: red;
+}
+
+p.two {
+	border: medium solid;
+	color: green;
+}
+
+p.three {
+	border-color: red;
+	border: medium solid;
+	color: green;
+}
+
+p.four {
+	color: green;
+	border-color: red;
+	border: medium solid;
+}
+
+</style>
+</head>
+<body>
+
+<h1>Shorthand border properties 2</h1>
+
+<p>
+
+	This test was written to test a point I mentioned to Tantek &Ccedil;elik
+	on 2000-07-13.
+
+</p>
+
+<p class="one">This paragraph should have a green border.</p>
+
+<p class="two">This paragraph should have a green border.</p>
+
+<p class="three">This paragraph should have a green border.</p>
+
+<p class="four">This paragraph should have a green border.</p>
+
+
+</body></html>
diff --git a/LayoutTests/fast/css/005-expected.txt b/LayoutTests/fast/css/005-expected.txt
new file mode 100644
index 0000000..11033b9
--- /dev/null
+++ b/LayoutTests/fast/css/005-expected.txt
@@ -0,0 +1,74 @@
+layer at (0,0) size 800x735
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x735
+  RenderBlock {HTML} at (0,0) size 800x735
+    RenderBody {BODY} at (8,21) size 784x698
+      RenderBlock {H1} at (0,0) size 784x37
+        RenderText {TEXT} at (0,0) size 378x37
+          text run at (0,0) width 378: "Shorthand border property"
+      RenderBlock {P} at (0,58) size 784x24 [color=#008000] [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,98) size 784x24 [color=#008000] [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,138) size 784x18 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 259x18
+          text run at (0,0) width 259: "This paragraph should not have a border."
+      RenderBlock {P} at (0,172) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 279x18
+          text run at (3,3) width 279: "This paragraph should have a medium solid "
+        RenderInline {EM} at (0,0) size 34x18 [bgcolor=#000000]
+          RenderText {TEXT} at (282,3) size 34x18
+            text run at (282,3) width 34: "black"
+        RenderText {TEXT} at (316,3) size 49x18
+          text run at (316,3) width 49: " border."
+      RenderBlock {P} at (0,212) size 784x18 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 259x18
+          text run at (0,0) width 259: "This paragraph should not have a border."
+      RenderBlock {P} at (0,246) size 784x18 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 259x18
+          text run at (0,0) width 259: "This paragraph should not have a border."
+      RenderBlock {P} at (0,280) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 279x18
+          text run at (3,3) width 279: "This paragraph should have a medium solid "
+        RenderInline {EM} at (0,0) size 34x18 [bgcolor=#000000]
+          RenderText {TEXT} at (282,3) size 34x18
+            text run at (282,3) width 34: "black"
+        RenderText {TEXT} at (316,3) size 49x18
+          text run at (316,3) width 49: " border."
+      RenderBlock {P} at (0,320) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 279x18
+          text run at (3,3) width 279: "This paragraph should have a medium solid "
+        RenderInline {EM} at (0,0) size 34x18 [bgcolor=#000000]
+          RenderText {TEXT} at (282,3) size 34x18
+            text run at (282,3) width 34: "black"
+        RenderText {TEXT} at (316,3) size 49x18
+          text run at (316,3) width 49: " border."
+      RenderBlock {P} at (0,360) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,400) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,440) size 784x18 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (0,0) size 259x18
+          text run at (0,0) width 259: "This paragraph should not have a border."
+      RenderBlock {P} at (0,474) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,514) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,554) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,594) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,634) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
+      RenderBlock {P} at (0,674) size 784x24 [bgcolor=#FFFFFF]
+        RenderText {TEXT} at (3,3) size 363x18
+          text run at (3,3) width 363: "This paragraph should have a medium solid green border."
diff --git a/LayoutTests/fast/css/005.html b/LayoutTests/fast/css/005.html
new file mode 100644
index 0000000..70fa824
--- /dev/null
+++ b/LayoutTests/fast/css/005.html
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html lang="en-US">
+<head>
+<title>Shorthand border property</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<link rel="copyright" href="/~dbaron/legal.html">
+<style type="text/css">
+P {
+	color: black;
+	background: white;
+	}
+
+.one {
+	border-color: red;
+	color: green;
+	border: medium solid;
+	}
+
+.two {
+	color: green;
+	border-color: red;
+	border: medium solid;
+	}
+
+.three { border: medium green; /* none */ } 
+.four { border: solid; } 
+.five { border: green; /* none */ } 
+.six { border: medium; /* none */ } 
+.seven { border: medium solid; } 
+.eight { border: solid medium; } 
+.nine { border: solid green; } 
+.ten { border: green solid; }
+.eleven { border: green medium; /* none */ }
+.twelve { border: medium solid green; }
+.thirteen { border: medium green solid; }
+.fourteen { border: solid medium green; }
+.fifteen { border: solid green medium; }
+.sixteen { border: green medium solid; }
+.seventeen { border: green solid medium; }
+</style>
+</head>
+<body>
+
+<h1>Shorthand border property</h1>
+
+<p class="one">This paragraph should have a medium solid green border.</p>
+
+<p class="two">This paragraph should have a medium solid green border.</p>
+
+<p class="three">This paragraph should not have a border.</p>
+
+<p class="four">This paragraph should have a medium solid <em>black</em> border.</p>
+
+<p class="five">This paragraph should not have a border.</p>
+
+<p class="six">This paragraph should not have a border.</p>
+
+<p class="seven">This paragraph should have a medium solid <em>black</em> border.</p>
+
+<p class="eight">This paragraph should have a medium solid <em>black</em> border.</p>
+
+<p class="nine">This paragraph should have a medium solid green border.</p>
+
+<p class="ten">This paragraph should have a medium solid green border.</p>
+
+<p class="eleven">This paragraph should not have a border.</p>
+
+<p class="twelve">This paragraph should have a medium solid green border.</p>
+
+<p class="thirteen">This paragraph should have a medium solid green border.</p>
+
+<p class="fourteen">This paragraph should have a medium solid green border.</p>
+
+<p class="fifteen">This paragraph should have a medium solid green border.</p>
+
+<p class="sixteen">This paragraph should have a medium solid green border.</p>
+
+<p class="seventeen">This paragraph should have a medium solid green border.</p>
+
+</body></html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list