[webkit-changes] [WebKit/WebKit] 21659d: Safari doesn't translate shadow DOM content

Ryosuke Niwa noreply at github.com
Thu Mar 2 13:39:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 21659de289c8c4fc4d153e026ef1333b2dd102c6
      https://github.com/WebKit/WebKit/commit/21659de289c8c4fc4d153e026ef1333b2dd102c6
  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 doesn't translate shadow DOM content
https://bugs.webkit.org/show_bug.cgi?id=253130

Reviewed by Wenson Hsieh.

Recursively translate shadow DOM contents.

FWIW, Chrome doesn't seem to do any translation of shadow DOM contents.

* Source/WebCore/editing/TextManipulationController.cpp:
(WebCore::TextManipulationController::observeParagraphs):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm:
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/261096@main




More information about the webkit-changes mailing list