Bug 267399
| Summary: | Wheel event doesn't get fired on an element that has been reinserted after document.open | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
Consider the following scenario:
1. A wheel event listener is added to an element
2. Disconnected the element from the document.
3. Run document.open
4. Insert the element back into the newly opened document.
5. Trigger a wheel event.
Expected result:
Wheel event is dispatched on the element.
Actual result:
Wheel event isn't dispatched on the element.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/22648
EWS
Committed 272960@main (a39166fd0ab3): <https://commits.webkit.org/272960@main>
Reviewed commits have been landed. Closing PR #22648 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/120893136>