Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7b53609d924d002d19d5ddb617596cb9aa5db39e
      
https://github.com/WebKit/WebKit/commit/7b53609d924d002d19d5ddb617596cb9aa5db39e
  Author: Antoine Quint <[email protected]>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/keyframe-effects/effect-value-iteration-composite-operation-expected.txt
    M Source/WebCore/platform/graphics/filters/FilterOperation.cpp
    M Source/WebCore/platform/graphics/filters/FilterOperation.h

  Log Message:
  -----------
  [web-animations] implement correct accumulation support for the `filter` 
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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to