servo/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/reference/flexbox-min-width-auto-003-ref.xht

39 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="utf-8" />
<title>CSS Reftest Reference</title>
<link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" />
<style>
.item {
/* Flex items have purple border: */
border: 2px dotted purple;
margin-bottom: 2px; /* (Just for spacing things out, visually) */
}
.small { width: 26px; }
.big { width: 80px; }
.item &gt; * {
/* Flex items' contents are gray &amp; fixed-size: */
background: gray;
height: 40px;
width: 80px;
}
.xvisible { overflow-x: visible; }
.xhidden { overflow-x: hidden; }
.xscroll { overflow-x: scroll; }
.xauto { overflow-x: auto; }
</style>
</head>
<body>
<div class="item big xvisible"><div></div></div>
<div class="item small xhidden"><div></div></div>
<div class="item small xscroll"><div></div></div>
<div class="item small xauto"><div></div></div>
</body></html>