Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Reference: Min/Max Height and Width Constraints on Replaced Elements with Box-Sizing</title>
<link href="http://fantasai.inkedblade.net/contact" title="Elika J. Etemad" rel="author"></link>
<link href="mailto:sjohnson@mozilla.com" title="Scott Johnson" rel="author"></link>
<meta content="image" name="flags"></meta>
<!--
-->
<style type="text/css">
p {
display: inline-block;
background-color: white;
margin: 0px 0px;
padding: 0px 0px;
}
#img {
width: 75px;
height: 75px;
}
</style>
</head>
<body>
<div>All rectangles should be the same size.</div>
<p><img src="support/replaced-min-max.png" alt="FAIL" title="Test 0"></img></p>
<p><img id="img" title="Test 1" alt="FAIL" src="support/replaced-min-max-1.png"></img></p>
<p><img id="img" title="Test 2" alt="FAIL" src="support/replaced-min-max-2.png"></img></p>
<p><img id="img" title="Test 3" alt="FAIL" src="support/replaced-min-max-3.png"></img></p>
<p><img id="img" title="Test 4" alt="FAIL" src="support/replaced-min-max-4.png"></img></p>
<p><img id="img" title="Test 5" alt="FAIL" src="support/replaced-min-max-5.png"></img></p>
<p><img id="img" title="Test 6" alt="FAIL" src="support/replaced-min-max-6.png"></img></p>
<p><img id="img" title="Test 7" alt="FAIL" src="support/replaced-min-max-7.png"></img></p>
<p><img id="img" title="Test 8" alt="FAIL" src="support/replaced-min-max-8.png"></img></p>
<p><img id="img" title="Test 9" alt="FAIL" src="support/replaced-min-max-9.png"></img></p>
<p><img id="img" title="Test 10" alt="FAIL" src="support/replaced-min-max-10.png"></img></p>
<p><img id="img" title="Test 11" alt="FAIL" src="support/replaced-min-max-11.png"></img></p>
<p><img id="img" title="Test 12" alt="FAIL" src="support/replaced-min-max-12.png"></img></p>
<p><img id="img" title="Test 13" alt="FAIL" src="support/replaced-min-max-13.png"></img></p>
<p><img id="img" title="Test 14" alt="FAIL" src="support/replaced-min-max-14.png"></img></p>
<p><img id="img" title="Test 15" alt="FAIL" src="support/replaced-min-max-15.png"></img></p>
<p><img id="img" title="Test 16" alt="FAIL" src="support/replaced-min-max-16.png"></img></p>
<p><img id="img" title="Test 17" alt="FAIL" src="support/replaced-min-max-17.png"></img></p>
<p><img id="img" title="Test 18" alt="FAIL" src="support/replaced-min-max-18.png"></img></p>
<p><img id="img" title="Test 19" alt="FAIL" src="support/replaced-min-max-19.png"></img></p>
</body>
</html>