1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

IDL: Add missing #imports

This commit is contained in:
Matthew Olsson 2023-11-08 11:04:56 -07:00 committed by Andreas Kling
parent 3ff481938e
commit 1a94241f58
30 changed files with 47 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#import <DOM/Node.idl>
// https://dom.spec.whatwg.org/#interface-abstractrange
[Exposed=Window]
interface AbstractRange {

View file

@ -1,3 +1,5 @@
#import <DOM/Text.idl>
// https://dom.spec.whatwg.org/#interface-cdatasection
[Exposed=Window]
interface CDATASection : Text {

View file

@ -1,3 +1,6 @@
// FIXME: This #import causes a circular import-related error
// #import <DOM/Node.idl>
// https://dom.spec.whatwg.org/#childnode
interface mixin ChildNode {
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);

View file

@ -1,3 +1,5 @@
#import <DOM/Event.idl>
[LegacyTreatNonObjectAsNull]
callback EventHandlerNonNull = any (Event event);
typedef EventHandlerNonNull? EventHandler;

View file

@ -1,3 +1,6 @@
#import <DOM/HTMLCollection.idl>
#import <DOM/RadioNodeList.idl>
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection
[Exposed=Window]
interface HTMLFormControlsCollection : HTMLCollection {

View file

@ -1,3 +1,6 @@
// FIXME: This #import causes a circular import-related error
// #import <HTML/HTMLSlotElement.idl>
// https://dom.spec.whatwg.org/#mixin-slotable
interface mixin Slottable {
readonly attribute HTMLSlotElement? assignedSlot;