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

Unified Diff: LayoutTests/fast/multicol/min-height-less-than-height.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-height.html
diff --git a/LayoutTests/fast/multicol/min-height-less-than-height.html b/LayoutTests/fast/multicol/min-height-less-than-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..9de63b8b65f2414b20d830b5a08cb6fe33f6245c
--- /dev/null
+++ b/LayoutTests/fast/multicol/min-height-less-than-height.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<style>
+ .box { height:40px; background:blue; }
+</style>
+<p>If min-height is less than height, it has no effect.</p>
+<p>Below there should be a blue square to the left of a hotpink square.</p>
+<div id="test" style="position:relative; -webkit-columns:4; -webkit-column-gap:0; column-fill:auto; width:160px; height:80px; min-height:40px; background:hotpink;">
+ <div data-offset-y="0" class="box"></div>
+ <div data-offset-y="40" class="box"></div>
+ <div data-offset-y="0" class="box"></div>
+ <div data-offset-y="40" class="box"></div>
+</div>
+<script>
+ checkLayout("#test");
+</script>

Powered by Google App Engine
This is Rietveld 408576698