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

Side by Side Diff: LayoutTests/fast/block/positioning/abspos-auto-left-auto-top-inside-auto-margins.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>On this page there should be a blue square above a yellow square.</p>
3 <div style="position:relative; width:500px;">
4 <div id="elm" style="margin:auto; width:100px; height:400px; background:yell ow;">
5 <div></div>
6 <div style="position:absolute; width:200px; height:200px; background:blu e;"></div>
7 </div>
8 </div>
9 <script>
10 document.body.offsetTop;
11 document.getElementById("elm").style.width = "200px";
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698