mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibWeb: Take specified height into account for automatic table height
Track table grid height stretched to the specified height and use it to set the final box height in TFC. Fixes #19563.
This commit is contained in:
parent
04a5196a5d
commit
8e52d1125d
4 changed files with 31 additions and 9 deletions
10
Tests/LibWeb/Layout/input/table/stretch-to-fixed-height.html
Normal file
10
Tests/LibWeb/Layout/input/table/stretch-to-fixed-height.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<style>
|
||||
table {
|
||||
border: 1px solid black;
|
||||
height: 100px;
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
<table>
|
||||
<tr></tr>
|
||||
</table>
|
Loading…
Add table
Add a link
Reference in a new issue