Bug 298200
| Summary: | Investigate using HitTestResult to improve nearestClickedDialog | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 297954 | ||
| Bug Blocks: | 284592 | ||
Luke Warlow
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
<rdar://problem/160125132>