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

Unified Diff: LayoutTests/fast/multicol/min-height-less-than-content.html

Issue 1322513003: Multicol: Min-height should have no effect if content is taller and height is auto. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use block instead of inline in test, so that we don't have to make assumptions about internal leadiā€¦ Created 5 years, 3 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
Index: LayoutTests/fast/multicol/min-height-less-than-content.html
diff --git a/LayoutTests/fast/multicol/min-height-less-than-content.html b/LayoutTests/fast/multicol/min-height-less-than-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..2e9b20132ca9ff51f68839e031b9068f4f8bbae5
--- /dev/null
+++ b/LayoutTests/fast/multicol/min-height-less-than-content.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>Min-height has no effect if it is less than the height of the content, and height is auto.</p>
+<p>The word "OKAY" should be seen below.</p>
+<div id="test" style="position:relative; -webkit-columns:4; width:4em; -webkit-column-gap:0; column-fill:auto; overflow:hidden; min-height:10px; line-height:20px;">
+ <br>
+ <br>
+ <div data-offset-y="40">O</div>
+ <br>
+ <br>
+ <div data-offset-y="40">K</div>
+ <br>
+ <br>
+ <div data-offset-y="40">A</div>
+ <br>
+ <br>
+ <div data-offset-y="40">Y</div>
+</div>
+<script>
+ checkLayout("#test");
+</script>

Powered by Google App Engine
This is Rietveld 408576698