mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +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.
27 lines
1.8 KiB
Text
27 lines
1.8 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x38 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x22 children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 78.390625x18] baseline: 19
|
|
BlockContainer <select#select> at (13,10) content-size 78.390625x18 inline-block [BFC] children: not-inline
|
|
Box <div> at (13,10) content-size 78.390625x18 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <div> at (13,10) content-size 58.390625x18 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [13,10 58.390625x18] baseline: 13.796875
|
|
"Value 1"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (75.390625,11) content-size 16x16 flex-item [BFC] children: inline
|
|
frag 0 from SVGSVGBox start: 0, length: 0, rect: [75.390625,11 16x16] baseline: 16
|
|
SVGSVGBox <svg> at (75.390625,11) content-size 16x16 [SVG] children: not-inline
|
|
SVGGeometryBox <path> at (79.390625,16.71875) content-size 8x4.953125 children: not-inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x38]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x22]
|
|
PaintableWithLines (BlockContainer<SELECT>#select) [8,8 88.390625x22]
|
|
PaintableBox (Box<DIV>) [13,10 78.390625x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [13,10 58.390625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [75.390625,11 16x16]
|
|
SVGSVGPaintable (SVGSVGBox<svg>) [75.390625,11 16x16]
|
|
SVGPathPaintable (SVGGeometryBox<path>) [79.390625,16.71875 8x4.953125]
|