Bug 249702 - Move oncopy/oncut/onpaste to GlobalEventHandlers
Summary: Move oncopy/oncut/onpaste to GlobalEventHandlers
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-21 00:30 PST by Philip Jägenstedt
Modified: 2023-01-03 10:35 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 Philip Jägenstedt 2022-12-21 00:30:47 PST
For historical reasons, the oncopy/oncut/onpaste event handler attributes were added only to Document and Element, making it inconsistent with other events that bubble.

https://github.com/whatwg/html/pull/8096 moves these events handlers to GlobalEventHandlers and tests are updated in https://github.com/web-platform-tests/wpt/pull/36398.

SVG and MathML are also being updated:
https://github.com/w3c/svgwg/pull/895
https://github.com/w3c/mathml-core/pull/171
Comment 1 Radar WebKit Bug Importer 2022-12-28 00:31:15 PST
<rdar://problem/103738165>
Comment 2 Tetsuharu Ohzeki [UTC+9] 2023-01-01 15:46:30 PST
Pull request: https://github.com/WebKit/WebKit/pull/8119
Comment 3 EWS 2023-01-03 10:35:40 PST
Committed 258390@main (1c7e2e801ad3): <https://commits.webkit.org/258390@main>

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