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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html

Issue 1399493002: Column balancing refactoring. Don't propagate data during layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html b/third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html
new file mode 100644
index 0000000000000000000000000000000000000000..b11293a5d5df15bec9b8fc22340b6927b633c3fc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>Test that incorrect margin collapsing estimates (which will trigger another layout pass)
+ doesn't upset column balancing.</p>
+<p>There should be a hotpink square below.</p>
+<div id="container" style="position:relative; -webkit-columns:3; -webkit-column-gap:0; width:90px; line-height:60px;">
+ <div style="background:hotpink;" data-offset-x="0" data-offset-y="0"><br></div>
+ <br>
+ <div style="background:hotpink;" data-offset-x="30" data-offset-y="0"><br></div>
+ <div id="outer">
+ <div></div>
+ <div id="inner" style="margin-top:60px;">
+ <div style="-webkit-column-break-before:always;"></div>
+ </div>
+ </div>
+ <br>
+ <br>
+</div>
+<script>
+ checkLayout("#container");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/auto-height-forced-break-complex-margin-collapsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698