mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +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
6
Tests/LibWeb/Layout/expected/table/cell-px-height.txt
Normal file
6
Tests/LibWeb/Layout/expected/table/cell-px-height.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x116 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 102x100 children: not-inline
|
||||
TableBox <body> at (8,8) content-size 102x100 children: not-inline
|
||||
TableRowBox <div.row> at (8,8) content-size 102x100 children: not-inline
|
||||
TableCellBox <div.cell> at (9,9) content-size 100x0 children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue