Bug 266523 - Invalid coordinates on gesture (and resulting wheel) events inside iframe
Summary: Invalid coordinates on gesture (and resulting wheel) events inside iframe
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Abrar Rahman Protyasha
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-12-15 17:24 PST by Abrar Rahman Protyasha
Modified: 2023-12-16 03:21 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abrar Rahman Protyasha 2023-12-15 17:24:35 PST
`gesture*` events (and resulting wheel events) originating from an embedded iframe have incorrect coordinates. Notably, these coordinates do not account for the transformation between the iframe's coordinate space and the parent document's coordinate space. This is because we do not pass gesture events to subframe event handlers. Let's fix that.
Comment 1 Abrar Rahman Protyasha 2023-12-15 17:24:39 PST
rdar://105243167
Comment 2 Abrar Rahman Protyasha 2023-12-15 17:42:22 PST
Pull request: https://github.com/WebKit/WebKit/pull/21913
Comment 3 EWS 2023-12-16 03:21:04 PST
Committed 272176@main (c8a66bff2703): <https://commits.webkit.org/272176@main>

Reviewed commits have been landed. Closing PR #21913 and removing active labels.