Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53ee2c4ceb88891f76673f40795e4e291b865671
      
https://github.com/WebKit/WebKit/commit/53ee2c4ceb88891f76673f40795e4e291b865671
  Author: Tanmoy Panigrahi <[email protected]>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebKit/UIProcess/API/APIPageConfiguration.h
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h

  Log Message:
  -----------
  Add an SPI to suppress marking and highlighting when scrolling to text 
fragments
https://bugs.webkit.org/show_bug.cgi?id=271196
rdar://124974910

Reviewed by Megan Gardner.

Add functionality enabling users of the SPI to prevent the
persistent highlighting/marking of the fragment scrolled to

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollToFragment):
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _setupPageConfiguration:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration init]):
(-[WKWebViewConfiguration encodeWithCoder:]):
(-[WKWebViewConfiguration initWithCoder:]):
(-[WKWebViewConfiguration copyWithZone:]):
(-[WKWebViewConfiguration _scrollToTextFragmentIndicatorEnabled]):
(-[WKWebViewConfiguration _setScrollToTextFragmentIndicatorEnabled:]):
(-[WKWebViewConfiguration _scrollToTextFragmentMarkingEnabled]):
(-[WKWebViewConfiguration _setScrollToTextFragmentMarkingEnabled:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h:

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



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

Reply via email to