RESOLVED FIXED304105
Expose `FECOMPOSITE_OPERATOR_LIGHTER` to WebIDL Interface and update it as highest enum value
https://bugs.webkit.org/show_bug.cgi?id=304105
Summary Expose `FECOMPOSITE_OPERATOR_LIGHTER` to WebIDL Interface and update it as hi...
Ahmad Saleem
Reported 2025-12-13 01:35:15 PST
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&label=experimental&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!
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-17 07:32:03 PST
Taher
Comment 2 2025-12-17 07:49:23 PST
We may need to manually fix the test-case `LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement.html` because it's expecting a throw.
Robert Longson
Comment 3 2025-12-18 16:14:06 PST
Karl Dubost
Comment 4 2025-12-18 16:24:39 PST
Taher
Comment 5 2025-12-23 14:33:13 PST
EWS
Comment 6 2025-12-25 19:08:53 PST
Committed 304941@main (89a77dce2e2a): <https://commits.webkit.org/304941@main> Reviewed commits have been landed. Closing PR #55841 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.