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/block/positioning/static-to-abspos-parent-is-stf.html

Issue 1294063005: Recalculate intrinsic widths in the old containing block chain when going out of flow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make fast/layers/scroll-descendant-with-cached-cliprects.html NOT depend on the bug that this CL fi… Created 5 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/block/positioning/static-to-abspos-parent-is-stf-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/check-layout.js"></script>
3 <p>Change from position:static to position:absolute when the parent is a shrink- to-fit container.
4 The parent needs to recalculate its intrinsic size when this happens.</p>
5 <p>There should be a black <em>square</em> below.</p>
6 <div id="container" style="float:left; border:20px solid black;" data-expected-w idth="40" data-expected-height="40">
7 <div id="test" style="width:100px; height:100px;"></div>
8 </div>
9 <p id="result" style="clear:both;"></p>
10 <script>
11 var test = document.getElementById("test");
12 test.offsetTop;
13 test.style.position = "absolute";
14 checkLayout("#container", document.getElementById("result"));
15 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/positioning/static-to-abspos-parent-is-stf-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698