git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15792 268f45cc-cd09-0410...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Aug 2006 01:38:14 +0000 (01:38 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Aug 2006 01:38:14 +0000 (01:38 +0000)
LayoutTests/fast/block/float/negative-margin-clear-expected.checksum [new file with mode: 0644]
LayoutTests/fast/block/float/negative-margin-clear-expected.png [new file with mode: 0644]
LayoutTests/fast/block/float/negative-margin-clear-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/float/negative-margin-clear.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/block/float/negative-margin-clear-expected.checksum b/LayoutTests/fast/block/float/negative-margin-clear-expected.checksum
new file mode 100644 (file)
index 0000000..a5623a8
--- /dev/null
@@ -0,0 +1 @@
+18737941d64789e912a47c254f1fe18e
\ No newline at end of file
diff --git a/LayoutTests/fast/block/float/negative-margin-clear-expected.png b/LayoutTests/fast/block/float/negative-margin-clear-expected.png
new file mode 100644 (file)
index 0000000..be03856
Binary files /dev/null and b/LayoutTests/fast/block/float/negative-margin-clear-expected.png differ
diff --git a/LayoutTests/fast/block/float/negative-margin-clear-expected.txt b/LayoutTests/fast/block/float/negative-margin-clear-expected.txt
new file mode 100644 (file)
index 0000000..6f3493d
--- /dev/null
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x8 [border: (4px solid #FF0000)]
+        RenderBlock {DIV} at (4,-346) size 776x350
diff --git a/LayoutTests/fast/block/float/negative-margin-clear.html b/LayoutTests/fast/block/float/negative-margin-clear.html
new file mode 100644 (file)
index 0000000..94d67d1
--- /dev/null
@@ -0,0 +1,15 @@
+<style>
+#inner {
+    height: 350px;
+    margin-top: -350px;
+    clear: both;
+}
+#outer {
+    border: 4px solid red;
+}
+</style>
+
+<div id="outer">
+<div id="inner">
+</div>
+</div>