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

Side by Side Diff: LayoutTests/fast/multicol/float-with-margin-moved-by-child-line-and-unbreakable.html

Issue 1303993007: Floats' margins do not collapse with page or column boundaries. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 <script src="../../resources/check-layout.js"></script>
3 <p>Test that space is reserved for the top margin of a float that is pushed to t he next column. In
4 this test, there are two reasons why the float needs to be pushed to next co lumn: It's
5 unbreakable, and its first line doesn't fit in the previous column.</p>
6 <p>There should be a blue rectangle below.</p>
7 <div id="test" style="position:relative; -webkit-columns:3; -webkit-column-gap:0 ; column-fill:auto; width:150px; height:90px; line-height:20px;">
8 <div style="margin-top:5px; margin-bottom:15px; height:40px; background:blue ;"></div>
9 <br>
10 <div data-offset-y="5" style="float:left; width:100%; margin-top:5px; -webki t-column-break-inside:avoid; background:blue;">
11 <br><br>
12 </div>
13 </div>
14 <script>
15 checkLayout("#test");
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698