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

Side by Side Diff: LayoutTests/fast/dynamic/static-to-relative-with-absolute-and-static-child.html

Issue 1218023004: Fix a regression when position:static with absolute child changed to relative (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #abs {
4 width:100px; height:50px;
5 position:absolute;
6 background-color:blue;
7 }
8 #next {
9 width:50px; height:100px;
10 margin-top:50px;
11 background-color:orange;
12 }
13 </style>
14 <div id=outer>
15 <div id=abs></div>
16 <div id=next></div>
17 </div>
18 <script>
19 window.onload = function () {
20 document.body.offsetTop;
21 outer.style.position = "relative";
22 }
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698