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.
101 lines
6.1 KiB
Plaintext
101 lines
6.1 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,16) content-size 784x142 children: not-inline
|
|
BlockContainer <ol> at (48,16) content-size 744x54 children: not-inline
|
|
BlockContainer <(anonymous)> at (48,16) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,16) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [48,16 58.78125x18] baseline: 13.796875
|
|
"Item 20"
|
|
ListItemMarkerBox <(anonymous)> at (13.25,16.5) content-size 22.75x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,34) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,34) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [48,34 55.53125x18] baseline: 13.796875
|
|
"Item 21"
|
|
ListItemMarkerBox <(anonymous)> at (16.5,34.5) content-size 19.5x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,52) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,52) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [48,52 58x18] baseline: 13.796875
|
|
"Item 22"
|
|
ListItemMarkerBox <(anonymous)> at (14.03125,52.5) content-size 21.96875x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,70) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,86) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <ol> at (48,86) content-size 744x72 children: not-inline
|
|
BlockContainer <(anonymous)> at (48,86) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,86) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [48,86 46.71875x18] baseline: 13.796875
|
|
"Item 1"
|
|
ListItemMarkerBox <(anonymous)> at (25.3125,86.5) content-size 10.6875x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,104) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,104) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [48,104 48.828125x18] baseline: 13.796875
|
|
"Item 5"
|
|
ListItemMarkerBox <(anonymous)> at (23.203125,104.5) content-size 12.796875x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,122) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,122) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [48,122 49.109375x18] baseline: 13.796875
|
|
"Item 6"
|
|
ListItemMarkerBox <(anonymous)> at (22.921875,122.5) content-size 13.078125x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,140) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
ListItemBox <li> at (48,140) content-size 744x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [48,140 49.09375x18] baseline: 13.796875
|
|
"Item 7"
|
|
ListItemMarkerBox <(anonymous)> at (22.9375,140.5) content-size 13.0625x17 children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (48,158) content-size 744x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,174) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,16 784x142]
|
|
PaintableWithLines (BlockContainer<OL>) [8,16 784x54]
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,16 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,16 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [13.25,16.5 22.75x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,34 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,34 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [16.5,34.5 19.5x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,52 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,52 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [14.03125,52.5 21.96875x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,70 744x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,86 784x0]
|
|
PaintableWithLines (BlockContainer<OL>) [8,86 784x72]
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,86 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,86 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [25.3125,86.5 10.6875x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,104 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,104 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [23.203125,104.5 12.796875x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,122 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,122 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [22.921875,122.5 13.078125x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,140 744x0]
|
|
PaintableWithLines (ListItemBox<LI>) [48,140 744x18]
|
|
MarkerPaintable (ListItemMarkerBox(anonymous)) [22.9375,140.5 13.0625x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [48,158 744x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,174 784x0]
|