[webkit-changes] [WebKit/WebKit] 4c6946: Stop checking for RenderStyle::whiteSpace() in Tex...
Tim Nguyen
noreply at github.com
Tue Jun 27 16:33:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4c6946f194a3e7068a4fec0fe216d682951c89c6
https://github.com/WebKit/WebKit/commit/4c6946f194a3e7068a4fec0fe216d682951c89c6
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M Source/WebCore/editing/TextManipulationController.cpp
Log Message:
-----------
Stop checking for RenderStyle::whiteSpace() in TextManipulationController.cpp
https://bugs.webkit.org/show_bug.cgi?id=258544
rdar://111369337
Reviewed by Wenson Hsieh.
Stop checking for white-space-collapse: collapse, and only check for text-wrap: nowrap.
We always want to preserve whitespace regardless if white-space-collapse is discard/collapse/preserve/...
* Source/WebCore/editing/TextManipulationController.cpp:
(WebCore::isEnclosingItemBoundaryElement):
Canonical link: https://commits.webkit.org/265568@main
More information about the webkit-changes
mailing list