mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
LibWeb: Consider row computed height in total row min height of table
Fixes the issue that currently we do not consider table rows height while calculating min row height even if it is definite value.
This commit is contained in:
parent
d06057f88b
commit
9b4cd0dab7
3 changed files with 33 additions and 0 deletions
17
Tests/LibWeb/Layout/input/table/row-px-height.html
Normal file
17
Tests/LibWeb/Layout/input/table/row-px-height.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<style>
|
||||
body {
|
||||
display: table;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: table-row;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.cell {
|
||||
display: table-cell;
|
||||
border: 1px solid black;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
<div class="row"><div class="cell"></div></div>
|
Loading…
Add table
Add a link
Reference in a new issue