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

Side by Side Diff: LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-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, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>There should be no red on this page.</p>
3 <div style="position:relative;">
4 <div id="elm" style="width:200px; height:200px; background:red;">
5 <div style="position:absolute; top:0; width:200px; height:200px; backgro und:green;"></div>
6 </div>
7 </div>
8 <script>
9 document.body.offsetTop;
10 document.getElementById("elm").style.marginLeft = "200px";
11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698