NEW298200
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
Radar WebKit Bug Importer
Comment 1 2025-09-08 10:01:18 PDT
Note You need to log in before you can comment on or make changes to this bug.