Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 19ba11bf04d0e35a1f9fa887d7608a96b58fefc2
https://github.com/WebKit/WebKit/commit/19ba11bf04d0e35a1f9fa887d7608a96b58fefc2
Author: Karl Dubost <[email protected]>
Date: 2026-05-26 (Tue, 26 May 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero.html
M
Source/WebCore/platform/graphics/filters/software/FEGaussianBlurSoftwareApplier.cpp
Log Message:
-----------
[regression] feGaussianBlur in filter is not applied if the stdDeviation
contains a 0 in the pair
https://bugs.webkit.org/show_bug.cgi?id=315522
rdar://177906905
Reviewed by Dan Glastonbury.
Fix a regression introduced by https://webkit.org/b/315118
FloatSize::isEmpty() is width <= 0 || height <= 0 (FloatSize.h:73),
so stdDeviation="0 5" and "5 0" was now bypassing the blur entirely.
Re-introducing the check on width and height and adding a WPT test case
to catch the regression next time.
Tests:
imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero.html
imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero-ref.html
*
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/feGaussianBlur-stdDeviation-axis-zero.html:
Added.
*
Source/WebCore/platform/graphics/filters/software/FEGaussianBlurSoftwareApplier.cpp:
(WebCore::FEGaussianBlurSoftwareApplier::apply const):
Canonical link: https://commits.webkit.org/313874@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications