Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[web-animations] support blending of mismatched filter lists
https://bugs.webkit.org/show_bug.cgi?id=248270 Reviewed by Simon Fraser. We would fail to blend when filter lists mismatch and instead always fall back to the "to" value. Instead of the matching filter functions on KeyframeEffect, we implement the specification for when blending is supported in PropertyWrapperFilter::canInterpolate() such that we correctly identify more discrete cases. * LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-002-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-003-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/keyframe-effects/effect-value-iteration-composite-operation-expected.txt: * Source/WebCore/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): * Source/WebCore/animation/CSSPropertyBlendingClient.h: * Source/WebCore/animation/KeyframeEffect.cpp: (WebCore::KeyframeEffect::setBlendingKeyframes): (WebCore::KeyframeEffect::checkForMatchingFilterFunctionLists const): Deleted. (WebCore::KeyframeEffect::checkForMatchingFilterFunctionLists): Deleted. (WebCore::KeyframeEffect::checkForMatchingBackdropFilterFunctionLists): Deleted. (WebCore::KeyframeEffect::checkForMatchingColorFilterFunctionLists): Deleted. * Source/WebCore/animation/KeyframeEffect.h: Canonical link: https://commits.webkit.org/256975@main
- Loading branch information
Showing
8 changed files
with
79 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.