[webkit-changes] [WebKit/WebKit] f3a498: Avoid doing event-related work for CSS animation e...
Chris Dumez
noreply at github.com
Tue Mar 28 12:41:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f3a4982bb1a712a260572205d199b16147ce6797
https://github.com/WebKit/WebKit/commit/f3a4982bb1a712a260572205d199b16147ce6797
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-03-28 (Tue, 28 Mar 2023)
Changed paths:
M Source/WebCore/animation/DeclarativeAnimation.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/dom/EventNames.h
Log Message:
-----------
Avoid doing event-related work for CSS animation events when no event listener is registered
https://bugs.webkit.org/show_bug.cgi?id=254546
Reviewed by Antoine Quint.
* Source/WebCore/animation/DeclarativeAnimation.cpp:
(WebCore::DeclarativeAnimation::invalidateDOMEvents):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::addListenerTypeIfNeeded):
* Source/WebCore/dom/Document.h:
* Source/WebCore/dom/EventNames.h:
(WebCore::EventNames::isCSSAnimationEventType const):
Canonical link: https://commits.webkit.org/262231@main
More information about the webkit-changes
mailing list