mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:17:44 +00:00
LibWeb: Improve support for 'vertical-align: middle'
This rebaselines a few table-related layout tests since our default stylesheet applies 'vertical-align: middle' to a few table-related elements.
This commit is contained in:
parent
41e0a0f0aa
commit
b08fd1b9ae
7 changed files with 55 additions and 20 deletions
21
Tests/LibWeb/Layout/expected/vertical-align-middle.txt
Normal file
21
Tests/LibWeb/Layout/expected/vertical-align-middle.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x66 [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <body> at (8,8) content-size 784x50 children: inline
|
||||
TextNode <#text>
|
||||
InlineNode <a>
|
||||
frag 0 from TextNode start: 0, length: 6, rect: [8,24 41.296875x17] baseline: 13.296875
|
||||
"inline"
|
||||
frag 1 from BlockContainer start: 0, length: 0, rect: [49,8 50x50] baseline: 29.296875
|
||||
TextNode <#text>
|
||||
BlockContainer <div.test> at (49,8) content-size 50x50 inline-block [BFC] children: not-inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x66]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x50]
|
||||
InlinePaintable (InlineNode<A>)
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.test) [49,8 50x50]
|
Loading…
Add table
Add a link
Reference in a new issue