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
WedIDL: partial interface definition cannot specify inheritance #250
Comments
@mwatson2: I believe the current spec here may be correct. It defines HTMLMediaElement as a |
@jdsmith3000 What I meant is that we do not need to include the |
@mwatson2: Makes sense. I'll remove the EventTarget. |
@jdsmith3000's commit above needs to be converted to a PR against mainline. It looks like this is an easy fix and merge. |
I was preparing to do this, but found that the latest editors draft already fixes this problem. It is possible it was corrected as part of Issue #170 "Switch to Contiguous IDL". It is at least present in that version of the spec. I'm closing this issue as fixed. |
Apologies - I forgot I needed to fix this to get the IDL to compile in Contiguous IDL mode. |
We have:
however according to https://heycam.github.io/webidl/#dfn-partial-interface a partial interface definition cannot specify inheritance.
HTMLMediaElement
inheritsElement
which inheritsNode
which inheritsEventTarget
, so we do not need to specify this.The text was updated successfully, but these errors were encountered: