[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:02:45 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 9a7aa0825fbd1452bbf4559d8551be9a76b03308
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Oct 18 20:49:42 2003 +0000

    Adding test for classname parsing bug.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5206 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/selectors/classnames-expected.txt b/LayoutTests/fast/selectors/classnames-expected.txt
new file mode 100644
index 0000000..fd64e23
--- /dev/null
+++ b/LayoutTests/fast/selectors/classnames-expected.txt
@@ -0,0 +1,56 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x367
+  RenderBlock {HTML} at (0,0) size 800x367
+    RenderBody {BODY} at (8,8) size 784x351 [color=#444444]
+      RenderTable {TABLE} at (0,0) size 734x351
+        RenderTableSection {TBODY} at (0,0) size 0x351
+          RenderTableRow {TR} at (0,0) size 0x0
+            RenderTableCell {TD} at (2,2) size 242x347 [r=0 c=0 rs=1 cs=1]
+              RenderBlock {H1} at (1,1) size 240x33
+                RenderText {TEXT} at (0,0) size 197x33
+                  text run at (0,0) width 197: "Blue-on-blue"
+              RenderBlock (anonymous) at (1,52) size 240x17
+                RenderText {TEXT} at (0,0) size 152x17
+                  text run at (0,0) width 152: "Background color first"
+              RenderBlock {DIV} at (17,85) 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,199) size 240x17
+                RenderText {TEXT} at (0,0) size 102x17
+                  text run at (0,0) width 102: "Text color first"
+              RenderBlock {DIV} at (17,232) 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 242x347 [r=0 c=1 rs=1 cs=1]
+              RenderBlock {H1} at (1,1) size 240x33
+                RenderText {TEXT} at (0,0) size 182x33
+                  text run at (0,0) width 182: "Blue-on-red"
+              RenderBlock (anonymous) at (1,52) size 240x17
+                RenderText {TEXT} at (0,0) size 152x17
+                  text run at (0,0) width 152: "Background color first"
+              RenderBlock {DIV} at (17,85) 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,199) size 240x17
+                RenderText {TEXT} at (0,0) size 102x17
+                  text run at (0,0) width 102: "Text color first"
+              RenderBlock {DIV} at (17,232) 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 242x347 [r=0 c=2 rs=1 cs=1]
+              RenderBlock {H1} at (1,1) size 240x33
+                RenderText {TEXT} at (0,0) size 197x33
+                  text run at (0,0) width 197: "Blue-on-blue"
+              RenderBlock (anonymous) at (1,52) size 240x17
+                RenderText {TEXT} at (0,0) size 152x17
+                  text run at (0,0) width 152: "Background color first"
+              RenderBlock {DIV} at (17,85) 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,199) size 240x17
+                RenderText {TEXT} at (0,0) size 102x17
+                  text run at (0,0) width 102: "Text color first"
+              RenderBlock {DIV} at (17,232) 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/selectors/classnames.html b/LayoutTests/fast/selectors/classnames.html
new file mode 100644
index 0000000..065f778
--- /dev/null
+++ b/LayoutTests/fast/selectors/classnames.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>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list