<?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>291351</bug_id>
          
          <creation_ts>2025-04-09 22:49:28 -0700</creation_ts>
          <short_desc>`crossOrigin` should have CEReactions in `SVGImageElement` similar to other interfaces</short_desc>
          <delta_ts>2025-04-10 01:25:25 -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>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>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="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>annevk</cc>
    
    <cc>karlcow</cc>
    
    <cc>rniwa</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>2110111</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-04-09 22:49:28 -0700</bug_when>
    <thetext>Hi Team,

Just noticed that our interface + spec does not have `CEReactions=NotNeeded` for crossOrigin in `SVGImageElement.idl`.

Source: https://github.com/WebKit/WebKit/blob/38743469d326c20ba7021c836915fca787e5c13c/Source/WebCore/svg/SVGImageElement.idl#L35

Web-Specification: https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement

NOTE - `CEReactions=NotNeeded` is WebKit specific, in other browser, it is just `CEReactions` (also what it in specification), I think our implementation is different because of `is` attribute. (If incorrect, happy to be corrected).

__________

Now what we do in other interfaces:

Searchfox link - https://searchfox.org/wubkat/search?q=DOMString%3F+crossOrigin%3B&amp;path=.idl&amp;case=false&amp;regexp=false

^ All of them have `CEReactions=NotNeeded`.

_______

Now other browsers:

** Chrome **

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/svg/svg_image_element.idl;l=38?q=svg_image_element.idl

^ have [CEReactions] for `crossOrigin`.

*** Firefox ***

https://searchfox.org/mozilla-central/rev/6cc05c6620814bf3eb05278ccf3b1f49690b7740/dom/webidl/SVGImageElement.webidl#26

^ Don&apos;t have [CEReactions] for `crossOrigin`.

____

Just raising so we can clarify from Anne or Ryosuke. Plus Karl in CC to clarify in SVGWG.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110113</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2025-04-09 22:58:00 -0700</bug_when>
    <thetext>We should add CEReactions=NotNeeded there. Because of the lack of is=, we don&apos;t need CEReactions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110114</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-04-09 23:01:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/148965117&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110116</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-04-09 23:04:10 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/43886</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110129</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-10 01:25:22 -0700</bug_when>
    <thetext>Committed 293512@main (4934e4113790): &lt;https://commits.webkit.org/293512@main&gt;

Reviewed commits have been landed. Closing PR #43886 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>