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

Side by Side Diff: LayoutTests/fast/block/float/nested-floats-expand-formatting-context.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 <!DOCTYPE html>
2 <style>
3 #section {
4 overflow: hidden;
5 width: 200px;
6 }
7
8 #article {
9 background: black;
10 height: 100px;
11 }
12
13 .item {
14 height: 100px;
15 background: black;
16 padding: 50px;
17 }
18
19 .float {
20 width: 150px;
21 height: 140px;
22 float: left;
23 background: black;
24 }
25 </style>
26 <html>
27 <div id="section">
28 <div id="article">
29 <div>
30 <div class="item">
31 <div class="float"></div>
32 </div>
33 </div>
34 </div>
35 </div>
36 <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>
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698