diff --git a/Userland/Libraries/LibWeb/Animations/Animation.idl b/Userland/Libraries/LibWeb/Animations/Animation.idl index 8379c033f36..55e680b84b1 100644 --- a/Userland/Libraries/LibWeb/Animations/Animation.idl +++ b/Userland/Libraries/LibWeb/Animations/Animation.idl @@ -1,5 +1,6 @@ #import #import +#import // https://www.w3.org/TR/web-animations-1/#the-animation-interface [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl b/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl index b5bd0a62427..1d6f21767ec 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl +++ b/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl @@ -1,4 +1,5 @@ #import +#import // https://drafts.csswg.org/css-animations-1/#interface-csskeyframerule-idl [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/CSS/CSSKeyframesRule.idl b/Userland/Libraries/LibWeb/CSS/CSSKeyframesRule.idl index c0b38c9c6bb..ba38a1ab980 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSKeyframesRule.idl +++ b/Userland/Libraries/LibWeb/CSS/CSSKeyframesRule.idl @@ -1,4 +1,5 @@ #import +#import // https://drafts.csswg.org/css-animations-1/#interface-csskeyframesrule [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl b/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl index 9d17a153701..265a8b08be8 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl +++ b/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl @@ -1,5 +1,6 @@ #import #import +#import // https://drafts.csswg.org/cssom/#cssstylesheet [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/DOM/AbstractRange.idl b/Userland/Libraries/LibWeb/DOM/AbstractRange.idl index cf9cde311ab..677da4a7fe2 100644 --- a/Userland/Libraries/LibWeb/DOM/AbstractRange.idl +++ b/Userland/Libraries/LibWeb/DOM/AbstractRange.idl @@ -1,3 +1,5 @@ +#import + // https://dom.spec.whatwg.org/#interface-abstractrange [Exposed=Window] interface AbstractRange { diff --git a/Userland/Libraries/LibWeb/DOM/CDATASection.idl b/Userland/Libraries/LibWeb/DOM/CDATASection.idl index e3e8019895f..e4f307f1614 100644 --- a/Userland/Libraries/LibWeb/DOM/CDATASection.idl +++ b/Userland/Libraries/LibWeb/DOM/CDATASection.idl @@ -1,3 +1,5 @@ +#import + // https://dom.spec.whatwg.org/#interface-cdatasection [Exposed=Window] interface CDATASection : Text { diff --git a/Userland/Libraries/LibWeb/DOM/ChildNode.idl b/Userland/Libraries/LibWeb/DOM/ChildNode.idl index def04c30a67..575a251f6cc 100644 --- a/Userland/Libraries/LibWeb/DOM/ChildNode.idl +++ b/Userland/Libraries/LibWeb/DOM/ChildNode.idl @@ -1,3 +1,6 @@ +// FIXME: This #import causes a circular import-related error +// #import + // https://dom.spec.whatwg.org/#childnode interface mixin ChildNode { [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes); diff --git a/Userland/Libraries/LibWeb/DOM/EventHandler.idl b/Userland/Libraries/LibWeb/DOM/EventHandler.idl index 8e56ba60031..00af7c66f5e 100644 --- a/Userland/Libraries/LibWeb/DOM/EventHandler.idl +++ b/Userland/Libraries/LibWeb/DOM/EventHandler.idl @@ -1,3 +1,5 @@ +#import + [LegacyTreatNonObjectAsNull] callback EventHandlerNonNull = any (Event event); typedef EventHandlerNonNull? EventHandler; diff --git a/Userland/Libraries/LibWeb/DOM/HTMLFormControlsCollection.idl b/Userland/Libraries/LibWeb/DOM/HTMLFormControlsCollection.idl index 64ddf2fc1dd..709bca57e2c 100644 --- a/Userland/Libraries/LibWeb/DOM/HTMLFormControlsCollection.idl +++ b/Userland/Libraries/LibWeb/DOM/HTMLFormControlsCollection.idl @@ -1,3 +1,6 @@ +#import +#import + // https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection [Exposed=Window] interface HTMLFormControlsCollection : HTMLCollection { diff --git a/Userland/Libraries/LibWeb/DOM/Slottable.idl b/Userland/Libraries/LibWeb/DOM/Slottable.idl index 6793e6bbc49..4dd8b00dfeb 100644 --- a/Userland/Libraries/LibWeb/DOM/Slottable.idl +++ b/Userland/Libraries/LibWeb/DOM/Slottable.idl @@ -1,3 +1,6 @@ +// FIXME: This #import causes a circular import-related error +// #import + // https://dom.spec.whatwg.org/#mixin-slotable interface mixin Slottable { readonly attribute HTMLSlotElement? assignedSlot; diff --git a/Userland/Libraries/LibWeb/Fetch/Body.idl b/Userland/Libraries/LibWeb/Fetch/Body.idl index 80085c43111..b91f7b1f213 100644 --- a/Userland/Libraries/LibWeb/Fetch/Body.idl +++ b/Userland/Libraries/LibWeb/Fetch/Body.idl @@ -1,4 +1,6 @@ +#import #import +#import // https://fetch.spec.whatwg.org/#body interface mixin Body { diff --git a/Userland/Libraries/LibWeb/FileAPI/Blob.idl b/Userland/Libraries/LibWeb/FileAPI/Blob.idl index c6ebe2ec106..cea9b059aaf 100644 --- a/Userland/Libraries/LibWeb/FileAPI/Blob.idl +++ b/Userland/Libraries/LibWeb/FileAPI/Blob.idl @@ -1,3 +1,5 @@ +#import + // https://w3c.github.io/FileAPI/#blob-section [Exposed=(Window,Worker), Serializable] interface Blob { diff --git a/Userland/Libraries/LibWeb/FileAPI/FileList.idl b/Userland/Libraries/LibWeb/FileAPI/FileList.idl index 71ec4052e04..b206c4af028 100644 --- a/Userland/Libraries/LibWeb/FileAPI/FileList.idl +++ b/Userland/Libraries/LibWeb/FileAPI/FileList.idl @@ -1,3 +1,5 @@ +#import + // https://w3c.github.io/FileAPI/#filelist-section [Exposed=(Window,Worker), Serializable] interface FileList { diff --git a/Userland/Libraries/LibWeb/FileAPI/FileReader.idl b/Userland/Libraries/LibWeb/FileAPI/FileReader.idl index 2ab60bd2ed3..38e25d8318c 100644 --- a/Userland/Libraries/LibWeb/FileAPI/FileReader.idl +++ b/Userland/Libraries/LibWeb/FileAPI/FileReader.idl @@ -1,5 +1,6 @@ #import #import +#import // https://w3c.github.io/FileAPI/#dfn-filereader [Exposed=(Window,Worker)] diff --git a/Userland/Libraries/LibWeb/Geometry/DOMQuad.idl b/Userland/Libraries/LibWeb/Geometry/DOMQuad.idl index 78018da940d..aced4b27d73 100644 --- a/Userland/Libraries/LibWeb/Geometry/DOMQuad.idl +++ b/Userland/Libraries/LibWeb/Geometry/DOMQuad.idl @@ -1,4 +1,5 @@ #import +#import #import // https://drafts.fxtf.org/geometry/#domquad diff --git a/Userland/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl b/Userland/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl index 77d752efcb0..05fd960b6da 100644 --- a/Userland/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl +++ b/Userland/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl @@ -1,3 +1,5 @@ +#import + // https://html.spec.whatwg.org/multipage/canvas.html#canvasimagesmoothing interface mixin CanvasImageSmoothing { // image smoothing diff --git a/Userland/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl b/Userland/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl index d6ae88eeaa3..c1273c82d95 100644 --- a/Userland/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl +++ b/Userland/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl @@ -1,3 +1,5 @@ +#import + // https://html.spec.whatwg.org/multipage/canvas.html#canvastextalign // enum CanvasTextAlign { "start", "end", "left", "right", "center" }; // enum CanvasTextBaseline { "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl index fe1810446ea..60c03dd4f7a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl @@ -1,3 +1,4 @@ +#import #import #import #import diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl index abe4f3cf518..a34aab3b13b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl @@ -1,5 +1,6 @@ #import #import +#import #import // https://html.spec.whatwg.org/multipage/semantics.html#htmlelement diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl index 93d9733256a..6ad36f3bc74 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl @@ -1,4 +1,5 @@ #import +#import #import // https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement diff --git a/Userland/Libraries/LibWeb/HTML/Window.idl b/Userland/Libraries/LibWeb/HTML/Window.idl index eb5ccdd295c..139df1fc114 100644 --- a/Userland/Libraries/LibWeb/HTML/Window.idl +++ b/Userland/Libraries/LibWeb/HTML/Window.idl @@ -8,6 +8,7 @@ #import #import #import +#import #import #import #import diff --git a/Userland/Libraries/LibWeb/SVG/SVGClipPathElement.idl b/Userland/Libraries/LibWeb/SVG/SVGClipPathElement.idl index 533380a450f..2103734e9d4 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGClipPathElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGClipPathElement.idl @@ -1,3 +1,5 @@ +#import + // https://drafts.fxtf.org/css-masking/#InterfaceSVGClipPathElement [Exposed=Window] interface SVGClipPathElement : SVGElement { diff --git a/Userland/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl b/Userland/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl index e780320fd98..b9f2e79e3e1 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl @@ -1,4 +1,5 @@ #import +#import // https://svgwg.org/svg2-draft/single-page.html#embedded-InterfaceSVGForeignObjectElement [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl b/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl index 08cbaaa666e..7b60e012c25 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl @@ -1,3 +1,4 @@ +#import #import // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGLinearGradientElement diff --git a/Userland/Libraries/LibWeb/SVG/SVGMaskElement.idl b/Userland/Libraries/LibWeb/SVG/SVGMaskElement.idl index 223f0b2a1ed..5aa4beed6cb 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGMaskElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGMaskElement.idl @@ -1,3 +1,5 @@ +#import + // https://drafts.fxtf.org/css-masking/#InterfaceSVGMaskElement [Exposed=Window] interface SVGMaskElement : SVGElement { diff --git a/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl b/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl index 64118a8b2ee..4420d2840b2 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl @@ -1,3 +1,4 @@ +#import #import // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGRadialGradientElement diff --git a/Userland/Libraries/LibWeb/SVG/SVGScriptElement.idl b/Userland/Libraries/LibWeb/SVG/SVGScriptElement.idl index 333c484ccbf..350e67063ac 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGScriptElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGScriptElement.idl @@ -1,4 +1,5 @@ #import +#import // https://www.w3.org/TR/SVG/interact.html#InterfaceSVGScriptElement [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/UIEvents/MouseEvent.idl b/Userland/Libraries/LibWeb/UIEvents/MouseEvent.idl index 378a54492e9..c81c0ab91bf 100644 --- a/Userland/Libraries/LibWeb/UIEvents/MouseEvent.idl +++ b/Userland/Libraries/LibWeb/UIEvents/MouseEvent.idl @@ -1,3 +1,5 @@ +#import + // https://w3c.github.io/uievents/#mouseevent [Exposed=Window] interface MouseEvent : UIEvent { diff --git a/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl b/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl index 98ce51afcca..c974667e2e9 100644 --- a/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl +++ b/Userland/Libraries/LibWeb/UIEvents/UIEvent.idl @@ -1,4 +1,5 @@ #import +#import // https://w3c.github.io/uievents/#uievent [Exposed=Window] diff --git a/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl b/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl index ce5221935c6..21c4116acf5 100644 --- a/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl +++ b/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl @@ -1,5 +1,6 @@ #import #import +#import // https://websockets.spec.whatwg.org/#websocket [Exposed=(Window,Worker)]