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

Define "event constructing steps" for complicated events #194

Open
annevk opened this issue Apr 6, 2018 · 1 comment
Open

Define "event constructing steps" for complicated events #194

annevk opened this issue Apr 6, 2018 · 1 comment

Comments

@annevk
Copy link
Member

annevk commented Apr 6, 2018

As @domenic mentioned in whatwg/dom#414 some UI events, such as MouseEvent and KeyboardEvent, do not have a straight mapping from initializing dictionary member to internal state. For those event classes the DOM Standard has "event constructing steps", added in whatwg/dom#614.

@annevk
Copy link
Member Author

annevk commented Apr 6, 2018

cc @hayatoito

annevk added a commit to whatwg/dom that referenced this issue Apr 6, 2018
This hook can be used by complex Event subclasses, such as KeyboardEvent and TouchEvent, to initialize their internal state upon creation.

Follow-up: w3c/uievents#194 and w3c/touch-events#94.

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

No branches or pull requests

2 participants