You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow omission of fragment when using SVG <use> #1045
In the age of HTTP/2/HTTP/3, there is no performance reason to bundle SVG assets together. By storing each icon as an individual file (rather than a spritesheet where multiple icons are stored together in a single file), it remains easy to also use the icons as a CSS background-image or as the src of a HTML <img> tag, and you can easily open them in design software, so this use-case should be made more ergonomic.
Reacted by Luke Warlow, Mayank, John P. Green, Vladimir Agafonov, Jake Lazaroff, Oliver Williams, Tom Hermans, Fabian Bühler, skulliah, Jachin Sheehy and 13 more
This comment was automatically generated based on the information you provided. Please don't edit it.
No web features (from the web-features project) were found in your proposal. If your proposal doesn't correspond to a web feature, that is fine.
Otherwise, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
In the age of HTTP/2/HTTP/3, there is no performance reason to bundle SVG assets together.
Bundling still provides benefit, for example if you have a lot of small icons which are all used bundling them could decrease data being sent by quite a bit because they are all compressed together.
It is something that is pretty tedious to do and manage though as you don't want to send unused icons too.
Thank you for proposing Allow omission of fragment when using SVG <use> for Interop 2026.
We want to let you know it was not selected to be part of Interop this year.
On behalf of the entire Interop team, thank you for submitting it for consideration. We got many more proposals than we could include in this year's project, necessitating some difficult choices. Please note this should not be taken as a comment on the technology as a whole, or our willingness to consider it for Interop in the future. We appreciate the work you put into your proposal, and would welcome your participation in future rounds of Interop.
Activity
[-]Allow omission of fragment when using SVG <use>[/-][+]Allow omission of fragment when using SVG `<use>`[/+]github-actions commentedon Sep 6, 2025
This comment was automatically generated based on the information you provided. Please don't edit it.
No web features (from the web-features project) were found in your proposal. If your proposal doesn't correspond to a web feature, that is fine.
Otherwise, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
kanashimia commentedon Sep 7, 2025
Some remarks:
Bundling still provides benefit, for example if you have a lot of small icons which are all used bundling them could decrease data being sent by quite a bit because they are all compressed together.
It is something that is pretty tedious to do and manage though as you don't want to send unused icons too.
Also worth noting that such spritesheet generation could be automated, for example using something like this:
https://github.com/SpiriitLabs/vite-plugin-svg-spritemap or https://github.com/cascornelissen/svg-spritemap-webpack-plugin
Same for just adding an id without generating a spritesheet, but in that case it is really just an extra work to create a workaround.
dholbert commentedon Nov 24, 2025
Are there WPTs for this?
dholbert commentedon Jan 13, 2026
Answering myself to some extent... There is at least one WPT for this, mentioned in the Chromium bug that added support:
wpt.fyi: https://wpt.fyi/results/svg/struct/reftests/use-external-svg-resource-no-fragment-id.html
wpt.live: https://wpt.live/svg/struct/reftests/use-external-svg-resource-no-fragment-id.html
It has:
which is directly testing this behavior.
gsnedders commentedon Jan 21, 2026
Though only the last of these looks deliberate.
wpt-interop commentedon Feb 12, 2026
Thank you for proposing Allow omission of fragment when using SVG
<use>for Interop 2026.We want to let you know it was not selected to be part of Interop this year.
On behalf of the entire Interop team, thank you for submitting it for consideration. We got many more proposals than we could include in this year's project, necessitating some difficult choices. Please note this should not be taken as a comment on the technology as a whole, or our willingness to consider it for Interop in the future. We appreciate the work you put into your proposal, and would welcome your participation in future rounds of Interop.
Posted on behalf of the Interop team.