[webkit-changes] [WebKit/WebKit] cb882e: Copying text on a GitHub pull request in split mod...
Wenson Hsieh
noreply at github.com
Fri Mar 10 11:38:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb882e94269522daf1e1df30dc3b93b665844912
https://github.com/WebKit/WebKit/commit/cb882e94269522daf1e1df30dc3b93b665844912
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
A LayoutTests/editing/pasteboard/copy-paste-text-with-trailing-colon-expected.txt
A LayoutTests/editing/pasteboard/copy-paste-text-with-trailing-colon.html
M LayoutTests/platform/ios-wk2/TestExpectations
M Source/WebCore/page/Page.cpp
Log Message:
-----------
Copying text on a GitHub pull request in split mode sometimes lowercases the first letter
https://bugs.webkit.org/show_bug.cgi?id=250119
rdar://105603708
Reviewed by Aditya Keerthi.
When running lookalike character sanitization upon pasting text, allow the original text to pass
through unchanged in the case where lookalike character sanitization didn't adjust the URL.
Test: editing/pasteboard/copy-paste-text-with-trailing-colon.html
* LayoutTests/editing/pasteboard/copy-paste-text-with-trailing-colon-expected.txt: Added.
* LayoutTests/editing/pasteboard/copy-paste-text-with-trailing-colon.html: Added.
* LayoutTests/platform/ios-wk2/TestExpectations:
Mark the test as failing on iOS for now, while I investigate a fix in <https://webkit.org/b/253708>.
* Source/WebCore/page/Page.cpp:
(WebCore::Page::sanitizeLookalikeCharacters const):
Canonical link: https://commits.webkit.org/261516@main
More information about the webkit-changes
mailing list