Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left.html

Issue 1217833007: Cannot rely on auto-positioned absolutely positioned descendants being marked for layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/block/positioning/abspos-auto-left-and-width-change-parent-margin-left-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698