Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari doesn't translate shadow DOM content #10845

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

rniwa
Copy link
Member

@rniwa rniwa commented Mar 1, 2023

21659de

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

50a454f

Misc iOS, tvOS & watchOS macOS Linux Windows
❌ πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ›  gtk
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  tv-sim ❌ πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  watch-sim
βœ… πŸ›  πŸ§ͺ unsafe-merge

@rniwa rniwa self-assigned this Mar 1, 2023
@rniwa rniwa added the HTML Editing For bugs in HTML editing support (including designMode and contentEditable). label Mar 1, 2023
@rniwa rniwa requested review from szewai and whsieh March 1, 2023 03:43
@szewai
Copy link
Contributor

szewai commented Mar 1, 2023

The API test failure seems related

@rniwa
Copy link
Member Author

rniwa commented Mar 1, 2023

The API test failure seems related

Indeed. I need to skip UA shadow roots.

Copy link
Member

@whsieh whsieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=mews

@rniwa rniwa added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 2, 2023
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
@webkit-commit-queue
Copy link
Collaborator

Committed 261096@main (21659de): https://commits.webkit.org/261096@main

Reviewed commits have been landed. Closing PR #10845 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 2, 2023
@rniwa rniwa deleted the fix253130 branch March 6, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTML Editing For bugs in HTML editing support (including designMode and contentEditable).
Projects
None yet
5 participants