-
Notifications
You must be signed in to change notification settings - Fork 718
[cssom-view] CSSOM View Module redefines some MouseEvent attributes #4084
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
Comments
This prevents automated testing of the MouseEvent interface in idlharness.js for any test that includes cssom-view.idl because it causes validation to fail, and that's very disappointing. |
@jdm - not sure that it prevents anything, just shows up as a failure (or several). Only cssom-view has failures, for the unique members subtest, and they're:
Or are you referring to something else? |
I'm referring to the fact that on the cssom-view idlharness test there are only three test entries that mention MouseEvent. This is because the MouseEvent object is disabled, but uncommenting that still does not cause the MouseEvent interface to be checked. Only fixing the validation errors allows idlharness.js to continue running tests against the interface that fails validation. |
The double definitions of these attributes is still an issue. @smfr @emilio @garykac @travisleithead as the editors of the two specs in questions, which spec do you think should define this? I started writing a patch for CSSOM View, but noticed that some other attributes are defined in terms of these, for example Note that by now this isn't an issue for idlharness.js tests in WPT, because those use the IDL from https://www.npmjs.com/package/@webref/idl which has patches applied to fix problems like this. |
Uh oh!
There was an error while loading. Please reload this page.
MouseEvent already has all of screenX, screenY, clientX, clientY (which are also
long
type, which cssom-view is defining them asdouble
).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 web-platform-tests/wpt#12231
The text was updated successfully, but these errors were encountered: