mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02: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.
32 lines
2.0 KiB
Plaintext
32 lines
2.0 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x135 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x119 children: not-inline
|
|
BlockContainer <main> at (8,8) content-size 784x119 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 346.5x119 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 346.5x119 table-box [TFC] children: not-inline
|
|
Box <tbody> at (10,10) content-size 342.5x115 table-row-group children: not-inline
|
|
Box <tr> at (10,10) content-size 342.5x115 table-row children: not-inline
|
|
BlockContainer <td> at (10,10) content-size 342.5x115 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (10,10) content-size 342.5x115 children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [10,10 169.734375x115] baseline: 87.484375
|
|
"foo"
|
|
TextNode <#text>
|
|
InlineNode <span>
|
|
frag 0 from TextNode start: 0, length: 3, rect: [179.734375,10 172.765625x115] baseline: 87.484375
|
|
"bar"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x135]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x119]
|
|
PaintableWithLines (BlockContainer<MAIN>) [8,8 784x119]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 346.5x119]
|
|
PaintableBox (Box<TABLE>) [8,8 346.5x119]
|
|
PaintableBox (Box<TBODY>) [10,10 342.5x115]
|
|
PaintableBox (Box<TR>) [10,10 342.5x115]
|
|
PaintableWithLines (BlockContainer<TD>) [10,10 342.5x115]
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,10 342.5x115]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (InlineNode<SPAN>)
|
|
TextPaintable (TextNode<#text>)
|