mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +00:00
LibWeb: Table wrappers should not be ignored in auto height calculation
Though table wrappers are anonymous block containers (because TableWrapper is inherited from BlockContainer) with no lines they should not be skipped in block auto height calculation.
This commit is contained in:
parent
9e5fd95e44
commit
f43f4feb1e
3 changed files with 35 additions and 1 deletions
11
Tests/LibWeb/Layout/input/table-auto-height.html
Normal file
11
Tests/LibWeb/Layout/input/table-auto-height.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html><html><head><style>
|
||||
body {
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
span {
|
||||
display: table-cell;
|
||||
}
|
||||
</style></head><body><div><span>foo</span></div><div><span>bar</span></div>
|
Loading…
Add table
Add a link
Reference in a new issue