1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:57:35 +00:00

LibWeb: Consider cell computed height in total row min height of table

Previously, the minimum height of a table row was calculated based
on the automatic height of the cells inner layout. This change makes
computed height of a cell boxes also be considered if it has definite
value.
This commit is contained in:
Aliaksandr Kalenik 2023-04-28 02:43:48 +03:00 committed by Andreas Kling
parent 9b4cd0dab7
commit 2a1e58f8cc
4 changed files with 43 additions and 10 deletions

View file

@ -0,0 +1,17 @@
<style>
body {
display: table;
}
.row {
display: table-row;
}
.cell {
display: table-cell;
border: 1px solid black;
width: 100px;
height: 100px;
}
</style>
<div class="row"><div class="cell"></div></div>