serenity/Tests/LibWeb/Layout/input/flex-column-height-unconstrained.html
Andreas Kling 109ed27423 LibWeb: Rewrite FFC "resolve flexible lengths" algorithm from draft spec
The draft CSS-FLEXBOX-1 spec had a more detailed description of this
algorithm, so let's use that as our basis for the implementation.

Test by Aliaksandr. :^)
2023-03-10 13:38:34 +01:00

25 lines
432 B
HTML

<style>
body {
font-family: 'SerenitySans';
}
.my-container {
display: flex;
border: 1px solid salmon;
}
.column {
flex-direction: column;
}
.box {
width: 100px;
height: 100px;
border: 1px solid black;
}
</style>
<div class="my-container column">
<div class="box">1</div>
<div class="box">2</div>
<div class="box">3</div>
</div>