Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c2ce1eede5991d8e489ceafde2f4c1494e76514
      
https://github.com/WebKit/WebKit/commit/5c2ce1eede5991d8e489ceafde2f4c1494e76514
  Author: Tim Horton <[email protected]>
  Date:   2025-11-12 (Wed, 12 Nov 2025)

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

  Log Message:
  -----------
  UnifiedPDF: Find-in-Page hole disappears before it's scrolled off screen
https://bugs.webkit.org/show_bug.cgi?id=302417
rdar://163242446

Reviewed by Abrar Rahman Protyasha.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::visibleRectsForFindMatchRects const):
visibleRectsForFindMatchRects was converting to plugin coordinates a rect
that was already in overlay coordinates, which are equivalent, resulting
in a double-accounting of the top obscured inset, and over-clipping of find 
holes.

Remove the conversion.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to