1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

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
parent 9be9bf3379
commit 92cb32b905
30 changed files with 785 additions and 0 deletions

View file

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