mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27: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:
parent
9b4cd0dab7
commit
2a1e58f8cc
4 changed files with 43 additions and 10 deletions
17
Tests/LibWeb/Layout/input/table/cell-px-height.html
Normal file
17
Tests/LibWeb/Layout/input/table/cell-px-height.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue