Add layout test for bug 10719.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Sep 2006 05:47:22 +0000 (05:47 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Sep 2006 05:47:22 +0000 (05:47 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16281 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/block/positioning/negative-right-pos-expected.checksum [new file with mode: 0644]
LayoutTests/fast/block/positioning/negative-right-pos-expected.png [new file with mode: 0644]
LayoutTests/fast/block/positioning/negative-right-pos-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/positioning/negative-right-pos.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/block/positioning/negative-right-pos-expected.checksum b/LayoutTests/fast/block/positioning/negative-right-pos-expected.checksum
new file mode 100644 (file)
index 0000000..f27c58c
--- /dev/null
@@ -0,0 +1 @@
+ab76b32c3af8345e6a18e75a6dd71818
\ No newline at end of file
diff --git a/LayoutTests/fast/block/positioning/negative-right-pos-expected.png b/LayoutTests/fast/block/positioning/negative-right-pos-expected.png
new file mode 100644 (file)
index 0000000..f2dc44e
Binary files /dev/null and b/LayoutTests/fast/block/positioning/negative-right-pos-expected.png differ
diff --git a/LayoutTests/fast/block/positioning/negative-right-pos-expected.txt b/LayoutTests/fast/block/positioning/negative-right-pos-expected.txt
new file mode 100644 (file)
index 0000000..0cb9bfc
--- /dev/null
@@ -0,0 +1,16 @@
+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 (anonymous) at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 272x18
+          text run at (0,0) width 272: "If you see any red below the test has failed."
+layer at (8,26) size 300x400
+  RenderBlock (relative positioned) {DIV} at (0,18) size 300x400 [bgcolor=#FF0000]
+    RenderTable {TABLE} at (0,0) size 250x400 [bgcolor=#008000]
+      RenderTableSection {TBODY} at (0,0) size 250x400
+        RenderTableRow {TR} at (0,0) size 250x400
+          RenderTableCell {TD} at (0,200) size 250x0 [r=0 c=0 rs=1 cs=1]
+layer at (258,26) size 200x400
+  RenderBlock (positioned) {DIV} at (250,0) size 200x400 [bgcolor=#008000]
diff --git a/LayoutTests/fast/block/positioning/negative-right-pos.html b/LayoutTests/fast/block/positioning/negative-right-pos.html
new file mode 100644 (file)
index 0000000..0d1a74c
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>
+Reduced test case for bug 10719
+</title>
+</head>
+<style type="text/css">
+<!--
+    #wrapper {
+        position:relative; 
+        
+        width:300px; 
+        height:400px;
+        background: red;
+    }
+    
+    #inner {
+        overflow: hidden; 
+        position: absolute; 
+        right: -150px; 
+        
+        width: 200px; 
+        height: 400px; 
+        background: green;
+    }
+-->
+</style>
+<body>
+            If you see any red below the test has failed.
+<div id="wrapper">
+<div id="inner">
+</div>
+<table align="left" width="250" cellpadding=0 cellspacing=0 height=400 bgcolor=green>
+<tbody>
+<tr>
+<td>
+                                        </td>
+</tr>
+</tbody>
+</table>
+</div>
+</body>
+</html>