mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
LibWeb: Implement more of "Expand Flexible Tracks" in GFC
Implements "Otherwise, if the free space is an indefinite length:" from the spec.
This commit is contained in:
parent
2e13f65ff4
commit
a3759b6e76
5 changed files with 75 additions and 19 deletions
13
Tests/LibWeb/Layout/input/grid/rows-1fr-1fr.html
Normal file
13
Tests/LibWeb/Layout/input/grid/rows-1fr-1fr.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<style>
|
||||
.container {
|
||||
background-color: palevioletred;
|
||||
display: grid;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
}
|
||||
|
||||
.item {
|
||||
background-color: yellowgreen;
|
||||
}
|
||||
</style>
|
||||
<div class="container"><div class="item">Uno</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue