Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c409f0776e6d7f6dcbfe3b045ebd3ef5c56c9bd
      
https://github.com/WebKit/WebKit/commit/2c409f0776e6d7f6dcbfe3b045ebd3ef5c56c9bd
  Author: Ahmad Saleem <ahmad.saleem792+git...@gmail.com>
  Date:   2025-08-22 (Fri, 22 Aug 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedInteger-initial-values-expected.txt
    M Source/WebCore/svg/SVGFETurbulenceElement.cpp
    M Source/WebCore/svg/SVGFETurbulenceElement.h

  Log Message:
  -----------
  Fix the default fallback of 'numOctaves' of the SVGFETurbulenceElement
https://bugs.webkit.org/show_bug.cgi?id=297720

Reviewed by Said Abou-Hallawa.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

As per specification [1], the initial value of numOctaves is '1' and it
should fallback to it in case of invalid or negative value since they are
not supported.

[1] 
https://drafts.fxtf.org/filter-effects/#element-attrdef-feturbulence-numoctaves

* 
LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedInteger-initial-values-expected.txt:
* Source/WebCore/svg/SVGFETurbulenceElement.cpp:
(WebCore::SVGFETurbulenceElement::attributeChanged):
* Source/WebCore/svg/SVGFETurbulenceElement.h:

Canonical link: https://commits.webkit.org/299083@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to