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] implement correct accumulation support for the `filt…
…er` property https://bugs.webkit.org/show_bug.cgi?id=248235 Reviewed by Tim Nguyen. Implement the specific accumulation behavior for brightness(), contrast(), opacity() and saturate() operations. We also ensure we have the correct clipping behavior for various other operations since with accumulation support they could appear out of bounds. * LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-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/platform/graphics/filters/FilterOperation.cpp: (WebCore::FilterOperation::blendAmounts const): (WebCore::BasicColorMatrixFilterOperation::blend): (WebCore::BasicComponentTransferFilterOperation::blend): * Source/WebCore/platform/graphics/filters/FilterOperation.h: Canonical link: https://commits.webkit.org/256952@main
- Loading branch information
Showing
4 changed files
with
46 additions
and
33 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