mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55: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.
68 lines
4.4 KiB
Plaintext
68 lines
4.4 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x80 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x64 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 27.90625x46 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 27.90625x46 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (10,10) content-size 23.90625x42 table-row-group children: not-inline
|
|
Box <tr> at (10,10) content-size 23.90625x20 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,11) content-size 6.8125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,11) content-size 6.8125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [11,11 6.34375x18] baseline: 13.796875
|
|
"1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (20.8125,20) content-size 0x0 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (22.8125,20) content-size 11.09375x0 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,32) content-size 23.90625x20 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,33) content-size 8.8125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,33) content-size 8.8125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [11,33 8.8125x18] baseline: 13.796875
|
|
"2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (23.8125,33) content-size 9.09375x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (23.8125,33) content-size 9.09375x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [23.8125,33 9.09375x18] baseline: 13.796875
|
|
"3"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,54) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 1, length: 19, rect: [8,54 162.109375x18] baseline: 13.796875
|
|
"PASS (didn't crash)"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x80]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x64]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 27.90625x46]
|
|
PaintableBox (Box<TABLE>) [8,8 27.90625x46]
|
|
PaintableBox (Box<TBODY>) [10,10 23.90625x42]
|
|
PaintableBox (Box<TR>) [10,10 23.90625x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,10 8.8125x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,11 6.8125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [20.8125,10 0x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [22.8125,10 11.09375x20]
|
|
PaintableBox (Box<TR>) [10,32 23.90625x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,32 10.8125x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,33 8.8125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [22.8125,32 11.09375x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [23.8125,33 9.09375x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,54 784x18]
|
|
TextPaintable (TextNode<#text>)
|