You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This syntax replaces the [NoInterfaceObject] extended attribute and implements statement which have been deprecated (except for a few legacy uses cases explicitely mentioned in the spec).
tobie
changed the title
Update WebIDL definition(s) to use new mixin syntax
[cssom-view] Update WebIDL definition(s) to use new mixin syntax
Nov 3, 2017
WebIDL recently introduced dedicated syntax for mixins [1]. This
replaces the existing [NoInterfaceObject] and "implements" syntax with
"interface mixin" and "includes" in the appropriate places.
This fixesw3c#1931, w3c#1932 issues.
[1] whatwg/webidl@45e8173
WebIDL recently introduced dedicated syntax for mixins [1]. This
replaces the existing [NoInterfaceObject] and "implements" syntax with
"interface mixin" and "includes" in the appropriate places.
This fixes#1931, #1932 issues.
[1] whatwg/webidl@45e8173
Hi all!
WebIDL recently introduced dedicated syntax for mixins.
This syntax replaces the
[NoInterfaceObject]
extended attribute andimplements statement
which have been deprecated (except for a few legacy uses cases explicitely mentioned in the spec).You can read more about it here.
In most cases, the changes should be relatively straightforward. The now deprecated:
should just be rewritten as:
Additonaly, a section on when to use partials and mixins has been added to the spec. It's short and might be worth a read.
It seems the following interfaces in the CSSOM View Module spec are impacted by this change:
We're sorry for the inconvenience this causes, but our hope is that this ultimately makes things simpler and clearer for everybody.
As always, please feel free to reach out if you have any questions.
Thanks!
Tracked in: whatwg/webidl#472 | Original pull-request: whatwg/webidl#433
The text was updated successfully, but these errors were encountered: