mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00

This solves a particular issue with SVG as flex items, where the SVG has an intrinsic aspect ratio via its viewBox, but no explicit natural width or height. Makes all corporate sponsor logos show up on https://ziglang.org/ :^)
13 lines
807 B
Text
13 lines
807 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x800 [BFC] children: not-inline
|
|
Box <body> at (8,8) content-size 784x784 flex-container(row) [FFC] children: not-inline
|
|
SVGSVGBox <svg> at (8,8) content-size 784x784 flex-item [SVG] children: not-inline
|
|
SVGGeometryBox <rect> at (8,8) content-size 392x392 children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x800]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x800]
|
|
PaintableBox (Box<BODY>) [8,8 784x784]
|
|
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 784x784]
|
|
SVGPathPaintable (SVGGeometryBox<rect>) [8,8 392x392]
|