blob: 1add6bdde5dbc8d6fdf9b291f8e0710cefc08d07 [file] [log] [blame]
<html>
<head>
<style>
div {
box-orient: vertical;
-moz-box-orient: vertical;
-webkit-box-orient: vertical;
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>
<!-- 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 with vertical orientation. This test is expected to fail but not crash! -->
<div>
<div class="first"></div>
<div class="second"></div>
</div>
</body>
</html>