mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
LibWeb: Propagate font-size & line-height into generated table boxes
The final used values for these properties is stored in the layout node, so we need to make sure they are propagated there as well when doing table box fixup.
This commit is contained in:
parent
8eb10b135d
commit
589a1e9325
3 changed files with 34 additions and 1 deletions
|
@ -0,0 +1,20 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x100 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 69.078125x100 [BFC] children: not-inline
|
||||
Box <div> at (8,8) content-size 69.078125x100 table-box [TFC] children: inline
|
||||
Box <(anonymous)> at (8,8) content-size 69.078125x100 table-row children: inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 69.078125x100 table-cell [BFC] children: inline
|
||||
line 0 width: 69.078125, height: 100, bottom: 100, baseline: 59
|
||||
frag 0 from TextNode start: 0, length: 5, rect: [8,8 69.078125x100]
|
||||
"hello"
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 69.078125x100]
|
||||
PaintableBox (Box<DIV>) [8,8 69.078125x100]
|
||||
PaintableBox (Box(anonymous)) [8,8 69.078125x100]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,8 69.078125x100]
|
||||
TextPaintable (TextNode<#text>)
|
Loading…
Add table
Add a link
Reference in a new issue