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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/forced-break-before-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 a forced break before, and with an empty collapse-t hrough child
4 followed by a child with a top margin, check that the parent block still end s up at the exact
5 top of the next column. The collapse-through child prevents us from correctl y estimating the
6 logical top of the parent initially.</p>
7 <p>Below there should be a yellow box. Inside it there should be a bottom-left a ligned blue box and
8 a top-center aligned green box.</p>
9 <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;">
10 <br>
11 <br>
12 <br>
13 <div style="padding-top:4px; background:blue;" data-offset-x="0" data-offset -y="60" data-expected-height="110">
14 <div style="-webkit-column-break-before:always; background:red;" data-of fset-x="210" data-offset-y="0" data-expected-height="80">
15 <div data-offset-x="210" data-offset-y="0" data-expected-height="0"> </div>
16 <div style="margin-top:50px; background:green;" data-offset-x="210" data-offset-y="0" data-expected-height="80">
17 <br><br><br><br>
18 </div>
19 </div>
20 </div>
21 </div>
22 <script>
23 checkLayout("#test");
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698