LibWeb: Add tests for flex formatting context

This commit is contained in:
Aliaksandr Kalenik 2023-02-08 01:40:38 +03:00 committed by Andreas Kling
commit 92cb32b905
Notes: sideshowbarker 2024-07-17 06:51:48 +09:00
30 changed files with 785 additions and 0 deletions

View file

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