Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb882e94269522daf1e1df30dc3b93b665844912
      
https://github.com/WebKit/WebKit/commit/cb882e94269522daf1e1df30dc3b93b665844912
  Author: Wenson Hsieh <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to