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.
49 lines
3.3 KiB
Plaintext
49 lines
3.3 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x64 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x48 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 27.90625x48 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 27.90625x48 table-box [TFC] children: not-inline
|
|
Box <tbody> at (10,10) content-size 23.90625x44 table-row-group children: not-inline
|
|
Box <tr> at (10,10) content-size 23.90625x20 table-row children: not-inline
|
|
BlockContainer <td> at (11,11) content-size 9.09375x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,11) content-size 9.09375x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [11,11 6.34375x18] baseline: 13.796875
|
|
"1"
|
|
TextNode <#text>
|
|
BlockContainer <td> at (24.09375,23) content-size 8.8125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (24.09375,23) content-size 8.8125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [24.09375,23 8.8125x18] baseline: 13.796875
|
|
"2"
|
|
TextNode <#text>
|
|
Box <tr> at (10,32) content-size 23.90625x20 table-row children: not-inline
|
|
BlockContainer <td> at (11,33) content-size 9.09375x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,33) content-size 9.09375x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [11,33 9.09375x18] baseline: 13.796875
|
|
"3"
|
|
TextNode <#text>
|
|
Box <tr> at (10,54) content-size 23.90625x0 table-row children: not-inline
|
|
BlockContainer <(anonymous)> at (10,54) content-size 11.09375x0 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,56) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x64]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x48]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 27.90625x48]
|
|
PaintableBox (Box<TABLE>) [8,8 27.90625x48]
|
|
PaintableBox (Box<TBODY>) [10,10 23.90625x44]
|
|
PaintableBox (Box<TR>) [10,10 23.90625x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,10 11.09375x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,11 9.09375x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [23.09375,10 10.8125x44]
|
|
PaintableWithLines (BlockContainer(anonymous)) [24.09375,23 8.8125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,32 23.90625x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,32 11.09375x20]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,33 9.09375x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,54 23.90625x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,54 11.09375x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,56 784x0]
|