gecko/layout/reftests/flexbox/flexbox-minSize-vert-1-ref.xhtml
Daniel Holbert 96708c6027 Bug 666041: Reftests for css3-flexbox. (tests-only)
--HG--
rename : layout/reftests/bugs/solidblue.png => layout/reftests/flexbox/solidblue.png
2012-09-29 23:42:29 -07:00

56 lines
1.2 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
div.flexbox {
height: 140px;
margin-right: 5px;
font-size: 8px;
border: 1px dotted black;
float: left;
}
div.flexbox > * {
margin-bottom: 20px;
border: 1px dashed green;
background: lightblue;
width: 40px;
}
div.smallSize { height: 5px; }
div.smallFlexBasis { height: 2px; }
div.zeroHeight { height: 0; }
</style>
</head>
<body>
<div class="flexbox">
<div>a b</div>
<div>a b</div>
<div>a b</div>
</div>
<div class="flexbox smallSize">
<div>a b</div>
<div>a b</div>
<div>a b</div>
</div>
<div class="flexbox">
<div>a b</div>
<div class="smallSize">a b</div>
<div class="smallFlexBasis">a b</div>
</div>
<div class="flexbox smallSize">
<div class="zeroHeight">a b</div>
<div class="zeroHeight">a b</div>
<div class="zeroHeight">a b</div>
</div>
</body>
</html>