gecko-dev/layout/reftests/bugs/1128354-1.html

38 строки
764 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.flexVert {
display: flex;
flex-direction: column;
}
.flexIntermediateHoriz {
display: flex;
}
.flexInnerHoriz {
display: flex;
height: 100%; /* If you delete this line, then pink area is stretched
to have its height match blue area. */
background: pink;
}
.spacer {
background: lightblue;
height: 200px;
width: 50px;
}
</style>
</head>
<body>
<div class="flexVert">
<div class="flexIntermediateHoriz">
<div class="flexInnerHoriz">text</div>
<div class="spacer"></div>
</div>
</div>
</body>
</html>