mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
LibWeb: Modify table formatting according to spec
Makes Sub, Super, TextBottom, TextTop vertical aligns equal to Baseline
This commit is contained in:
parent
1388b6866e
commit
38bb8ce0de
Notes:
github-actions[bot]
2024-11-04 14:55:29 +00:00
Author: https://github.com/shlyakpavel
Commit: 38bb8ce0de
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1891
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/gmta
3 changed files with 72 additions and 16 deletions
|
@ -0,0 +1,38 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <body> at (8,8) content-size 784x100 children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 204x100 [BFC] children: not-inline
|
||||
Box <table> at (8,8) content-size 204x100 table-box [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tbody> at (8,8) content-size 204x100 table-row-group children: not-inline
|
||||
Box <tr> at (8,8) content-size 204x100 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (10,10) content-size 200x17 table-cell [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 15, rect: [10,10 129.296875x17] baseline: 13.296875
|
||||
"Text at the top"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (8,108) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 204x100]
|
||||
PaintableBox (Box<TABLE>) [8,8 204x100]
|
||||
PaintableBox (Box<TBODY>) [8,8 204x100]
|
||||
PaintableBox (Box<TR>) [8,8 204x100]
|
||||
PaintableWithLines (BlockContainer<TD>) [8,8 204x100]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,108 784x0]
|
Loading…
Add table
Add a link
Reference in a new issue