Add layout test for overflow float bug.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2005 23:30:10 +0000 (23:30 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2005 23:30:10 +0000 (23:30 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8389 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/block/float/033-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/float/033.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/block/float/033-expected.txt b/LayoutTests/fast/block/float/033-expected.txt
new file mode 100644 (file)
index 0000000..6f1d966
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x2008
+  RenderCanvas 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
+layer at (492,8) size 300x2000
+  RenderBlock (floating) {DIV} at (484,0) size 300x2000
+    RenderBlock {DIV} at (0,0) size 300x2000 [bgcolor=#0000FF]
diff --git a/LayoutTests/fast/block/float/033.html b/LayoutTests/fast/block/float/033.html
new file mode 100644 (file)
index 0000000..d8cfb68
--- /dev/null
@@ -0,0 +1,15 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>           
+<style>
+div.contentcontainer {
+       float:right;
+    overflow: hidden;
+}
+</style>
+</head>
+<body>
+<div class="contentcontainer">
+<div style="height:2000px;width:300px;background-color:blue"></div>
+</body>
+</html>
+