blob: 0e08c377d185ddd9247bfdf9f2ce50feb86750f0 [file] [log] [blame]
<html>
<head>
<style>
div {
display: -moz-box;
display: -webkit-box;
display: box;
width: 100px;
height: 100px;
-moz-box-orient: vertical;
-webkit-box-orient: vertical;
box-orient: vertical;
}
div.outer {
background-color:red;
}
div.inner {
background-color:green;
-moz-box-flex: 1;
-webkit-box-flex: 1;
box-flex: 1;
width:100px;
height:10px;
display: block;
}
</style>
</head>
<body>
<p>You should see a single 100x100 green square below. If you see any red, then
the test has failed.</p>
<div class="outer">
<div class="inner"></div>
</div>
</body>