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.
130 lines
9 KiB
Text
130 lines
9 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x134 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x118 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (8,8) content-size 75.828125x118 [BFC] children: not-inline
|
|
Box <table> at (9,9) content-size 73.828125x116 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (11,11) content-size 69.828125x112 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (11,11) content-size 69.828125x55 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (17,29.5) content-size 11.5625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (17,29.5) content-size 11.5625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [17,29.5 11.5625x18] baseline: 13.796875
|
|
"X"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (42.5625,17) content-size 32.265625x100 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (42.5625,17) content-size 32.265625x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (42.5625,17) content-size 32.265625x100 [BFC] children: not-inline
|
|
Box <table> at (43.5625,18) content-size 30.265625x98 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (45.5625,20) content-size 26.265625x94 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (45.5625,20) content-size 26.265625x30 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (51.5625,26) content-size 14.265625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (51.5625,26) content-size 14.265625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,26 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 (45.5625,52) content-size 26.265625x30 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (51.5625,58) content-size 14.265625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (51.5625,58) content-size 14.265625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,58 9.34375x18] baseline: 13.796875
|
|
"B"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (45.5625,84) content-size 26.265625x30 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (51.5625,90) content-size 14.265625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (51.5625,90) content-size 14.265625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,90 10.3125x18] baseline: 13.796875
|
|
"C"
|
|
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 (42.5625,117) content-size 32.265625x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (11,68) content-size 69.828125x55 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (17,86.5) content-size 11.5625x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (17,86.5) content-size 11.5625x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [17,86.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,126) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x134]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x118]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 75.828125x118]
|
|
PaintableBox (Box<TABLE>) [8,8 75.828125x118]
|
|
PaintableBox (Box<TBODY>) [11,11 69.828125x112]
|
|
PaintableBox (Box<TR>) [11,11 69.828125x55]
|
|
PaintableWithLines (BlockContainer<TD>) [11,11 23.5625x55]
|
|
PaintableWithLines (BlockContainer(anonymous)) [17,29.5 11.5625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [36.5625,11 44.265625x112]
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 32.265625x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [42.5625,17 32.265625x100]
|
|
PaintableBox (Box<TABLE>) [42.5625,17 32.265625x100]
|
|
PaintableBox (Box<TBODY>) [45.5625,20 26.265625x94]
|
|
PaintableBox (Box<TR>) [45.5625,20 26.265625x30]
|
|
PaintableWithLines (BlockContainer<TD>) [45.5625,20 26.265625x30]
|
|
PaintableWithLines (BlockContainer(anonymous)) [51.5625,26 14.265625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [45.5625,52 26.265625x30]
|
|
PaintableWithLines (BlockContainer<TD>) [45.5625,52 26.265625x30]
|
|
PaintableWithLines (BlockContainer(anonymous)) [51.5625,58 14.265625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [45.5625,84 26.265625x30]
|
|
PaintableWithLines (BlockContainer<TD>) [45.5625,84 26.265625x30]
|
|
PaintableWithLines (BlockContainer(anonymous)) [51.5625,90 14.265625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,117 32.265625x0]
|
|
PaintableBox (Box<TR>) [11,68 69.828125x55]
|
|
PaintableWithLines (BlockContainer<TD>) [11,68 23.5625x55]
|
|
PaintableWithLines (BlockContainer(anonymous)) [17,86.5 11.5625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,126 784x0]
|