Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4e5ea69a3c5ff8a548af422b9df424616dd53c97
https://github.com/WebKit/WebKit/commit/4e5ea69a3c5ff8a548af422b9df424616dd53c97
Author: Aditya Keerthi <[email protected]>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm
Log Message:
-----------
[Unified PDF] Active form entry fields can get detached from the document on
zoom out
https://bugs.webkit.org/show_bug.cgi?id=272596
rdar://126222406
Reviewed by Abrar Rahman Protyasha.
Annotation geometry currently gets updated when zooming in/out as a consequence
of the scroll position changing, via `UnifiedPDFPlugin::didChangeScrollOffset`.
However, when zooming out far enough, the scroll position stops changing, and
there is nothing triggering geometry updates for annotations.
Fix by ensuring annotation geometry is up-to-date whenever the scale factor
changes.
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::setScaleFactor):
Canonical link: https://commits.webkit.org/277438@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