Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 007542e5c99bdb8e73b8032f3608e15b8144100d
https://github.com/WebKit/WebKit/commit/007542e5c99bdb8e73b8032f3608e15b8144100d
Author: Richard Robinson <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Source/WebKit/UIProcess/PDF/WKAlternatePDFHUDView.swift
Log Message:
-----------
[PDF] Alternate PDF HUD view should become visible when cursor is near it
https://bugs.webkit.org/show_bug.cgi?id=320965
rdar://183994357
Reviewed by Abrar Rahman Protyasha and Aditya Keerthi.
Apply a 24pt padding around the view so that the hover effect applies within
that band,
while setting the content shape explicitly to avoid the padding interfering
with hit testing.
The 24pt value is fairly arbitrarily chosen as to be a bit larger than the 16pt
one used
for the default HUD since the view itself is a bit smaller.
* Source/WebKit/UIProcess/PDF/WKAlternatePDFHUDView.swift:
(Controls.body):
Canonical link: https://commits.webkit.org/318529@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications