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.
114 lines
7.8 KiB
Text
114 lines
7.8 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x142 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x126 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (8,8) content-size 115.828125x126 [BFC] children: not-inline
|
|
Box <table> at (13,13) content-size 105.828125x116 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (15,15) content-size 101.828125x112 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (15,15) content-size 101.828125x55 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (25,33.5) content-size 11.5625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (25,33.5) content-size 11.5625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [25,33.5 11.5625x18] baseline: 13.796875
|
|
"X"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (58.5625,25) content-size 48.265625x92 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (58.5625,25) content-size 48.265625x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (58.5625,25) content-size 48.265625x92 [BFC] children: not-inline
|
|
Box <table> at (63.5625,30) content-size 38.265625x82 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (65.5625,32) content-size 34.265625x78 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (65.5625,32) content-size 34.265625x38 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (75.5625,42) content-size 14.265625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (75.5625,42) content-size 14.265625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,42 14.265625x18] baseline: 13.796875
|
|
"A"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (65.5625,72) content-size 34.265625x38 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (75.5625,82) content-size 14.265625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (75.5625,82) content-size 14.265625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,82 9.34375x18] baseline: 13.796875
|
|
"B"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (58.5625,117) content-size 48.265625x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (15,72) content-size 101.828125x55 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (25,90.5) content-size 11.5625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (25,90.5) content-size 11.5625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [25,90.5 11.09375x18] baseline: 13.796875
|
|
"Y"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,134) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x142]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x126]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 115.828125x126]
|
|
PaintableBox (Box<TABLE>) [8,8 115.828125x126]
|
|
PaintableBox (Box<TBODY>) [15,15 101.828125x112]
|
|
PaintableBox (Box<TR>) [15,15 101.828125x55]
|
|
PaintableWithLines (BlockContainer<TD>) [15,15 31.5625x55]
|
|
PaintableWithLines (BlockContainer(anonymous)) [25,33.5 11.5625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [48.5625,15 68.265625x112]
|
|
PaintableWithLines (BlockContainer(anonymous)) [58.5625,25 48.265625x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [58.5625,25 48.265625x92]
|
|
PaintableBox (Box<TABLE>) [58.5625,25 48.265625x92]
|
|
PaintableBox (Box<TBODY>) [65.5625,32 34.265625x78]
|
|
PaintableBox (Box<TR>) [65.5625,32 34.265625x38]
|
|
PaintableWithLines (BlockContainer<TD>) [65.5625,32 34.265625x38]
|
|
PaintableWithLines (BlockContainer(anonymous)) [75.5625,42 14.265625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [65.5625,72 34.265625x38]
|
|
PaintableWithLines (BlockContainer<TD>) [65.5625,72 34.265625x38]
|
|
PaintableWithLines (BlockContainer(anonymous)) [75.5625,82 14.265625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [58.5625,117 48.265625x0]
|
|
PaintableBox (Box<TR>) [15,72 101.828125x55]
|
|
PaintableWithLines (BlockContainer<TD>) [15,72 31.5625x55]
|
|
PaintableWithLines (BlockContainer(anonymous)) [25,90.5 11.5625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,134 784x0]
|