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

Side by Side Diff: LayoutTests/fast/multicol/float-with-margin-moved-by-child-line.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. It
4 gets pushed to next column because its first line cannot fit at its designat ed position in the
5 first 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; backgr ound: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