[webkit-changes] [WebKit/WebKit] f2269d: Safari translation should treat a floating list it...
Ryosuke Niwa
noreply at github.com
Thu Mar 2 18:40:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f2269d652522d4ca95a77640a24601ee48898a68
https://github.com/WebKit/WebKit/commit/f2269d652522d4ca95a77640a24601ee48898a68
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-03-02 (Thu, 02 Mar 2023)
Changed paths:
M Source/WebCore/editing/TextManipulationController.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm
Log Message:
-----------
Safari translation should treat a floating list item as its own paragraph
https://bugs.webkit.org/show_bug.cgi?id=253205
<rdar://104008863>
Reviewed by Sihui Liu.
Treat a floating list item as a boundary element (i.e. paragraph separator)
even if the display style wasn't block.
* Source/WebCore/editing/TextManipulationController.cpp:
(WebCore::isEnclosingItemBoundaryElement):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm:
(TextManipulation.StartTextManipulationBreaksParagraphInBetweenFloatingListItems):
Canonical link: https://commits.webkit.org/261114@main
More information about the webkit-changes
mailing list