Revision dd3f71885bd5039f7ba6f357ac2a43fc510ee23f authored by Mike Pennisi on 23 December 2017, 00:01:51 UTC, committed by jgraham on 23 April 2018, 17:11:42 UTC
1 parent 18ee2b4
autoheight-flexbox-001.html
<!DOCTYPE html>
<html>
<head>
<title>CSS Regions: fixed height flexbox inside auto height region</title>
<link rel="author" title="Catalin Badea" href="mailto:badea@adobe.com">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#rfcb-flow-fragment-height-resolution">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#layout-algorithm">
<meta name="assert" content="Test that flowing a flex container inside a region with auto-height will enlarge
the region to fit the content.">
<link rel="match" href="reference/autoheight-flexbox-001-ref.html">
<style>
.flex {
display: flex;
height: 100px;
width: 100px;
background-color: green;
flow-into: flow;
}
.region {
width: 100px;
background-color: gray;
padding: 10px;
flow-from: flow;
}
.red {
background-color: red;
}
</style>
</head>
<body>
<ul>
<li>Test passes if you see a green square inside a gray square.</li>
<li>You shouldn't see any red.</li>
</ul>
<div class="flex">
</div>
<div class="region">
<p class="red"> </p>
</div>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...