- From: caribouW3 via GitHub <noreply@w3.org>
- Date: Mon, 29 Jun 2026 14:28:33 +0000
- To: public-svg-issues@w3.org
caribouW3 has just created a new issue for https://github.com/w3c/svgwg: == Specification of a new fragment identifier for the image/svg+xml media type (for use with CSS Linked Parameters) == Hi, The CSS Working Group is working on a [draft specification of CSS Linked Parameters](https://drafts.csswg.org/css-link-params-1). The goal is to pass parameters to an SVG resource either via CSS properties, or special fragment scheme on the URL, as described in https://drafts.csswg.org/css-link-params-1/#intro ```html <img src="image.svg#param(--color,green)"> ``` Currently, the image/svg+xml media type only defines fragment identifiers for linking into specific parts of the svg image and svgViews. The relevant bits of the SVG2 spec are the media type registration, https://www.w3.org/TR/SVG2/mimereg.html which itself points to the definition of the fragment identifiers https://www.w3.org/TR/SVG2/linking.html#LinksIntoSVG Changing a media type definition (by adding a fragment identifier) for a media type that uses a suffix is constrained by [RFC 6838](https://datatracker.ietf.org/doc/html/rfc6838#section-4.11) ``` Media types are encouraged to adopt fragment identifier schemes that are used with semantically similar media types. In particular, media types that use a named structured syntax with a registered "+suffix" MUST follow whatever fragment identifier rules are given in the structured syntax suffix registration. ``` That means that any frag id defined for svg+xml must follow the rules defined in the [+xml suffix registration.](https://datatracker.ietf.org/doc/html/rfc7303#section-5), by specifying the format according to the XPointer framework, and add an entry in the XPointer registry. I open this issue to keep track of any coordinated action with the CSS WG. We can probably close https://github.com/w3c/svgwg/issues/793 as overtaken by this one. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1144 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 29 June 2026 14:28:34 UTC