blob: 069392de26c3a854cedeaae3cc2a24e300bfa160 [file] [edit]
<!doctype html>
<html>
<head>
<style>
.article {
-webkit-font-smoothing: none;
font-family: Ahem;
font-size: 20px;
color: green;
}
.container {
position: absolute;
width: 100px;
display: -webkit-flex;
}
.cell {
height: auto;
background: lime;
}
.red {
position: absolute;
display: block;
background-color: red;
width: 100px;
height: 40px;
}
</style>
</head>
<body>
<p> Test whether an auto-height region is laid out properly inside a flexbox container with height auto.<br>
Test passes if you see a green rectangle.
</p>
<div class="red">
</div>
<div class="container">
<div class="cell">
<div class="article">
XXXXX<br>XXXXX
</div>
</div>
</div>
</body>
</html>