blob: 112d2d1361a794986d3d406e0c27f56dc247f3da [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Child boxes with box-flex:1 should expand to fill the flexbox when siblings do not flex - Reference </title>
<link rel="author" title="Codeaurora" href="http://www.codeaurora.org/" />
<link rel="help" href="http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/"/>
<style type="text/css">
div
{
background: green;
width: 300px;
height: 100px;
position: relative;
}
.child
{
width: 100px;
height: 100px;
background: url('../support/flexbox_100x100_green.png') top left no-repeat green;
position: absolute;
}
.two
{
left: 100px;
}
.three
{
left: 200px;
}
</style>
</head>
<body>
<p>This test passes if there is no red showing.</p>
<div>
<div class="child"></div>
<div class="child two"></div>
<div class="child three"></div>
</div>
</body>
</html>