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

Side by Side Diff: LayoutTests/fast/block/float/formatting-context-changes.html

Issue 1106533002: Formatting contexts should always expand to enclose floats (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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 <style>
2 img {
3 float: left;
4 }
5 </style>
6 <div id="container" style="overflow: hidden; background: #eee" data-expected-hei ght=100>
7 <div style="list-style: none; width: 3230px;">
8 <div style="display: table-cell; width: 1615px; vertical-align: top;">
9 <a><img src="" height="100px" width="100px"></a>
10 </div>
11 <div id="second-cell" style="display: block; width: 1615px; vertical-ali gn: top;">
12 <a><img src="" height="100px" width="100px"></a>
13 </div>
14 </div>
15 </div>
16 <p id="test-output"></p>
17 <script src="../../../resources/check-layout.js"></script>
18 <script>
19 var cell = document.getElementById('second-cell');
20 var container = document.getElementById('container');
21 document.body.offsetTop;
22 cell.style.display = 'table-cell';
23 window.checkLayout("#container", document.getElementById("test-output"));
24 </script>
25 <p>crbug.com/477076: If a nested float doesn't overhang its container the block setting the formatting context should still expand to include it if necessary. < /p>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/block/float/formatting-context-changes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698