mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +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.
77 lines
4.4 KiB
Text
77 lines
4.4 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x132 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x116 children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 0x18] baseline: 15.796875
|
|
frag 1 from TextNode start: 0, length: 13, rect: [18,10 116.171875x18] baseline: 13.796875
|
|
"Normal button"
|
|
frag 2 from BlockContainer start: 0, length: 0, rect: [13,32 0x18] baseline: 15.796875
|
|
frag 3 from TextNode start: 0, length: 20, rect: [18,32 181.203125x18] baseline: 13.796875
|
|
"No appearance button"
|
|
frag 4 from CheckBox start: 0, length: 0, rect: [8,52 13x13] baseline: 13
|
|
frag 5 from TextNode start: 0, length: 15, rect: [21,52 136.296875x18] baseline: 13.796875
|
|
"Normal checkbox"
|
|
frag 6 from BlockContainer start: 0, length: 0, rect: [8,83 0x0] baseline: 0
|
|
frag 7 from TextNode start: 0, length: 22, rect: [8,70 201.328125x18] baseline: 13.796875
|
|
"No appearance checkbox"
|
|
frag 8 from RadioButton start: 0, length: 0, rect: [8,89 12x12] baseline: 12
|
|
frag 9 from TextNode start: 0, length: 12, rect: [20,88 104.203125x18] baseline: 13.796875
|
|
"Normal radio"
|
|
frag 10 from BlockContainer start: 0, length: 0, rect: [8,119 0x0] baseline: 0
|
|
frag 11 from TextNode start: 0, length: 19, rect: [8,106 169.234375x18] baseline: 13.796875
|
|
"No appearance radio"
|
|
BlockContainer <input> at (13,10) content-size 0x18 inline-block [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,10) content-size 0x18 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,10) content-size 0x18 flex-item [BFC] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [13,23 0x0] baseline: 0
|
|
BlockContainer <span> at (13,23) content-size 0x0 inline-block [BFC] children: inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
BlockContainer <input> at (13,32) content-size 0x18 inline-block [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,32) content-size 0x18 flex-container(column) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (13,32) content-size 0x18 flex-item [BFC] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [13,45 0x0] baseline: 0
|
|
BlockContainer <span> at (13,45) content-size 0x0 inline-block [BFC] children: inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
CheckBox <input> at (8,52) content-size 13x13 inline-block children: not-inline
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
BlockContainer <input> at (8,83) content-size 0x0 inline-block [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
RadioButton <input> at (8,89) content-size 12x12 inline-block children: not-inline
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
BlockContainer <input> at (8,119) content-size 0x0 inline-block [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x132]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x116]
|
|
PaintableWithLines (BlockContainer<INPUT>) [8,8 10x22]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,10 0x18]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,10 0x18]
|
|
PaintableWithLines (BlockContainer<SPAN>) [13,23 0x0]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<INPUT>) [8,30 10x22]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,32 0x18]
|
|
PaintableWithLines (BlockContainer(anonymous)) [13,32 0x18]
|
|
PaintableWithLines (BlockContainer<SPAN>) [13,45 0x0]
|
|
TextPaintable (TextNode<#text>)
|
|
CheckBoxPaintable (CheckBox<INPUT>) [8,52 13x13]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<INPUT>) [8,83 0x0]
|
|
TextPaintable (TextNode<#text>)
|
|
RadioButtonPaintable (RadioButton<INPUT>) [8,89 12x12]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<INPUT>) [8,119 0x0]
|
|
TextPaintable (TextNode<#text>)
|