Repository navigation
Open
Labels
focus-area-proposalFocus Area Proposal
Description
Description
I proposed a general SVG focus area two years ago and it got some interest but the feedback was that it was too big and unfocused. This year I want to try again with a more scoped proposal with specific areas we have reason to believe are significant pain points for devs.
- Allow omission of fragment when using SVG
<use>- Proposed last year: Allow omission of fragment when using SVG
<use>#1045 , got 23 👍🏻 - Spec: https://w3c.github.io/svgwg/svg2-draft/linking.html#SVGFragmentIdentifiers
- WPT: https://wpt.fyi/results/svg/struct/reftests/use-external-svg-resource-no-fragment-id.html
- Proposed last year: Allow omission of fragment when using SVG
- Support
context-fillandcontext-stroketo make SVGs more easily themeable (reuse context colors in<marker>and<use>elements) - SVG filters
- Proposed for Interop 25 SVG filters #756 got 52 👍🏻.
- They allow devs to achieve a lot of effects that otherwise involve content duplication or using external images or JS.
- Spec: https://drafts.csswg.org/filter-effects-1/
- WPT: https://wpt.fyi/results/css/filter-effects?label=master&label=experimental&aligned&q=%21backdrop-filter
getPathData()/setPathData()/getPathSegmentAtLength()/SVGPathElement- These grant web developers working with SVG paths a programmatic way to inspect or manipulate individual path segments. Today devs rely on polyfills for this, like this one that has 130 stars: https://github.com/jarek-foksa/path-data-polyfill. The crbug asking for this has positive dev feedback and 44 +1s.
- Spec: https://w3c.github.io/svgwg/specs/paths/#DOMInterfaces
- WPT: https://wpt.fyi/results/svg/path/interfaces?label=experimental&label=master&aligned
Specification
web-feature
No response
Test Links
No response
Additional Signals
No response
Reacted by John P. Green, Patrick Brosset, Óscar Otero, Picorims, Guillaume Deblock, Oliver Williams, Christopher Kirk-Nielsen, Jayden Pearse, Steven Becker, Yehonatan Daniv and 13 more
Metadata
Metadata
Assignees
Labels
focus-area-proposalFocus Area Proposal
Type
Projects
- StatusShow more project fieldsTodo
Activity
github-actions commentedon Sep 23, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web features (from the web-features project) which are referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
SVG filters
Feature SVG filters
<filter>SVG element applies custom effects such as color manipulation, blurring, or morphing to SVG elements.SVG
Feature SVG
<svg>element, creates two-dimensional vector graphics with declarative or scripted interaction and animation.context-fill and context-stroke
Feature context-fill and context-stroke
context-fillandcontext-strokeCSS values are used withfillandstrokein SVG<marker>or<use>elements to match a color from where they appear.karlcow commentedon Sep 24, 2026
@dandclark We should avoid to link to https://www.w3.org/TR/SVG2/ for now, as it is not up to date yet. It will be soon. The SVG WG is planning to republish the spec very soon.
The same for
https://svgwg.org/svg2-draft/where the SVGWG has lost the control. The document is not at all updated.The current spec is at https://w3c.github.io/svgwg/svg2-draft/
dandclark commentedon Sep 24, 2026
Thanks @karlcow, I edited the post.