[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 07:53:13 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit d4d3f60cd4b5255d27146369d4e4d006ffab7304
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 21 19:14:28 2003 +0000
Add a test for relpositioned floats.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/fast/block/float/023-expected.txt b/LayoutTests/fast/block/float/023-expected.txt
new file mode 100644
index 0000000..4d9a675
--- /dev/null
+++ b/LayoutTests/fast/block/float/023-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+ RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x39
+ RenderBlock {HTML} at (0,0) size 800x39
+ RenderBody {BODY} at (8,8) size 784x17
+ RenderBlock {P} at (0,0) size 784x17
+ RenderText {TEXT} at (0,0) size 623x17
+ text run at (0,0) width 192: "You should see a single 100"
+ text run at (192,0) width 174: "x100 green block below. "
+ text run at (366,0) width 257: "If you see any red, the test has failed."
+ RenderBlock {UL} at (0,31) size 784x0
+ RenderText {TEXT} at (0,0) size 0x0
+ RenderBlock (floating) {LI} at (100,0) size 100x100 [bgcolor=#FF0000]
+ RenderText {TEXT} at (0,0) size 0x0
+layer at (108,39) size 100x100
+ RenderBlock (floating) {LI} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/float/023.html b/LayoutTests/fast/block/float/023.html
new file mode 100644
index 0000000..d1ee91b
--- /dev/null
+++ b/LayoutTests/fast/block/float/023.html
@@ -0,0 +1,37 @@
+<html>
+<head>
+<style>
+ul {
+ padding: 0px;
+ margin: 0px;
+}
+
+li {
+ margin: 0px;
+ padding: 0px;
+ float: left;
+ width: 100px;
+ height: 100px;
+ display: block;
+}
+
+li.li1 {
+ position: relative;
+ left: 100px;
+ background-color:green;
+}
+
+li.li2 {
+ background-color:red;
+}
+</style>
+</head>
+<body>
+<p>You should see a single 100x100 green block below. If you see any red, the test has failed.</p>
+
+<ul>
+<li class="li1"></li>
+<li class="li2"></li>
+</ul>
+</html>
+
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list