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

Side by Side Diff: LayoutTests/fast/multicol/margin-bottom-and-break-after.html

Issue 850703002: [New Multicolumn] Margins incorrectly accounted for before forced breaks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/margin-bottom-and-break-after-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>A block that follows a block with -webkit-column-break-after:always; should b e positioned at the
3 *top* of the *next* column. Margins may need to be ignored to achieve this.< /p>
4 <div id="mc" style="-webkit-column-count:2; column-fill:auto; width:100px; heigh t:200px;">
5 <div style="height:150px; margin-bottom:150px; -webkit-column-break-after:al ways;"></div>
6 <div id="child" style="height:100px;"></div>
7 </div>
8 <div id="console"></div>
9 <script src="../../resources/js-test.js"></script>
10 <script>
11 var mc = document.getElementById('mc');
12 var child = document.getElementById('child');
13 shouldBe("child.offsetLeft + child.offsetWidth", "mc.offsetLeft + mc.offsetW idth");
14 shouldBe("child.offsetTop", "mc.offsetTop");
15 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/margin-bottom-and-break-after-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698