RESOLVED FIXED306387
Percent-decode fragments before using them for SVG references
https://bugs.webkit.org/show_bug.cgi?id=306387
Summary Percent-decode fragments before using them for SVG references
Ahmad Saleem
Reported 2026-01-27 18:24:24 PST
Hi Team, While looking into SVGURL bugs, I noticed we are failing following tests: Test Case: https://jsfiddle.net/p4e8h5da/ and https://jsfiddle.net/10zuhe7d/ Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/7fed5aeb041c935425adb69333bdf610bef896ee We might need to use `decodeURLEscapeSequences` similar to Blink in our SVG URL implementation. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-03 18:25:11 PST
Karl Dubost
Comment 2 2026-04-01 23:18:46 PDT
https://jsfiddle.net/p4e8h5da/ is green in STP 240, Firefox Nightly, Chrome Canary https://jsfiddle.net/10zuhe7d/ is red in STP 240, Green in Firefox Nightly, Chrome Canary The test is <!DOCTYPE html> <svg> <defs> <linearGradient id="foo"> <stop stop-color="green"/> </linearGradient> </defs> <rect width="100" height="100" fill="url(#%66%6f%6f) red"/> </svg>
Karl Dubost
Comment 3 2026-04-02 02:31:30 PDT
EWS
Comment 4 2026-04-02 08:35:15 PDT
Committed 310443@main (2dc442120874): <https://commits.webkit.org/310443@main> Reviewed commits have been landed. Closing PR #61899 and removing active labels.
Karl Dubost
Comment 5 2026-04-02 08:37:41 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/58954
Note You need to log in before you can comment on or make changes to this bug.