mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 04:39:10 +00:00
LibWeb: Implement vertical-align: middle
correctly for atomic inlines
This makes inline icons pop into the right place on https://ahrefs.com/
This commit is contained in:
parent
c42679597a
commit
c22acc2551
Notes:
github-actions[bot]
2024-08-26 13:50:02 +00:00
Author: https://github.com/awesomekling
Commit: c22acc2551
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1191
Reviewed-by: https://github.com/tcl3
3 changed files with 38 additions and 6 deletions
|
@ -0,0 +1,16 @@
|
|||
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: inline
|
||||
InlineNode <span>
|
||||
frag 0 from TextNode start: 0, length: 4, rect: [8,49 35.15625x17] baseline: 13.296875
|
||||
"foo "
|
||||
frag 1 from BlockContainer start: 0, length: 0, rect: [43,8 100x100] baseline: 54.296875
|
||||
TextNode <#text>
|
||||
BlockContainer <span.thing> at (43,8) content-size 100x100 inline-block [BFC] children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
|
||||
InlinePaintable (InlineNode<SPAN>)
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<SPAN>.thing) [43,8 100x100]
|
Loading…
Add table
Add a link
Reference in a new issue