gecko/layout/reftests/flexbox/flexbox-basic-img-horiz-2.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

32 lines
728 B
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!--
This test checks that img elements' default "min-width: auto" property
is handled correctly (i.e. isn't influenced by the "width" property).
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
div.flexbox {
height: 50px;
width: 50px;
border: 2px dotted black;
display: -moz-flex;
}
img {
width: 1000px;
height: 50px;
background: purple;
}
</style>
</head>
<body>
<div class="flexbox">
<img src="solidblue.png"/>
</div>
</body>
</html>