mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +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.
41 lines
2.4 KiB
Plaintext
41 lines
2.4 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x100 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (8,8) content-size 204x100 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 204x100 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (8,8) content-size 204x100 table-row-group children: not-inline
|
|
Box <tr> at (8,8) content-size 204x100 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (10,10) content-size 200x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (10,10) content-size 200x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [10,10 129.296875x18] baseline: 13.796875
|
|
"Text at the top"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,108) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 204x100]
|
|
PaintableBox (Box<TABLE>) [8,8 204x100]
|
|
PaintableBox (Box<TBODY>) [8,8 204x100]
|
|
PaintableBox (Box<TR>) [8,8 204x100]
|
|
PaintableWithLines (BlockContainer<TD>) [8,8 204x100]
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,10 200x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,108 784x0]
|