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

Move definition point for PointerEvent #406

Conversation

patrickhlauke
Copy link
Member

@patrickhlauke patrickhlauke commented Aug 5, 2021

Currently, references to {{PointerEvent}} / <a>PointerEvent</a> link to/land on the sentence "The PointerEventInit dictionary is used by the PointerEvent interface's constructor..." which comes after the WebIDL and explanation prose for all the properties/methods. https://w3c.github.io/pointerevents/#dom-pointerevent
With this change, the <dfn> there is removed, and as a result, references to PointerEvent now link to (thanks to Respec) the actual WebIDL definition itself, which seems far more logical. This is in line (by the look of it) with how other specs handle this (see for instance https://www.w3.org/TR/uievents/#mouseevent which links to the WebIDL)


Preview | Diff

Currently, references to `{{PointerEvent}}` / `<a>PointerEvent</a>` link to/land on the sentence "The PointerEventInit dictionary is used by the PointerEvent interface's constructor..." which comes *after* the WebIDL and explanation prose for all the properties/methods. https://w3c.github.io/pointerevents/#dom-pointerevent
With this change, the `<dfn>` there is removed, and as a result, references to PointerEvent now link to (thanks to Respec) to the actual WebIDL definition itself, which seems far more logical. This is in line (by the look of it) with how other specs handle this (see for instance https://www.w3.org/TR/uievents/#mouseevent which links to the WebIDL)
@patrickhlauke patrickhlauke merged commit 7713713 into gh-pages Aug 8, 2021
@patrickhlauke patrickhlauke deleted the patrickhlauke-move-definition-point-for-pointerevents branch August 8, 2021 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants