Index: LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left.html |
diff --git a/LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left.html b/LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..765ae8d35214e90498d6e7135d20c77f0df0d9b0 |
--- /dev/null |
+++ b/LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<p>The word "FAIL" should not be seen below.</p> |
+<div style="position:relative; width:500px;"> |
+ <div id="elm" style="background:blue; height:25em;"> |
+ <div style="position:absolute; top:0; color:blue;"> |
+ FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL |
+ </div> |
+ </div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("elm").style.marginLeft = "200px"; |
+</script> |