mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
LibWeb: Remove hardcoded span = 2 while sizing spanning items in GFC
This commit is contained in:
parent
a6e08e85d2
commit
0019b901a0
3 changed files with 39 additions and 3 deletions
16
Tests/LibWeb/Layout/input/grid/grid-span-4.html
Normal file
16
Tests/LibWeb/Layout/input/grid/grid-span-4.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!doctype html><style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
font-size: 20px;
|
||||
}
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-rows: repeat(10, min-content) 1fr;
|
||||
}
|
||||
.foo {
|
||||
grid-area: 4 / 1 / 8 / 2;
|
||||
}
|
||||
.bar {
|
||||
grid-area: 9 / 1 / 10 / 2;
|
||||
}
|
||||
</style><body><div class="foo">foo</div><div class="bar">bar</div>
|
Loading…
Add table
Add a link
Reference in a new issue