mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Browsers such as Chrome and Firefox apply an arbitrary scale to the current font size if `normal` is used for `line-height`. Firefox uses 1.2 while Chrome uses 1.15. Let's go with the latter for now, it's relatively easy to change if we ever want to go back on that decision. This also requires updating the expectations for a lot of layout tests. The upside of this is that it's a bit easier to compare our layout results to other browsers', especially Chrome.
70 lines
4.1 KiB
Text
70 lines
4.1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
|
|
Box <div.mw-page-container-inner> at (8,8) content-size 784x0 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.vector-main-menu-container> at (8,8) content-size 196x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.vector-sitenotice-container> at (8,8) content-size 784x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.mw-content-container> at (204,8) content-size 588x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.mw-footer-container> at (8,8) content-size 784x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
Box <section#page> at (8,8) content-size 784x200 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <header> at (8,8) content-size 784x30 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [8,8 55.703125x18] baseline: 13.796875
|
|
"Header"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <nav> at (8,38) content-size 120x170 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 10, rect: [8,38 80.6875x18] baseline: 13.796875
|
|
"Navigation"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <main> at (128,38) content-size 664x140 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [128,38 79.515625x18] baseline: 13.796875
|
|
"Main area"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <footer> at (128,178) content-size 664x30 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [128,178 57.671875x18] baseline: 13.796875
|
|
"Footer"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
|
|
PaintableBox (Box<DIV>.mw-page-container-inner) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer<DIV>.vector-main-menu-container) [8,8 196x0]
|
|
PaintableWithLines (BlockContainer<DIV>.vector-sitenotice-container) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer<DIV>.mw-content-container) [204,8 588x0]
|
|
PaintableWithLines (BlockContainer<DIV>.mw-footer-container) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableBox (Box<SECTION>#page) [8,8 784x200]
|
|
PaintableWithLines (BlockContainer<HEADER>) [8,8 784x30]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<NAV>) [8,38 120x170]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<MAIN>) [128,38 664x140]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<FOOTER>) [128,178 664x30]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,208 784x0]
|