gecko-dev/layout/reftests/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
Daniel Holbert a3cb31110c 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

59 lines
1.4 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 {
width: 200px;
background: lightgreen;
margin-bottom: 5px;
line-height: 8px;
}
img {
width: 10px;
height: 20px;
border: 1px dotted green;
}
</style>
</head>
<body>
<div class="flexbox">
<img src="solidblue.png"/>
</div>
<div class="flexbox" style="height: 22px">
some words
<img src="solidblue.png" style="float:right"/>
</div>
<div class="flexbox">
<img src="solidblue.png" style="width: 122.5px"
/><img src="solidblue.png" style="width: 73.5px"/>
</div>
<div class="flexbox">
<img src="solidblue.png" style="width: 93px"
/><img src="solidblue.png" style="width: 103px"/>
</div>
<div class="flexbox">
<img src="solidblue.png" style="width: 114px"
/><img src="solidblue.png" style="width: 82px"/>
</div>
<div class="flexbox">
<img src="solidblue.png" style="width: 106px"
/><img src="solidblue.png" style="width: 90px"/>
</div>
<div class="flexbox">
<img src="solidblue.png" style="width: 46px"
/><img src="solidblue.png" style="width: 150px"/>
</div>
</body>
</html>