blob: 70ea54577e1ee25bb34474cd99d30241befd6f6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<!DOCTYPE html>
<style>
.item {
height: 50px;
width: 50px;
margin: 50px;
font: 50px/1 Ahem;
}
.overflowVisible {
overflow: visible;
}
.overflowHidden {
overflow: hidden;
}
.overflowScroll {
overflow-y: scroll;
}
.overflowAuto {
overflow: auto;
}
</style>
<p>This test checks that min-width|height auto behavior for grid items only applies if overflow is visible.</p>
<p>The test passes if you see three 50x50 squares and one 100x100 square.</p>
<div class="item overflowHidden">XX<br>XX</div>
<div class="item overflowScroll">XX<br>XX</div>
<div class="item overflowAuto">XX<br>XX</div>
<div class="item overflowVisible">XX<br>XX</div>
|