[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:03:53 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit eee4e880a068e4a28d762a229fcbecfe966edef3
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Oct 20 18:22:04 2003 +0000

    Add test for floating/positioning generated content.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5229 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/css-generated-content/008-expected.txt b/LayoutTests/fast/css-generated-content/008-expected.txt
new file mode 100644
index 0000000..ab43013
--- /dev/null
+++ b/LayoutTests/fast/css-generated-content/008-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x33
+  RenderBlock {HTML} at (0,0) size 800x33
+    RenderBody {BODY} at (8,8) size 784x17
+      RenderBlock {P} at (0,0) size 784x0
+      RenderBlock {DIV} at (0,0) size 784x17
+        RenderText {TEXT} at (0,0) size 655x17
+          text run at (0,0) width 478: "In this paragraph, there should be a right floating green ::after block. "
+          text run at (478,0) width 177: "It should be ok to do this."
+        RenderBlock (floating) at (684,0) size 100x100 [color=#008000] [bgcolor=#008000]
+          RenderText at (0,0) size 56x17
+            text run at (0,0) width 56: "Invisible"
+layer at (300,300) size 334x17
+  RenderBlock (positioned) at (300,300) size 334x17
+    RenderText at (0,0) size 334x17
+      text run at (0,0) width 334: "Some text that should be at an (x,y) of (300,300)"
diff --git a/LayoutTests/fast/css-generated-content/008.html b/LayoutTests/fast/css-generated-content/008.html
new file mode 100644
index 0000000..154c461
--- /dev/null
+++ b/LayoutTests/fast/css-generated-content/008.html
@@ -0,0 +1,25 @@
+<html>
+<head>
+<style>
+p::before {
+  content: "Some text" " that should be at an (x,y) of (300,300)";
+  position: absolute;
+  left: 300px;
+  top: 300px;
+}
+
+div::after {
+  float: right;
+  width:100px;
+  height:100px;
+  background-color:green;
+  color: green;
+  content: "Invisible";
+}
+</style>
+</head>
+<body>
+<p></p>
+<div>In this paragraph, there should be a right floating green ::after block.  It should be ok to do this.
+</div>
+

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list