mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
IDL: Add missing #imports
This commit is contained in:
parent
3ff481938e
commit
1a94241f58
Notes:
sideshowbarker
2024-07-17 06:40:35 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/1a94241f58 Pull-request: https://github.com/SerenityOS/serenity/pull/21882
30 changed files with 47 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#import <Animations/AnimationEffect.idl>
|
||||
#import <Animations/AnimationTimeline.idl>
|
||||
#import <DOM/EventTarget.idl>
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-animation-interface
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
#import <CSS/CSSStyleDeclaration.idl>
|
||||
|
||||
// https://drafts.csswg.org/css-animations-1/#interface-csskeyframerule-idl
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
#import <CSS/CSSKeyframeRule.idl>
|
||||
|
||||
// https://drafts.csswg.org/css-animations-1/#interface-csskeyframesrule
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
#import <CSS/CSSRuleList.idl>
|
||||
#import <CSS/StyleSheet.idl>
|
||||
|
||||
// https://drafts.csswg.org/cssom/#cssstylesheet
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <DOM/Node.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#interface-abstractrange
|
||||
[Exposed=Window]
|
||||
interface AbstractRange {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <DOM/Text.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#interface-cdatasection
|
||||
[Exposed=Window]
|
||||
interface CDATASection : Text {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[LegacyTreatNonObjectAsNull]
|
||||
callback EventHandlerNonNull = any (Event event);
|
||||
typedef EventHandlerNonNull? EventHandler;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#import <FileAPI/Blob.idl>
|
||||
#import <Streams/ReadableStream.idl>
|
||||
#import <XHR/FormData.idl>
|
||||
|
||||
// https://fetch.spec.whatwg.org/#body
|
||||
interface mixin Body {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <Streams/ReadableStream.idl>
|
||||
|
||||
// https://w3c.github.io/FileAPI/#blob-section
|
||||
[Exposed=(Window,Worker), Serializable]
|
||||
interface Blob {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <FileAPI/File.idl>
|
||||
|
||||
// https://w3c.github.io/FileAPI/#filelist-section
|
||||
[Exposed=(Window,Worker), Serializable]
|
||||
interface FileList {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
#import <FileAPI/Blob.idl>
|
||||
#import <WebIDL/DOMException.idl>
|
||||
|
||||
// https://w3c.github.io/FileAPI/#dfn-filereader
|
||||
[Exposed=(Window,Worker)]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <Geometry/DOMPoint.idl>
|
||||
#import <Geometry/DOMRect.idl>
|
||||
#import <Geometry/DOMRectReadOnly.idl>
|
||||
|
||||
// https://drafts.fxtf.org/geometry/#domquad
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <HTML/CanvasRenderingContext2D.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#canvasimagesmoothing
|
||||
interface mixin CanvasImageSmoothing {
|
||||
// image smoothing
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <HTML/CanvasRenderingContext2D.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#canvastextalign
|
||||
// enum CanvasTextAlign { "start", "end", "left", "right", "center" };
|
||||
// enum CanvasTextBaseline { "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" };
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#import <FileAPI/Blob.idl>
|
||||
#import <HTML/CanvasRenderingContext2D.idl>
|
||||
#import <HTML/HTMLElement.idl>
|
||||
#import <WebGL/WebGLRenderingContext.idl>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <CSS/ElementCSSInlineStyle.idl>
|
||||
#import <HTML/DOMStringMap.idl>
|
||||
#import <DOM/Element.idl>
|
||||
#import <DOM/EventHandler.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlelement
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/HTMLFormElement.idl>
|
||||
#import <HTML/HTMLOptionsCollection.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#import <HighResolutionTime/Performance.idl>
|
||||
#import <HTML/AnimationFrameProvider.idl>
|
||||
#import <HTML/CustomElements/CustomElementRegistry.idl>
|
||||
#import <HTML/History.idl>
|
||||
#import <HTML/Navigation.idl>
|
||||
#import <HTML/Navigator.idl>
|
||||
#import <HTML/WindowLocalStorage.idl>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <SVG/SVGElement.idl>
|
||||
|
||||
// https://drafts.fxtf.org/css-masking/#InterfaceSVGClipPathElement
|
||||
[Exposed=Window]
|
||||
interface SVGClipPathElement : SVGElement {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <SVG/SVGAnimatedLength.idl>
|
||||
#import <SVG/SVGGraphicsElement.idl>
|
||||
|
||||
// https://svgwg.org/svg2-draft/single-page.html#embedded-InterfaceSVGForeignObjectElement
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#import <SVG/SVGAnimatedLength.idl>
|
||||
#import <SVG/SVGGradientElement.idl>
|
||||
|
||||
// https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGLinearGradientElement
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <SVG/SVGElement.idl>
|
||||
|
||||
// https://drafts.fxtf.org/css-masking/#InterfaceSVGMaskElement
|
||||
[Exposed=Window]
|
||||
interface SVGMaskElement : SVGElement {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#import <SVG/SVGAnimatedLength.idl>
|
||||
#import <SVG/SVGGradientElement.idl>
|
||||
|
||||
// https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGRadialGradientElement
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <HTML/Scripting/Fetching.idl>
|
||||
#import <SVG/SVGElement.idl>
|
||||
|
||||
// https://www.w3.org/TR/SVG/interact.html#InterfaceSVGScriptElement
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#import <UIEvents/UIEvent.idl>
|
||||
|
||||
// https://w3c.github.io/uievents/#mouseevent
|
||||
[Exposed=Window]
|
||||
interface MouseEvent : UIEvent {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <DOM/Event.idl>
|
||||
#import <HTML/Window.idl>
|
||||
|
||||
// https://w3c.github.io/uievents/#uievent
|
||||
[Exposed=Window]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
#import <DOM/EventHandler.idl>
|
||||
#import <FileAPI/Blob.idl>
|
||||
|
||||
// https://websockets.spec.whatwg.org/#websocket
|
||||
[Exposed=(Window,Worker)]
|
||||
|
|
Loading…
Reference in a new issue