mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:27:46 +00:00
LibWeb: Set table wrapper width from the table box
Fixes #20385 and some Wikipedia pages, for example: https://en.wikipedia.org/wiki/2022%E2%80%9323_UEFA_Champions_League_knockout_phase
This commit is contained in:
parent
f6dd512b65
commit
65854c3411
4 changed files with 77 additions and 2 deletions
|
@ -5,7 +5,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <body> at (8,8) content-size 784x600 children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 784x600 [BFC] children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 1200x600 [BFC] children: not-inline
|
||||
Box <div.aligncenter.block-image> at (8,8) content-size 1200x600 table-box [TFC] children: inline
|
||||
Box <(anonymous)> at (8,8) content-size 1200x600 table-row children: inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 1200x600 table-cell [BFC] children: inline
|
||||
|
@ -25,7 +25,7 @@ PaintableWithLines (Viewport<#document>) [0,0 800x600] overflow: [0,0 1208x616]
|
|||
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x600] overflow: [8,8 1200x600]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 784x600] overflow: [8,8 1200x600]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 1200x600]
|
||||
PaintableBox (Box<DIV>.aligncenter.block-image) [8,8 1200x600]
|
||||
PaintableBox (Box(anonymous)) [8,8 1200x600]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,8 1200x600]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue