mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 01:47:00 +02:00
When embedding an SVG in an img element, if the external SVG's root element has both width and height attributes, but no viewBox attribute, we now create a fallback viewBox with "0 0 width height". This appears to match the behavior of other browsers. Inspired by discussion on Mozilla's bug tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=614649
9.9 KiB
9.9 KiB