mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Migrate to IDL mixin syntax
This commit is contained in:
parent
1b6715158d
commit
d6c58b8226
46 changed files with 187 additions and 204 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue