Skip to content

Conversation

@tidoust
Copy link
Member

@tidoust tidoust commented May 5, 2021

Per WebIDL, a partial dictionary declaration cannot inherit from a base dictionary. See Note in:
https://heycam.github.io/webidl/#idl-interfaces

"Note: A partial interface definition cannot specify that the interface inherits from another interface. Inheritance must be specified on the original interface definition."

ComputedEffectTiming, defined in Level 1, already inherits from EffectTiming, so no need to formulate that again in the partial definition.

[css-spec-shortname-1] Brief description which should also include the #issuenum-or-URL and/or link to relevant CSSWG minutes.

Per WebIDL, a partial dictionary declaration cannot inherit from a base
dictionary. See Note in:
https://heycam.github.io/webidl/#idl-interfaces

"Note: A partial interface definition cannot specify that the interface inherits
from another interface. Inheritance must be specified on the original interface
definition."

`ComputedEffectTiming`, defined in Level 1, already inherits from
`EffectTiming`, so no need to formulate that again in the partial definition.
@birtles birtles merged commit 116267d into w3c:main May 6, 2021
@birtles
Copy link
Contributor

birtles commented May 6, 2021

Thank you!

tidoust added a commit to tidoust/csswg-drafts that referenced this pull request May 6, 2021
Previous fix made WebIDL parse-able:
w3c#6267

However, the WebIDL remains invalid because `void` has now been replaced by
`undefined` in WebIDL and because optional dictionary parameters with no
required members need to have a default value. This update fixes these validity
issues.
birtles pushed a commit that referenced this pull request May 6, 2021
Previous fix made WebIDL parse-able:
#6267

However, the WebIDL remains invalid because `void` has now been replaced by
`undefined` in WebIDL and because optional dictionary parameters with no
required members need to have a default value. This update fixes these validity
issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants