summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/min-height-less-than-height.html
blob: 9de63b8b65f2414b20d830b5a08cb6fe33f6245c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>