[webkit-changes] [WebKit/WebKit] f7b69f: Adopt dynamicDowncast<> in ReplaceSelectionCommand
Anne van Kesteren
noreply at github.com
Tue Jan 23 05:40:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f7b69f5ea804100eb22e0a312c074a59425d4453
https://github.com/WebKit/WebKit/commit/f7b69f5ea804100eb22e0a312c074a59425d4453
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M Source/WebCore/editing/ReplaceSelectionCommand.cpp
Log Message:
-----------
Adopt dynamicDowncast<> in ReplaceSelectionCommand
https://bugs.webkit.org/show_bug.cgi?id=267701
Reviewed by Ryosuke Niwa.
* Source/WebCore/editing/ReplaceSelectionCommand.cpp:
(WebCore::isInterchangeNewlineNode):
(WebCore::isInterchangeConvertedSpaceSpan):
(WebCore::ReplacementFragment::removeInterchangeNodes):
(WebCore::haveSameTagName):
(WebCore::ReplaceSelectionCommand::shouldMerge):
(WebCore::fragmentNeedsColorTransformed):
(WebCore::ReplaceSelectionCommand::inverseTransformColor):
(WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline):
(WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
(WebCore::ReplaceSelectionCommand::moveNodeOutOfAncestor):
(WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds):
(WebCore::isInlineNodeWithStyle):
(WebCore::ReplaceSelectionCommand::shouldPerformSmartReplace const):
(WebCore::ReplaceSelectionCommand::addSpacesForSmartReplace):
(WebCore::ReplaceSelectionCommand::mergeTextNodesAroundPosition):
(WebCore::ReplaceSelectionCommand::insertAsListItems):
(WebCore::ReplaceSelectionCommand::performTrivialReplace):
Canonical link: https://commits.webkit.org/273354@main
More information about the webkit-changes
mailing list