1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 10:57:36 +00:00
serenity/Tests/LibWeb/Layout/input/grid/row-height.html
martinfalisse 6f52272d34 LibWeb: Fix regression in definite grid row heights
Fixes a row height bug when a grid item in a row has a definite height.
2023-04-02 19:08:04 +02:00

22 lines
No EOL
504 B
HTML

<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;
}
.grid-item {
background-color: lightblue;
}
</style>
<!-- Should render a 2x2 grid with the first row having a height of 50px -->
<div class="grid-container" style="grid-template-columns: auto auto;">
<div class="grid-item" style="height: 50px;">1</div>
<div class="grid-item">2</div>
<div class="grid-item">3</div>
<div class="grid-item">4</div>
</div>