mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +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.
84 lines
5.2 KiB
Text
84 lines
5.2 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x592 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x576 children: not-inline
|
|
BlockContainer <div.wrapper> at (8,8) content-size 36.84375x576 children: not-inline
|
|
Box <div.constrained> at (8,8) content-size 36.84375x576 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 36.84375x576 [BFC] children: inline
|
|
frag 0 from TextNode start: 1, length: 5, rect: [8,8 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 1 from TextNode start: 7, length: 5, rect: [8,26 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 2 from TextNode start: 13, length: 5, rect: [8,44 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 3 from TextNode start: 19, length: 5, rect: [8,62 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 4 from TextNode start: 25, length: 5, rect: [8,80 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 5 from TextNode start: 31, length: 5, rect: [8,98 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 6 from TextNode start: 37, length: 5, rect: [8,116 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 7 from TextNode start: 43, length: 5, rect: [8,134 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 8 from TextNode start: 49, length: 5, rect: [8,152 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 9 from TextNode start: 55, length: 5, rect: [8,170 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 10 from TextNode start: 61, length: 5, rect: [8,188 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 11 from TextNode start: 67, length: 5, rect: [8,206 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 12 from TextNode start: 73, length: 5, rect: [8,224 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 13 from TextNode start: 79, length: 5, rect: [8,242 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 14 from TextNode start: 85, length: 5, rect: [8,260 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 15 from TextNode start: 91, length: 5, rect: [8,278 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 16 from TextNode start: 97, length: 5, rect: [8,296 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 17 from TextNode start: 103, length: 5, rect: [8,314 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 18 from TextNode start: 109, length: 5, rect: [8,332 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 19 from TextNode start: 115, length: 5, rect: [8,350 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 20 from TextNode start: 121, length: 5, rect: [8,368 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 21 from TextNode start: 127, length: 5, rect: [8,386 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 22 from TextNode start: 133, length: 5, rect: [8,404 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 23 from TextNode start: 139, length: 5, rect: [8,422 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 24 from TextNode start: 145, length: 5, rect: [8,440 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 25 from TextNode start: 151, length: 5, rect: [8,458 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 26 from TextNode start: 157, length: 5, rect: [8,476 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 27 from TextNode start: 163, length: 5, rect: [8,494 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 28 from TextNode start: 169, length: 5, rect: [8,512 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 29 from TextNode start: 175, length: 5, rect: [8,530 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 30 from TextNode start: 181, length: 5, rect: [8,548 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
frag 31 from TextNode start: 187, length: 5, rect: [8,566 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (8,584) content-size 36.84375x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,584) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x592]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x576]
|
|
PaintableWithLines (BlockContainer<DIV>.wrapper) [8,8 36.84375x576]
|
|
PaintableBox (Box<DIV>.constrained) [8,8 36.84375x576]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 36.84375x576]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [8,584 36.84375x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,584 784x0]
|