1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00
serenity/Tests/LibWeb/Layout/input/grid/row-1fr.html
Aliaksandr Kalenik 338fa8261e LibWeb: Use item minimum contribution while sizing "fr" track in GFC
Fixes the issue that before "automatic minimum size" were used to size
flexible tracks even though specification says is should be "minimum
contribution"
2023-08-01 16:25:10 +02:00

15 lines
No EOL
293 B
HTML

<!doctype html><style>
* {
border: 1px solid black;
}
body {
display: grid;
grid-template-rows: 1fr;
width: 200px;
}
.item {
width: 100px;
height: 50px;
background: orange;
}
</style><body><div class="item"></div>