<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>306387</bug_id>
          
          <creation_ts>2026-01-27 18:24:24 -0800</creation_ts>
          <short_desc>Percent-decode fragments before using them for SVG references</short_desc>
          <delta_ts>2026-04-02 08:37:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/58954</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Karl Dubost">karlcow</assigned_to>
          <cc>karlcow</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2175618</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-27 18:24:24 -0800</bug_when>
    <thetext>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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177789</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-02-03 18:25:11 -0800</bug_when>
    <thetext>&lt;rdar://problem/169582378&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196174</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-01 23:18:46 -0700</bug_when>
    <thetext>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

&lt;!DOCTYPE html&gt;
&lt;svg&gt;
  &lt;defs&gt;
    &lt;linearGradient id=&quot;foo&quot;&gt;
      &lt;stop stop-color=&quot;green&quot;/&gt;
    &lt;/linearGradient&gt;
  &lt;/defs&gt;
  &lt;rect width=&quot;100&quot; height=&quot;100&quot; fill=&quot;url(#%66%6f%6f) red&quot;/&gt;
&lt;/svg&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196220</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-02 02:31:30 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/61899</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196301</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-02 08:35:15 -0700</bug_when>
    <thetext>Committed 310443@main (2dc442120874): &lt;https://commits.webkit.org/310443@main&gt;

Reviewed commits have been landed. Closing PR #61899 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196302</commentid>
    <comment_count>5</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-02 08:37:41 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/58954</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>