[webkit-changes] [WebKit/WebKit] 14b3ba: [UnifiedPDF] Text annotation HTML inputs do not ge...

Sammy Gill noreply at github.com
Wed Jan 31 10:08:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 14b3ba128b7aa7dfbd192866ded19359364e1dcf
      https://github.com/WebKit/WebKit/commit/14b3ba128b7aa7dfbd192866ded19359364e1dcf
  Author: Sammy Gill <sammy.gill at apple.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm

  Log Message:
  -----------
  [UnifiedPDF] Text annotation HTML inputs do not get repositioned when scrolling
https://bugs.webkit.org/show_bug.cgi?id=268358
rdar://121907236

Reviewed by Simon Fraser.

When the scroll offset is changed, we should make sure that the geometry
of any active annotation gets updated also. The annotation will update
its location based off the new scroll position.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::didChangeScrollOffset):

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




More information about the webkit-changes mailing list