mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibWeb: Add tests for flex formatting context
This commit is contained in:
parent
9be9bf3379
commit
92cb32b905
30 changed files with 785 additions and 0 deletions
23
Tests/LibWeb/Layout/input/flex-auto.html
Normal file
23
Tests/LibWeb/Layout/input/flex-auto.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<style>
|
||||
body {
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
border: 1px solid salmon;
|
||||
flex-flow: row nowrap;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="box" style="flex: auto;">1</div>
|
||||
<div class="box" style="flex: auto;">2</div>
|
||||
<div class="box" style="flex: auto;">3</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue