[pointerevents] [PointerEvent algorithms] MouseEvents are created from PointerEvents (#521)

mustaqahmed has just created a new issue for https://github.com/w3c/pointerevents:

== [PointerEvent algorithms] MouseEvents are created from PointerEvents ==
PointerEvent attributes are populated from low-level (system-level) events.  [UIEvents Section 5.3.3. create PointerEvent from MouseEvent](https://w3c.github.io/uievents/#create-pointerevent-from-mouseevent-id) assumes they are populated from a MouseEvent which is not the case.  The set of attributes in a MouseEvent is a subset of those in a PointerEvent.

### Possible solution
We can move the section to the PointerEvent spec after reversing the construction direction.

Is it acceptable from spec perspective to omit the conversion as implied?  The important thing to retain is that UIEvents should own the definition and initialization of MouseEvent attributes. But we can handle that trivially and have the PE spec own when that init happens.

Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/521 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 17 September 2024 20:59:20 UTC