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

Side by Side Diff: LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html

Issue 882173002: When a positioned object's dependence on content height changes we need to layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 10 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 <style>
3 body {
4 margin: 0;
5 }
6 #test {
7 position: absolute;
8 background-color: green;
mstensho (USE GERRIT) 2015/02/02 19:34:03 Without the changes I suggested, regarding adding
9 top: 0;
10 left: 0;
11 right: 0;
12 }
13 </style>
14 <script src="../../../resources/check-layout.js"></script>
15 <script>
16 function runTest()
17 {
18 var test = document.getElementById('test');
19 document.body.offsetTop;
20 test.style['bottom'] = '50%';
21 document.body.offsetTop;
22 test.style['bottom'] = 'auto';
23 window.checkLayout("#test");
24 }
25 window.onload = runTest;
26 </script>
27 Tests positioned movement layout when its height is changed by top/bottom changi ng from auto to fixed and back again.
28 <div id="test" data-expected-height=0></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698