blob: 9cc413819bde0e4c69b723e492511a4cea018450 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
<head>
<title>CSS Block Box Model: overconstrained horizontal box model and minimum widths</title>
<style type="text/css">
.container { width: 3em; }
.test { margin-left: 2em; border-left: none; padding-left: 0; width: auto; padding-right: 0; border-right: none; margin-right: 2em; }
.control { padding-left: 2em; }
div { font-size: xx-large; }
</style>
</head>
<body>
<p>The following two vertical bars should be at the same horizontal position.</p>
<div class="container">
<div class="test"><span>|</span></div>
</div>
<div class="control"><span>|</span></div>
</body>
</html>