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.
59 lines
4.0 KiB
Plaintext
59 lines
4.0 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x118 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x102 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 615.65625x102 [BFC] children: not-inline
|
|
Box <table> at (9,9) content-size 613.65625x100 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (9,9) content-size 613.65625x100 table-row-group children: not-inline
|
|
Box <tr> at (9,9) content-size 613.65625x50 table-row children: not-inline
|
|
BlockContainer <td> at (11,11) content-size 349.90625x46 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,11) content-size 349.90625x46 children: inline
|
|
frag 0 from TextNode start: 0, length: 13, rect: [11,11 273.984375x46] baseline: 35
|
|
"Text baseline"
|
|
TextNode <#text>
|
|
BlockContainer <td.small-text> at (364.90625,37) content-size 255.75x12 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (364.90625,37) content-size 255.75x12 children: inline
|
|
frag 0 from TextNode start: 0, length: 12, rect: [364.90625,37 62.28125x12] baseline: 9
|
|
"Smaller text"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (9,59) content-size 613.65625x50 table-row children: not-inline
|
|
BlockContainer <td> at (11,61) content-size 349.90625x46 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,61) content-size 349.90625x46 children: inline
|
|
frag 0 from TextNode start: 0, length: 16, rect: [11,61 349.90625x46] baseline: 35
|
|
"Another baseline"
|
|
TextNode <#text>
|
|
BlockContainer <td> at (364.90625,61) content-size 255.75x46 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (364.90625,61) content-size 255.75x46 children: inline
|
|
frag 0 from TextNode start: 0, length: 12, rect: [364.90625,61 255.75x46] baseline: 35
|
|
"Regular text"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,110) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x118]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x102]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 615.65625x102]
|
|
PaintableBox (Box<TABLE>) [8,8 615.65625x102]
|
|
PaintableBox (Box<TBODY>) [9,9 613.65625x100]
|
|
PaintableBox (Box<TR>) [9,9 613.65625x50]
|
|
PaintableWithLines (BlockContainer<TD>) [9,9 353.90625x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,11 349.90625x46]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>.small-text) [362.90625,9 259.75x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [364.90625,37 255.75x12]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [9,59 613.65625x50]
|
|
PaintableWithLines (BlockContainer<TD>) [9,59 353.90625x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,61 349.90625x46]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [362.90625,59 259.75x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [364.90625,61 255.75x46]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,110 784x0]
|