mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:37:34 +00:00
LibWeb: Use auto minimimum size while resolving flexible tracks in GFC
This commit is contained in:
parent
5f2264a2bd
commit
c61bb1706f
3 changed files with 24 additions and 1 deletions
17
Tests/LibWeb/Layout/input/grid/column-1fr-1fr.html
Normal file
17
Tests/LibWeb/Layout/input/grid/column-1fr-1fr.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<style>
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
.test {
|
||||
grid-column: 1 / span 2;
|
||||
grid-row: 1;
|
||||
background: red;
|
||||
}
|
||||
.big-child {
|
||||
width: 500px;
|
||||
height: 100px;
|
||||
}
|
||||
</style><div class="grid"><div class="test"><div class="big-child"></div></div></div>
|
Loading…
Add table
Add a link
Reference in a new issue