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.
66 lines
3.9 KiB
Plaintext
66 lines
3.9 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x128 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x110 children: not-inline
|
|
BlockContainer <(anonymous)> at (10,10) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.grid.start> at (11,11) content-size 778x20 [GFC] children: not-inline
|
|
BlockContainer <div> at (12,12) content-size 43.859375x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [12,12 43.859375x18] baseline: 13.796875
|
|
"Start"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,32) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.grid.center> at (11,33) content-size 778x20 [GFC] children: not-inline
|
|
BlockContainer <div> at (373.46875,34) content-size 53.046875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [373.46875,34 53.046875x18] baseline: 13.796875
|
|
"Center"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,54) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.grid.end> at (11,55) content-size 778x20 [GFC] children: not-inline
|
|
BlockContainer <div> at (758.671875,56) content-size 29.328125x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [758.671875,56 29.328125x18] baseline: 13.796875
|
|
"End"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,76) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.grid.left> at (11,77) content-size 778x20 [GFC] children: not-inline
|
|
BlockContainer <div> at (12,78) content-size 32.875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [12,78 32.875x18] baseline: 13.796875
|
|
"Left"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,98) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.grid.right> at (11,99) content-size 778x20 [GFC] children: not-inline
|
|
BlockContainer <div> at (746.03125,100) content-size 41.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [746.03125,100 41.96875x18] baseline: 13.796875
|
|
"Right"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,120) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x130]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 782x112]
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,10 780x0]
|
|
PaintableBox (Box<DIV>.grid.start) [10,10 780x22]
|
|
PaintableWithLines (BlockContainer<DIV>) [11,11 45.859375x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,32 780x0]
|
|
PaintableBox (Box<DIV>.grid.center) [10,32 780x22]
|
|
PaintableWithLines (BlockContainer<DIV>) [372.46875,33 55.046875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,54 780x0]
|
|
PaintableBox (Box<DIV>.grid.end) [10,54 780x22]
|
|
PaintableWithLines (BlockContainer<DIV>) [757.671875,55 31.328125x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,76 780x0]
|
|
PaintableBox (Box<DIV>.grid.left) [10,76 780x22]
|
|
PaintableWithLines (BlockContainer<DIV>) [11,77 34.875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,98 780x0]
|
|
PaintableBox (Box<DIV>.grid.right) [10,98 780x22]
|
|
PaintableWithLines (BlockContainer<DIV>) [745.03125,99 43.96875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,120 780x0]
|