<?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>304105</bug_id>
          
          <creation_ts>2025-12-13 01:35:15 -0800</creation_ts>
          <short_desc>Expose `FECOMPOSITE_OPERATOR_LIGHTER` to WebIDL Interface and update it as highest enum value</short_desc>
          <delta_ts>2025-12-25 19:08:55 -0800</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>EasyFix, GoodFirstBug, InRadar, WPTImpact</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="Taher">taher_ali</assigned_to>
          <cc>karlcow</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>taher_ali</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2165613</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-12-13 01:35:15 -0800</bug_when>
    <thetext>Hi Team,

While trying to look for reason, why we fail following test: https://wpt.fyi/results/svg/types/scripted/SVGAnimatedEnumeration-SVGFECompositeElement.html?label=master&amp;label=experimental&amp;aligned

It seems that it is because of `FECOMPOSITE_OPERATOR_LIGHTER` being exposed in IDL for Firefox but not in Chrome / Blink and Safari / WebKit.

Web Specification: https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFECompositeElement

WebKit: https://github.com/WebKit/WebKit/blob/462ddb30dffca856c17d210c957f46906455298f/Source/WebCore/svg/SVGFECompositeElement.idl#L37

Blink / Chromium: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/svg/svg_fe_composite_element.idl;l=38;drc=e04c80528ebfd7eeca80306f5ccfcb27d9acf5e8

Gecko / Firefox: https://searchfox.org/firefox-main/rev/96eccf5af235e2f592e45fda4e79e6194448fc74/dom/webidl/SVGFECompositeElement.webidl#24

^ Notice that Gecko has `const unsigned short SVG_FECOMPOSITE_OPERATOR_LIGHTER = 7;`.

In case, if we have to fix, we need to add it to IDL and also update:

https://github.com/WebKit/WebKit/blob/462ddb30dffca856c17d210c957f46906455298f/Source/WebCore/svg/SVGFECompositeElement.h#L33

from:

CompositeOperationType::FECOMPOSITE_OPERATOR_ARITHMETIC

to:

CompositeOperationType::FECOMPOSITE_OPERATOR_LIGHTER

____________

Just raising, so we can fix it. It progress WPT, just to let know.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166605</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-12-17 07:32:03 -0800</bug_when>
    <thetext>&lt;rdar://problem/166704079&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166612</commentid>
    <comment_count>2</comment_count>
    <who name="Taher">taher_ali</who>
    <bug_when>2025-12-17 07:49:23 -0800</bug_when>
    <thetext>We may need to manually fix the test-case `LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement.html` because it&apos;s expecting a throw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167115</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Longson">longsonr</who>
    <bug_when>2025-12-18 16:14:06 -0800</bug_when>
    <thetext>See https://github.com/w3c/svgwg/issues/424</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167119</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-12-18 16:24:39 -0800</bug_when>
    <thetext>yes specifically 
https://github.com/w3c/svgwg/issues/424#issuecomment-3194765718</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168006</commentid>
    <comment_count>5</comment_count>
    <who name="Taher">taher_ali</who>
    <bug_when>2025-12-23 14:33:13 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/55841</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168222</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-12-25 19:08:53 -0800</bug_when>
    <thetext>Committed 304941@main (89a77dce2e2a): &lt;https://commits.webkit.org/304941@main&gt;

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

    </bug>

</bugzilla>