mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 22:59:13 +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.
96 lines
6 KiB
Text
96 lines
6 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x616 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x600 children: not-inline
|
|
Box <div.outer.row> at (8,8) content-size 150x150 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <div.inner> at (12.609375,8) content-size 30.078125x150 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [12.609375,8 30.078125x18] baseline: 13.796875
|
|
"Well"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (51.921875,8) content-size 36.84375x150 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [51.921875,8 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (98,8) content-size 55.359375x150 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [98,8 55.359375x18] baseline: 13.796875
|
|
"friends"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,158) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.outer.row-reverse> at (8,158) content-size 150x150 flex-container(row-reverse) [FFC] children: not-inline
|
|
BlockContainer <div.inner> at (123.3125,158) content-size 30.078125x150 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [123.3125,158 30.078125x18] baseline: 13.796875
|
|
"Well"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (77.234375,158) content-size 36.84375x150 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [77.234375,158 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (12.640625,158) content-size 55.359375x150 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [12.640625,158 55.359375x18] baseline: 13.796875
|
|
"friends"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,308) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.outer.column> at (8,308) content-size 150x150 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <div.inner> at (8,324) content-size 150x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [8,324 30.078125x18] baseline: 13.796875
|
|
"Well"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (8,374) content-size 150x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,374 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (8,424) content-size 150x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [8,424 55.359375x18] baseline: 13.796875
|
|
"friends"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,458) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.outer.column-reverse> at (8,458) content-size 150x150 flex-container(column-reverse) [FFC] children: not-inline
|
|
BlockContainer <div.inner> at (8,574) content-size 150x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [8,574 30.078125x18] baseline: 13.796875
|
|
"Well"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (8,524) content-size 150x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,524 36.84375x18] baseline: 13.796875
|
|
"hello"
|
|
TextNode <#text>
|
|
BlockContainer <div.inner> at (8,474) content-size 150x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [8,474 55.359375x18] baseline: 13.796875
|
|
"friends"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x616]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x616]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x600]
|
|
PaintableBox (Box<DIV>.outer.row) [8,8 150x150]
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [12.609375,8 30.078125x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [51.921875,8 36.84375x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [98,8 55.359375x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,158 784x0]
|
|
PaintableBox (Box<DIV>.outer.row-reverse) [8,158 150x150]
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [123.3125,158 30.078125x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [77.234375,158 36.84375x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [12.640625,158 55.359375x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,308 784x0]
|
|
PaintableBox (Box<DIV>.outer.column) [8,308 150x150]
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,324 150x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,374 150x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,424 150x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,458 784x0]
|
|
PaintableBox (Box<DIV>.outer.column-reverse) [8,458 150x150]
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,574 150x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,524 150x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.inner) [8,474 150x18]
|
|
TextPaintable (TextNode<#text>)
|