mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 01:22:12 +02:00
If the `width` and `height` attributes are provided, we derive the intrinsic size and ratio from them. Otherwise, we trace a rectangle around the geometry elements inside the SVG and use the size of that as the intrinsic size. This is definitely far from correct, but is still a much better guess at the intrinsic size than nothing.
3.4 KiB
3.4 KiB