[cssom-view] CSSOM View Module redefines some MouseEvent attributes
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
MouseEvent already has all of screenX, screenY, clientX, clientY (which are also long type, which cssom-view is defining them as double).
But, they're redefined in the partial interface here:
https://drafts.csswg.org/cssom-view/#extensions-to-the-mouseevent-interface
Found while tweaking the idlharness in https://github.com/web-platform-tests/wpt/pull/12231
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CSSOM View Module section titled “Extensions to the MouseEvent interface” and compare its screenX, screenY, clientX, and clientY definitions with the existing MouseEvent interface. Review the referenced WPT idlharness change for expected behavior; the work is done when the specification no longer creates conflicting or duplicate attribute definitions and the related IDL expectations agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100