mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +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.
24 lines
1.6 KiB
Plaintext
24 lines
1.6 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x40 [BFC] children: not-inline
|
|
Box <body> at (10,10) content-size 780x22 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <div.upper> at (11,11) content-size 41.78125x20 flex-item [BFC] children: not-inline
|
|
TableWrapper <(anonymous)> at (11,11) content-size 41.78125x20 [BFC] children: not-inline
|
|
Box <(anonymous)> at (11,11) content-size 41.78125x20 table-box [TFC] children: not-inline
|
|
Box <(anonymous)> at (11,11) content-size 41.78125x20 table-row children: not-inline
|
|
BlockContainer <div.cell> at (12,12) content-size 39.78125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (12,12) content-size 39.78125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [12,12 39.78125x18] baseline: 13.796875
|
|
"Hello"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x42]
|
|
PaintableBox (Box<BODY>) [9,9 782x24]
|
|
PaintableWithLines (BlockContainer<DIV>.upper) [10,10 43.78125x22]
|
|
PaintableWithLines (TableWrapper(anonymous)) [11,11 41.78125x20]
|
|
PaintableBox (Box(anonymous)) [11,11 41.78125x20]
|
|
PaintableBox (Box(anonymous)) [11,11 41.78125x20]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [11,11 41.78125x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [12,12 39.78125x18]
|
|
TextPaintable (TextNode<#text>)
|