Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PointerEvent algorithms] MouseEvents are created from PointerEvents #521

Open
mustaqahmed opened this issue Sep 17, 2024 · 1 comment
Open
Labels

Comments

@mustaqahmed
Copy link
Member

PointerEvent attributes are populated from low-level (system-level) events. UIEvents Section 5.3.3. create PointerEvent from MouseEvent 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.

@mustaqahmed
Copy link
Member Author

FYI: @garykac @flackr @smaug----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant