mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-23 09:22:30 +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.
111 lines
7.1 KiB
Text
111 lines
7.1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x98 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x82 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 600x82 [BFC] children: not-inline
|
|
Box <table> at (9,9) content-size 598x80 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (9,9) content-size 598x80 table-row-group children: not-inline
|
|
Box <tr> at (9,9) content-size 598x40 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,20) content-size 94x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,20) content-size 94x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [11,20 26.078125x18] baseline: 13.796875
|
|
"cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (109,20) content-size 94x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (109,20) content-size 94x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [109,20 26.078125x18] baseline: 13.796875
|
|
"cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (207,11) content-size 94x36 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (207,11) content-size 94x36 children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [207,11 60.890625x18] baseline: 13.796875
|
|
"A table"
|
|
frag 1 from TextNode start: 8, length: 4, rect: [207,29 26.078125x18] baseline: 13.796875
|
|
"cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (305,20) content-size 300x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (305,20) content-size 300x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 12, rect: [305,20 94.96875x18] baseline: 13.796875
|
|
"A table cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (9,49) content-size 598x40 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,60) content-size 94x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (11,60) content-size 94x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [11,60 26.078125x18] baseline: 13.796875
|
|
"cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (109,60) content-size 94x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (109,60) content-size 94x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [109,60 26.078125x18] baseline: 13.796875
|
|
"cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (207,51) content-size 94x36 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (207,51) content-size 94x36 children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [207,51 60.890625x18] baseline: 13.796875
|
|
"A table"
|
|
frag 1 from TextNode start: 8, length: 4, rect: [207,69 26.078125x18] baseline: 13.796875
|
|
"cell"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (305,60) content-size 300x18 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (305,60) content-size 300x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 12, rect: [305,60 94.96875x18] baseline: 13.796875
|
|
"A table cell"
|
|
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 800x98]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x82]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 600x82]
|
|
PaintableBox (Box<TABLE>) [8,8 600x82]
|
|
PaintableBox (Box<TBODY>) [9,9 598x80]
|
|
PaintableBox (Box<TR>) [9,9 598x40]
|
|
PaintableWithLines (BlockContainer<TD>) [9,9 98x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,20 94x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [107,9 98x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [109,20 94x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [205,9 98x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [207,11 94x36]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [303,9 304x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [305,20 300x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [9,49 598x40]
|
|
PaintableWithLines (BlockContainer<TD>) [9,49 98x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [11,60 94x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [107,49 98x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [109,60 94x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [205,49 98x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [207,51 94x36]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [303,49 304x40]
|
|
PaintableWithLines (BlockContainer(anonymous)) [305,60 300x18]
|
|
TextPaintable (TextNode<#text>)
|