mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
LibWeb: Improve style propagation to anonymous wrappers
- We now propagate changes in font and line-height to anonymous wrappers when doing a partial style update after invalidation. - We no longer (incorrectly) propagate style from table wrapper boxes to the table root, since inheritance works in the other direction. Fixes #22395
This commit is contained in:
parent
242d1d8eba
commit
4a35693dd7
6 changed files with 94 additions and 8 deletions
|
@ -0,0 +1,20 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x120 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x104 children: not-inline
|
||||
BlockContainer <center> at (8,8) content-size 784x104 children: not-inline
|
||||
TableWrapper <(anonymous)> at (204,8) content-size 392x104 [BFC] children: not-inline
|
||||
Box <table> at (204,8) content-size 392x104 table-box [TFC] children: not-inline
|
||||
Box <tbody> at (204,8) content-size 388x100 table-row-group children: not-inline
|
||||
Box <tr> at (206,10) content-size 388x100 table-row children: not-inline
|
||||
BlockContainer <td> at (207,60) content-size 386x0 table-cell [BFC] children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x120]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x104]
|
||||
PaintableWithLines (BlockContainer<CENTER>) [8,8 784x104]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [204,8 392x104]
|
||||
PaintableBox (Box<TABLE>) [204,8 392x104]
|
||||
PaintableBox (Box<TBODY>) [204,8 388x100] overflow: [204,8 390x102]
|
||||
PaintableBox (Box<TR>) [206,10 388x100]
|
||||
PaintableWithLines (BlockContainer<TD>) [206,10 388x100]
|
Loading…
Add table
Add a link
Reference in a new issue