mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +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.
31 lines
2 KiB
Text
31 lines
2 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x316 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
|
|
Box <div.table> at (8,8) content-size 200x300 table-box [TFC] children: not-inline
|
|
Box <div.row.a> at (8,8) content-size 200x100 table-row children: not-inline
|
|
BlockContainer <div.cell> at (8,8) content-size 200x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 200x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.34375x18] baseline: 13.796875
|
|
"a"
|
|
TextNode <#text>
|
|
Box <div.row.b> at (8,108) content-size 200x200 table-row children: not-inline
|
|
BlockContainer <div.cell> at (8,108) content-size 200x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,108) content-size 200x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.46875x18] baseline: 13.796875
|
|
"b"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x316]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x300]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 200x300]
|
|
PaintableBox (Box<DIV>.table) [8,8 200x300]
|
|
PaintableBox (Box<DIV>.row.a) [8,8 200x100]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [8,8 200x100]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 200x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<DIV>.row.b) [8,108 200x200]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [8,108 200x200]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,108 200x18]
|
|
TextPaintable (TextNode<#text>)
|