blob: 4f7f49ef748b77491d1027521b58cc31237ac8f0 (
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
37
38
39
40
41
|
<html>
<head>
<style>
div {
display: -moz-box;
display: -webkit-box;
display: box;
background-color: red;
width: 100px;
height: 100px;
}
.first {
visibility: collapse;
-moz-box-flex: 1;
-webkit-box-flex: 1;
box-flex: 1;
width: 50px;
height: 100px;
}
.second {
background-color: green;
-moz-box-flex: 1;
-webkit-box-flex: 1;
box-flex: 1;
width: 50px;
height: 100px;
}
</style>
</head>
<body>
<p>You should see a 100x100 green square below. If you see any red, the test has failed. This test is checking
for visibility:collapse support.</p>
<div>
<div class="first"></div>
<div class="second"></div>
</div>
</body>
</html>
|