Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f3a4982bb1a712a260572205d199b16147ce6797
https://github.com/WebKit/WebKit/commit/f3a4982bb1a712a260572205d199b16147ce6797
Author: Chris Dumez <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes