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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html

Issue 1461923005: When balancing columns, we must check inner multicols for unbreakable content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review - std::max FTW Created 5 years, 1 month 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/nested-one-line-in-inner-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/nested-one-line-in-inner.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html b/third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html
new file mode 100644
index 0000000000000000000000000000000000000000..498fc198499bcfc4e636cce3311d983c065224da
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>Test that an inner multicol with only one line makes the outer multicol tall enough to contain it.</p>
+<p>There should be a blue square below.</p>
+<div id="outer" style="-webkit-columns:4; line-height:80px;" data-expected-height="80">
+ <div style="-webkit-columns:4;" data-expected-height="80">
+ <div style="display:inline-block; vertical-align:top; width:80px; height:80px; background:blue;"></div>
+ </div>
+</div>
+<script>
+ checkLayout("#outer");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/nested-one-line-in-inner-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698