Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3caac1b06ad4606f2a1aa1a045d6a299b677429a
      
https://github.com/WebKit/WebKit/commit/3caac1b06ad4606f2a1aa1a045d6a299b677429a
  Author: Antoine Quint <[email protected]>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M Source/WebCore/animation/KeyframeEffectStack.cpp
    M Source/WebCore/animation/KeyframeEffectStack.h

  Log Message:
  -----------
  Use an effect iteration test method for various KeyframeEffectStack methods 
iterating over effects
https://bugs.webkit.org/show_bug.cgi?id=248141

Reviewed by Alexey Shvayka.

Add the hasMatchingEffect() method which takes a function parameter expecting a 
`const KeyframeEffect`
to test for an effect matching a given condition.

* Source/WebCore/animation/KeyframeEffectStack.cpp:
(WebCore::KeyframeEffectStack::hasMatchingEffect const):
(WebCore::KeyframeEffectStack::containsProperty const):
(WebCore::KeyframeEffectStack::requiresPseudoElement const):
(WebCore::KeyframeEffectStack::hasEffectWithImplicitKeyframes const):
(WebCore::KeyframeEffectStack::allowsAcceleration const):
* Source/WebCore/animation/KeyframeEffectStack.h:

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


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

Reply via email to