Files
obscura/render-repros/percentage-height-indefinite-parent.html
T

20 lines
578 B
HTML

<!doctype html>
<meta charset="utf-8">
<style>
#outer { width: 400px; }
#wrapper, #pre { height: 100%; }
#stack { display: flex; flex-direction: column; width: 100%; position: relative; }
#editor { flex: 1 1; position: relative; overflow: auto; }
#pre { display: flex; }
#code { display: block; line-height: 24px; }
</style>
<div id="outer">
<div id="wrapper">
<div id="stack">
<div id="editor">
<pre id="pre"><code id="code">content must give an indefinite percentage-height chain its height</code></pre>
</div>
</div>
</div>
</div>