Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c2ce8f771a56e311b3e1d8ed5634989575ef1c7c
      
https://github.com/WebKit/WebKit/commit/c2ce8f771a56e311b3e1d8ed5634989575ef1c7c
  Author: Wenson Hsieh <wenson_hs...@apple.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm

  Log Message:
  -----------
  [iOS] Inline predictions should surface as marked text through document 
editing context
https://bugs.webkit.org/show_bug.cgi?id=283148
rdar://135604892

Reviewed by Abrar Rahman Protyasha and Richard Robinson.

In the case where there's an active inline prediction, surface the predicted 
text as marked text
when UIKit requests the current document editing context. This allows the 
system (e.g. the software
keyboard) to show additional UI corresponding to this predicted text.

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::requestDocumentEditingContext):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:
(TEST(DocumentEditingContext, ContextWithWritingSuggestions)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to