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

Side by Side Diff: LayoutTests/fast/block/float/overhanging-float-add-in-static-position-block.html

Issue 7253035: Merge 89836 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 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
1 <html> 1 <html>
2 <body> 2 <body>
3 <div style="width: 18px; position: relative"> 3 <div style="width: 18px; position: relative">
4 <div id="t1" style="float: right; background-color: silver; width: 1 0px; height: 100px"> 4 <div id="t1" style="float: right; background-color: silver; width: 1 0px; height: 100px">
5 </div> 5 </div>
6 <div id="t2"> 6 <div id="t2">
7 <div> 7 <div>
8 <div style="float: right; background-color: orange; width: 5 px; height: 50px"></div> 8 <div style="float: right; background-color: orange; width: 5 px; height: 50px"></div>
9 <div style="background-color: blue;">A B C D<div style="floa t: right; background-color: green; width: 5px; height: 50px"></div></div> 9 <div style="background-color: blue;">A B C D<div style="floa t: right; background-color: green; width: 5px; height: 50px"></div></div>
10 </div> 10 </div>
11 </div> 11 </div>
12 </div> 12 </div>
13 <script> 13 <script>
14 document.body.offsetTop; 14 document.body.offsetTop;
15 t2.style.position = 'absolute'; 15 t2.style.position = 'absolute';
16 document.body.offsetTop; 16 document.body.offsetTop;
17 t2.style.position = 'static'; 17 t2.style.position = 'static';
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698