blob: 0a5de8da1461fe972a8e64f089feb9b70d226e55 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>
CSS Reference Case: Different values of block sizing properties in vertical wm
</title>
<meta charset="utf-8">
<link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="flags" content="ahem">
<style>
html,body {
margin: 0;
}
.container {
width: 200px;
height: 120px;
border-color: blue;
border: 2px solid blue;
writing-mode: vertical-lr;
}
.container > * {
border: 2px solid lime;
font-size: 15px;
font-family: Ahem;
font-size: 10px;
line-height: 15px;
}
.too-small {
width: 10px;
}
.too-big {
width: 120px;
}
</style>
</head>
<body>
<div style="display: inline-block;">
<div class="container">
<div>width: min-content<br>on this box.</div>
<div>width: max-content<br>on this box.</div>
</div>
<div class="container">
<div class="too-small">min-width: min-content<br>on this box.</div>
<div class="too-small">min-width: max-content<br>on this box.</div>
</div>
<div class="container">
<div class="too-big">max-width: min-content<br>on this box.</div>
<div class="too-big">max-width: max-content<br>on this box.</div>
</div>
</div>
<div style="display: inline-block;">
<div class="container">
<div>block: min-content<br>on this box.</div>
<div>block: max-content<br>on this box.</div>
</div>
<div class="container">
<div class="too-small">min-block: min-content<br>on this box.</div>
<div class="too-small">min-block: max-content<br>on this box.</div>
</div>
<div class="container">
<div class="too-big">max-block: min-content<br>on this box.</div>
<div class="too-big">max-block: max-content<br>on this box.</div>
</div>
</div>
</body>
</html>