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.
49 lines
2.6 KiB
Text
49 lines
2.6 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x118 [BFC] children: not-inline
|
|
Box <body> at (10,10) content-size 780x100 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div> at (11,11) content-size 43.859375x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [11,11 43.859375x18] baseline: 13.796875
|
|
"Start"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div> at (373.46875,31) content-size 53.046875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [373.46875,31 53.046875x18] baseline: 13.796875
|
|
"Center"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div> at (759.671875,51) content-size 29.328125x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [759.671875,51 29.328125x18] baseline: 13.796875
|
|
"End"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div> at (11,71) content-size 32.875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [11,71 32.875x18] baseline: 13.796875
|
|
"Left"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div> at (747.03125,91) content-size 41.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [747.03125,91 41.96875x18] baseline: 13.796875
|
|
"Right"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x120]
|
|
PaintableBox (Box<BODY>) [9,9 782x102]
|
|
PaintableWithLines (BlockContainer<DIV>) [10,10 45.859375x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [372.46875,30 55.046875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [758.671875,50 31.328125x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [10,70 34.875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [746.03125,90 43.96875x20]
|
|
TextPaintable (TextNode<#text>)
|