[webkit-changes] [WebKit/WebKit] b8691e: Use dynamicDowncast<T> even more in the DOM
Chris Dumez
noreply at github.com
Sun Nov 19 17:39:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b8691e2f033a54cff3a2cf58adebc46e72ce37cf
https://github.com/WebKit/WebKit/commit/b8691e2f033a54cff3a2cf58adebc46e72ce37cf
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-11-19 (Sun, 19 Nov 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/ElementAncestorIteratorInlines.h
M Source/WebCore/dom/ElementData.cpp
M Source/WebCore/dom/ElementData.h
M Source/WebCore/dom/ElementInlines.h
M Source/WebCore/dom/ElementIteratorInlines.h
M Source/WebCore/dom/ElementRareData.h
M Source/WebCore/dom/EventDispatcher.cpp
M Source/WebCore/dom/TreeScopeOrderedMap.cpp
M Source/WebCore/dom/XMLDocument.h
M Source/WebCore/editing/AlternativeTextController.cpp
M Source/WebCore/editing/ApplyBlockElementCommand.cpp
Log Message:
-----------
Use dynamicDowncast<T> even more in the DOM
https://bugs.webkit.org/show_bug.cgi?id=265087
Reviewed by Jean-Yves Avenard.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateLayoutIfDimensionsOutOfDate):
(WebCore::Document::beginLoadingFontSoon):
(WebCore::Document::enqueueOverflowEvent):
* Source/WebCore/dom/Document.h:
(isType):
* Source/WebCore/dom/Element.cpp:
(WebCore::Node::setCustomElementState):
(WebCore::Element::ensureFormAssociatedCustomElement):
* Source/WebCore/dom/Element.h:
(isType):
* Source/WebCore/dom/ElementAncestorIteratorInlines.h:
(WebCore::lineageOfType):
* Source/WebCore/dom/ElementData.cpp:
(WebCore::ElementData::destroy):
* Source/WebCore/dom/ElementData.h:
(WebCore::ElementData::length const):
(WebCore::ElementData::attributeBase const):
(WebCore::ElementData::presentationalHintStyle const):
(WebCore::ElementData::attributesIterator const):
* Source/WebCore/dom/ElementInlines.h:
(WebCore::Node::hasAttributes const):
(WebCore::Node::attributes const):
* Source/WebCore/dom/ElementIteratorInlines.h:
(WebCore::findElementAncestorOfType):
* Source/WebCore/dom/ElementRareData.h:
(WebCore::Node::shadowRoot const):
* Source/WebCore/dom/EventDispatcher.cpp:
(WebCore::isInShadowTree):
(WebCore::shouldSuppressEventDispatchInDOM):
(WebCore::findInputElementInEventPath):
* Source/WebCore/dom/TreeScopeOrderedMap.cpp:
(WebCore::TreeScopeOrderedMap::get const):
* Source/WebCore/dom/XMLDocument.h:
(isType):
* Source/WebCore/editing/AlternativeTextController.cpp:
(WebCore::AlternativeTextController::canEnableAutomaticSpellingCorrection const):
* Source/WebCore/editing/ApplyBlockElementCommand.cpp:
(WebCore::ApplyBlockElementCommand::endOfNextParagraphSplittingTextNodesIfNeeded):
Canonical link: https://commits.webkit.org/270959@main
More information about the webkit-changes
mailing list