servo/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-min-width-auto-004-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;
}
.yvisible { overflow-y: visible; }
.yhidden { overflow-y: hidden; }
.yscroll { overflow-y: scroll; }
.yauto { overflow-y: auto; }
</style>
</head>
<body>
<div class="item big yvisible"><div></div></div>
<div class="item small yhidden"><div></div></div>
<div class="item small yscroll"><div></div></div>
<div class="item small yauto"><div></div></div>
</body></html>