WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
298200
Investigate using HitTestResult to improve nearestClickedDialog
https://bugs.webkit.org/show_bug.cgi?id=298200
Summary
Investigate using HitTestResult to improve nearestClickedDialog
Luke Warlow
Reported
2025-09-01 10:00:40 PDT
Currently to determine if the click "outside" was on the dialog or its `::backdrop` we check the dialogs bounding client rect following the spec prose. However, HitTestResult should be able to identifier if the pointerevent is as a result of clicking on the ::backdrop pseudo element, so we can probably pass that to the event and then use that directly instead of comparing bounding rect.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-09-08 10:01:18 PDT
<
rdar://problem/160125132
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug