Migrate to IDL mixin syntax

This commit is contained in:
Kagami Sascha Rosylight 2019-10-01 18:45:26 +09:00
parent 1b6715158d
commit d6c58b8226
46 changed files with 187 additions and 204 deletions

View file

@ -6,8 +6,7 @@
* https://dom.spec.whatwg.org/#interface-childnode
*/
[NoInterfaceObject]
interface ChildNode {
interface mixin ChildNode {
[Throws, CEReactions, Unscopable]
void before((Node or DOMString)... nodes);
[Throws, CEReactions, Unscopable]
@ -18,8 +17,7 @@ interface ChildNode {
void remove();
};
[NoInterfaceObject]
interface NonDocumentTypeChildNode {
interface mixin NonDocumentTypeChildNode {
[Pure]
readonly attribute Element? previousElementSibling;
[Pure]