Bug 302567

Summary: [web-animations] make `KeyframeEffectStack::hasMatchingEffect()` public and use it from `Styleable`.
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Antoine Quint
Reported 2025-11-15 03:41:13 PST
We have a couple of places outside of `KeyframeEffectStack` where we iterate over effects to see if one is matching a given condition. The `KeyframeEffectStack` class has a `hasMatchingEffect()` method to do just that, and exposing it could simplify some external code, so let's make it public.
Attachments
Antoine Quint
Comment 1 2025-11-15 03:42:21 PST
EWS
Comment 2 2025-11-15 08:37:36 PST
Committed 303072@main (38064a7e701c): <https://commits.webkit.org/303072@main> Reviewed commits have been landed. Closing PR #53988 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-11-15 08:38:12 PST
Note You need to log in before you can comment on or make changes to this bug.