[webkit-changes] [WebKit/WebKit] fac82a: Move more Node and EventTarget flags to ElementSta...
Ryosuke Niwa
noreply at github.com
Tue Mar 26 13:00:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fac82a39787d3a8ca466edd595d69a3ed3408df7
https://github.com/WebKit/WebKit/commit/fac82a39787d3a8ca466edd595d69a3ed3408df7
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/EventTarget.h
M Source/WebCore/dom/Node.h
Log Message:
-----------
Move more Node and EventTarget flags to ElementStateFlag
https://bugs.webkit.org/show_bug.cgi?id=271683
Reviewed by Tim Nguyen.
Move some flags from Node::StateFlag and EventTarget::EventTargetFlag
to newly introduced Node::ElementStateFlag.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::invalidateForQueryContainerSizeChange):
(WebCore::Element::needsUpdateQueryContainerDependentStyle const):
(WebCore::Element::clearNeedsUpdateQueryContainerDependentStyle):
(WebCore::Element::setFullscreenFlag):
* Source/WebCore/dom/Element.h:
(WebCore::Element::hasFullscreenFlag const):
(WebCore::Element::capturedInViewTransition const):
(WebCore::Element::setCapturedInViewTransition):
(WebCore::Element::hasEverHadSmoothScroll const):
(WebCore::Element::setHasEverHadSmoothScroll):
* Source/WebCore/dom/EventTarget.h:
* Source/WebCore/dom/Node.h:
(WebCore::Node::needsSVGRendererUpdate const):
(WebCore::Node::setNeedsSVGRendererUpdate):
(WebCore::Node::isInCustomElementReactionQueue const):
(WebCore::Node::setIsInCustomElementReactionQueue):
(WebCore::Node::clearIsInCustomElementReactionQueue):
(WebCore::Node::isUserActionElement const):
(WebCore::Node::setUserActionElement):
Canonical link: https://commits.webkit.org/276707@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list