mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 18:47:15 +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.
96 lines
6.3 KiB
Plaintext
96 lines
6.3 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x136 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x120 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 93.359375x120 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 93.359375x120 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (8,8) content-size 93.359375x120 table-row-group children: not-inline
|
|
Box <tr> at (8,8) content-size 93.359375x40 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (19,19) content-size 8.453125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (19,19) content-size 8.453125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [19,19 6.34375x18] baseline: 13.796875
|
|
"1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (49.453125,19) content-size 8.8125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (49.453125,19) content-size 8.8125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [49.453125,19 8.8125x18] baseline: 13.796875
|
|
"2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (80.265625,19) content-size 9.09375x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (80.265625,19) content-size 9.09375x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [80.265625,19 9.09375x18] baseline: 13.796875
|
|
"3"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (101.359375,28) content-size 0x0 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (8,48) content-size 93.359375x40 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (19,59) content-size 8.453125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (19,59) content-size 8.453125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [19,59 7.75x18] baseline: 13.796875
|
|
"4"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (49.453125,79) content-size 40.90625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (49.453125,79) content-size 40.90625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [49.453125,79 24.046875x18] baseline: 13.796875
|
|
"6-9"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (8,88) content-size 93.359375x40 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (19,99) content-size 8.453125x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (19,99) content-size 8.453125x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [19,99 8.453125x18] baseline: 13.796875
|
|
"5"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x136]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x120]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 93.359375x120]
|
|
PaintableBox (Box<TABLE>) [8,8 93.359375x120]
|
|
PaintableBox (Box<TBODY>) [8,8 93.359375x120]
|
|
PaintableBox (Box<TR>) [8,8 93.359375x40]
|
|
PaintableWithLines (BlockContainer<TD>) [8,8 30.453125x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [19,19 8.453125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [38.453125,8 30.8125x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [49.453125,19 8.8125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [69.265625,8 31.09375x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [80.265625,19 9.09375x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [100.359375,8 1x40]
|
|
PaintableBox (Box<TR>) [8,48 93.359375x40]
|
|
PaintableWithLines (BlockContainer<TD>) [8,48 30.453125x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [19,59 8.453125x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [38.453125,48 62.90625x80]
|
|
PaintableWithLines (BlockContainer(anonymous)) [49.453125,79 40.90625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [8,88 93.359375x40]
|
|
PaintableWithLines (BlockContainer<TD>) [8,88 30.453125x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [19,99 8.453125x18]
|
|
TextPaintable (TextNode<#text>)
|