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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/unforced-break-after-complex-margin-collapsing.html

Issue 1375673004: Keep block pagination struts after layout, and store them before any type of break. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 5 years, 2 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/check-layout.js"></script>
3 <p>Given a parent block with an empty collapse-through child followed by a child with a top margin,
4 check that the parent block is pulled downwards by that margin, to the exact top of the next
5 column. The collapse-through child prevents us from correctly estimating the logical top of the
6 parent initially.</p>
7 <p>Below there should be a yellow box. Inside it there should be a top-center al igned green box.</p>
8 <div id="test" style="position:relative; -webkit-columns:3; -webkit-column-gap:1 0px; column-fill:auto; width:620px; height:90px; line-height:20px; background:ye llow;">
9 <br>
10 <br>
11 <br>
12 <br>
13 <div style="background:red;" data-offset-x="210" data-offset-y="0" data-expe cted-height="80">
14 <div data-offset-x="210" data-offset-y="0" data-expected-height="0"></di v>
15 <div data-offset-x="210" data-offset-y="0" data-expected-height="80" sty le="margin-top:20px; background:green;">
16 <br><br><br><br>
17 </div>
18 </div>
19 </div>
20 <script>
21 checkLayout("#test");
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698