gecko/layout/reftests/flexbox/flexbox-basic-img-horiz-2-ref.xhtml

28 lines
561 B
HTML
Raw Normal View History

<?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: 50px;
width: 50px;
border: 2px dotted black;
display: flex;
}
img {
width: 50px;
height: 50px;
background: purple;
}
</style>
</head>
<body>
<div class="flexbox">
<img src="solidblue.png"/>
</div>
</body>
</html>