Index: LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html |
diff --git a/LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html b/LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b61d8741d42f17d4af83e2b7beb0c0773218168a |
--- /dev/null |
+++ b/LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<p>There should be no red on this page.</p> |
+<div style="position:relative;"> |
+ <div id="elm" style="width:200px; height:200px; background:red;"> |
+ <div style="position:absolute; top:0; width:200px; height:200px; background:green;"></div> |
+ </div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("elm").style.marginLeft = "200px"; |
+</script> |