- From: Mustaq Ahmed via GitHub <noreply@w3.org>
- Date: Fri, 05 Jun 2026 20:21:44 +0000
- To: public-pointer-events@w3.org
mustaqahmed has just created a new issue for https://github.com/w3c/pointerevents:
== Editorial: MouseEventInit and WheelEventInit field descriptions feel redundant ==
`MouseEventInit` [field descriptions](https://w3c.github.io/pointerevents/#mouseeventinit) essentially say "this field initializes the corresponding event attribute" which is not very accurate because setting a field value doesn't automatically set an event attribute. Other than that, the description mostly match the corresponding `MouseEvent` [attribute description](https://w3c.github.io/pointerevents/#mouseevent) and add some notes which seem like obvious JS facts (like `{ buttons: 2 | 4 }` and `{ buttons: 6 }` are equivalent).
We have the same problem with `WheelEventInit` fields.
I am proposing to drop these descriptions , and replace them with a few lines similar to what we have for [`PointerEventInit`](https://w3c.github.io/pointerevents/#dom-pointereventinit).
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/646 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 5 June 2026 20:21:45 UTC