mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
LibWeb: Implement distributing space to tracks beyond limits in GFC
Implements "Distribute space beyond limits" step from: https://www.w3.org/TR/css-grid-2/#distribute-extra-space
This commit is contained in:
parent
e3ade95d24
commit
20edbb70f8
4 changed files with 63 additions and 9 deletions
10
Tests/LibWeb/Layout/input/grid/grow-beyond-limits.html
Normal file
10
Tests/LibWeb/Layout/input/grid/grow-beyond-limits.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html><style>
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(min-content, 0px);
|
||||
}
|
||||
|
||||
.item {
|
||||
background-color: aquamarine;
|
||||
}
|
||||
</style><div class="container"><div class="item">one</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue