Re: [svgwg] Behaviour of `:percent` spatial media fragment in SVG when no natural size is given for the external image (#1113)

Per the [SVG 2 specification](https://www.w3.org/TR/SVG2/linking.html#SVGFragmentIdentifiers)

> When the host document cannot resolve the width and height of the SVG document, the used values for width and height should be calculated accorting to CSS rules for [calculating width and ratio for inline replaced elements](https://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width).

That's why I implemented fallback to 300 x 150

-- 
GitHub Notification of comment by longsonr
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1113#issuecomment-4525624364 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 23 May 2026 14:15:02 UTC