diff --git a/Userland/Libraries/LibWeb/CSS/AnimationEvent.idl b/Userland/Libraries/LibWeb/CSS/AnimationEvent.idl index d14452af39a..274292cb0f6 100644 --- a/Userland/Libraries/LibWeb/CSS/AnimationEvent.idl +++ b/Userland/Libraries/LibWeb/CSS/AnimationEvent.idl @@ -3,15 +3,15 @@ // https://www.w3.org/TR/css-animations-1/#animationevent [Exposed=Window] interface AnimationEvent : Event { - constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {}); - readonly attribute CSSOMString animationName; - readonly attribute double elapsedTime; - readonly attribute CSSOMString pseudoElement; + constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {}); + readonly attribute CSSOMString animationName; + readonly attribute double elapsedTime; + readonly attribute CSSOMString pseudoElement; }; // https://www.w3.org/TR/css-animations-1/#dictdef-animationeventinit dictionary AnimationEventInit : EventInit { - CSSOMString animationName = ""; - double elapsedTime = 0.0; - CSSOMString pseudoElement = ""; + CSSOMString animationName = ""; + double elapsedTime = 0.0; + CSSOMString pseudoElement = ""; }; diff --git a/Userland/Libraries/LibWeb/CSS/CSSAnimation.idl b/Userland/Libraries/LibWeb/CSS/CSSAnimation.idl index 3e8f2b1808f..4081c71ba6e 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSAnimation.idl +++ b/Userland/Libraries/LibWeb/CSS/CSSAnimation.idl @@ -3,5 +3,5 @@ // https://www.w3.org/TR/css-animations-2/#cssanimation [Exposed=Window] interface CSSAnimation : Animation { - readonly attribute CSSOMString animationName; + readonly attribute CSSOMString animationName; }; diff --git a/Userland/Libraries/LibWeb/CSS/CSSTransition.idl b/Userland/Libraries/LibWeb/CSS/CSSTransition.idl index d74e51f9095..d5a3dfe721e 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSTransition.idl +++ b/Userland/Libraries/LibWeb/CSS/CSSTransition.idl @@ -3,5 +3,5 @@ // https://drafts.csswg.org/css-transitions-2/#the-CSSTransition-interface [Exposed=Window] interface CSSTransition : Animation { - readonly attribute CSSOMString transitionProperty; + readonly attribute CSSOMString transitionProperty; }; diff --git a/Userland/Libraries/LibWeb/Crypto/CryptoKey.idl b/Userland/Libraries/LibWeb/Crypto/CryptoKey.idl index b079ddbd210..ee6a108eacd 100644 --- a/Userland/Libraries/LibWeb/Crypto/CryptoKey.idl +++ b/Userland/Libraries/LibWeb/Crypto/CryptoKey.idl @@ -5,8 +5,8 @@ enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits // https://w3c.github.io/webcrypto/#cryptokey-interface [SecureContext,Exposed=(Window,Worker),Serializable] interface CryptoKey { - readonly attribute KeyType type; - readonly attribute boolean extractable; - readonly attribute object algorithm; - readonly attribute object usages; + readonly attribute KeyType type; + readonly attribute boolean extractable; + readonly attribute object algorithm; + readonly attribute object usages; }; diff --git a/Userland/Libraries/LibWeb/Crypto/SubtleCrypto.idl b/Userland/Libraries/LibWeb/Crypto/SubtleCrypto.idl index 78002aec0d3..2baa4db86e6 100644 --- a/Userland/Libraries/LibWeb/Crypto/SubtleCrypto.idl +++ b/Userland/Libraries/LibWeb/Crypto/SubtleCrypto.idl @@ -15,8 +15,7 @@ dictionary RsaOtherPrimesInfo { DOMString t; }; -dictionary JsonWebKey -{ +dictionary JsonWebKey { // The following fields are defined in Section 3.1 of JSON Web Key DOMString kty; DOMString use; diff --git a/Userland/Libraries/LibWeb/HTML/CloseWatcher.idl b/Userland/Libraries/LibWeb/HTML/CloseWatcher.idl index e050f67883a..f09de528df3 100644 --- a/Userland/Libraries/LibWeb/HTML/CloseWatcher.idl +++ b/Userland/Libraries/LibWeb/HTML/CloseWatcher.idl @@ -4,16 +4,16 @@ // https://html.spec.whatwg.org/multipage/interaction.html#closewatcher [Exposed=Window] interface CloseWatcher : EventTarget { - constructor(optional CloseWatcherOptions options = {}); + constructor(optional CloseWatcherOptions options = {}); - undefined requestClose(); - undefined close(); - undefined destroy(); + undefined requestClose(); + undefined close(); + undefined destroy(); - attribute EventHandler oncancel; - attribute EventHandler onclose; + attribute EventHandler oncancel; + attribute EventHandler onclose; }; dictionary CloseWatcherOptions { - AbortSignal signal; + AbortSignal signal; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAllCollection.idl b/Userland/Libraries/LibWeb/HTML/HTMLAllCollection.idl index 5a125ac3f37..182004290f2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAllCollection.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLAllCollection.idl @@ -1,8 +1,7 @@ #import #import -[Exposed=Window, - LegacyUnenumerableNamedProperties] +[Exposed=Window, LegacyUnenumerableNamedProperties] interface HTMLAllCollection { readonly attribute unsigned long length; getter Element (unsigned long index); diff --git a/Userland/Libraries/LibWeb/HTML/HashChangeEvent.idl b/Userland/Libraries/LibWeb/HTML/HashChangeEvent.idl index 67656dcf4e0..d075f7df21c 100644 --- a/Userland/Libraries/LibWeb/HTML/HashChangeEvent.idl +++ b/Userland/Libraries/LibWeb/HTML/HashChangeEvent.idl @@ -3,13 +3,13 @@ // https://html.spec.whatwg.org/multipage/nav-history-apis.html#hashchangeevent [Exposed=Window] interface HashChangeEvent : Event { - constructor(DOMString type, optional HashChangeEventInit eventInitDict = {}); + constructor(DOMString type, optional HashChangeEventInit eventInitDict = {}); - readonly attribute USVString oldURL; - readonly attribute USVString newURL; + readonly attribute USVString oldURL; + readonly attribute USVString newURL; }; dictionary HashChangeEventInit : EventInit { - USVString oldURL = ""; - USVString newURL = ""; + USVString oldURL = ""; + USVString newURL = ""; }; diff --git a/Userland/Libraries/LibWeb/HTML/ImageData.idl b/Userland/Libraries/LibWeb/HTML/ImageData.idl index ffd2d826d2d..d0647facc6e 100644 --- a/Userland/Libraries/LibWeb/HTML/ImageData.idl +++ b/Userland/Libraries/LibWeb/HTML/ImageData.idl @@ -3,7 +3,7 @@ enum PredefinedColorSpace { "srgb", "display-p3" }; dictionary ImageDataSettings { - PredefinedColorSpace colorSpace; + PredefinedColorSpace colorSpace; }; [Exposed=(Window,Worker), Serializable] diff --git a/Userland/Libraries/LibWeb/HTML/PopStateEvent.idl b/Userland/Libraries/LibWeb/HTML/PopStateEvent.idl index 23e42d644e5..a4ab30b0d46 100644 --- a/Userland/Libraries/LibWeb/HTML/PopStateEvent.idl +++ b/Userland/Libraries/LibWeb/HTML/PopStateEvent.idl @@ -3,13 +3,13 @@ // https://html.spec.whatwg.org/multipage/nav-history-apis.html#popstateevent [Exposed=Window] interface PopStateEvent : Event { - constructor(DOMString type, optional PopStateEventInit eventInitDict = {}); + constructor(DOMString type, optional PopStateEventInit eventInitDict = {}); - readonly attribute any state; - [FIXME] readonly attribute boolean hasUAVisualTransition; + readonly attribute any state; + [FIXME] readonly attribute boolean hasUAVisualTransition; }; dictionary PopStateEventInit : EventInit { - any state = null; + any state = null; // FIXME: boolean hasUAVisualTransition = false; }; diff --git a/Userland/Libraries/LibWeb/NavigationTiming/PerformanceNavigation.idl b/Userland/Libraries/LibWeb/NavigationTiming/PerformanceNavigation.idl index 12f9bbe9ada..309291777d4 100644 --- a/Userland/Libraries/LibWeb/NavigationTiming/PerformanceNavigation.idl +++ b/Userland/Libraries/LibWeb/NavigationTiming/PerformanceNavigation.idl @@ -1,10 +1,10 @@ [Exposed=Window] interface PerformanceNavigation { - const unsigned short TYPE_NAVIGATE = 0; - const unsigned short TYPE_RELOAD = 1; - const unsigned short TYPE_BACK_FORWARD = 2; - const unsigned short TYPE_RESERVED = 255; - readonly attribute unsigned short type; - readonly attribute unsigned short redirectCount; - [Default] object toJSON(); -}; \ No newline at end of file + const unsigned short TYPE_NAVIGATE = 0; + const unsigned short TYPE_RELOAD = 1; + const unsigned short TYPE_BACK_FORWARD = 2; + const unsigned short TYPE_RESERVED = 255; + readonly attribute unsigned short type; + readonly attribute unsigned short redirectCount; + [Default] object toJSON(); +}; diff --git a/Userland/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl b/Userland/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl index 59d00459628..05c1c4e01bb 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl @@ -3,6 +3,6 @@ // https://svgwg.org/svg2-draft/single-page.html#coords-InterfaceSVGAnimatedTransformList [Exposed=Window] interface SVGAnimatedTransformList { - [SameObject] readonly attribute SVGTransformList baseVal; - [SameObject] readonly attribute SVGTransformList animVal; + [SameObject] readonly attribute SVGTransformList baseVal; + [SameObject] readonly attribute SVGTransformList animVal; }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.idl b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.idl index 037c6ebcf0a..f6dbf02f135 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.idl @@ -2,18 +2,18 @@ #import dictionary SVGBoundingBoxOptions { - boolean fill = true; - boolean stroke = false; - boolean markers = false; - boolean clipped = false; + boolean fill = true; + boolean stroke = false; + boolean markers = false; + boolean clipped = false; }; // https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement [Exposed=Window] interface SVGGraphicsElement : SVGElement { - [SameObject] readonly attribute SVGAnimatedTransformList transform; + [SameObject] readonly attribute SVGAnimatedTransformList transform; - DOMRect getBBox(optional SVGBoundingBoxOptions options = {}); - [FIXME] DOMMatrix? getCTM(); - [FIXME] DOMMatrix? getScreenCTM(); + DOMRect getBBox(optional SVGBoundingBoxOptions options = {}); + [FIXME] DOMMatrix? getCTM(); + [FIXME] DOMMatrix? getScreenCTM(); }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl b/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl index 7b60e012c25..188c7d20d95 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl @@ -4,8 +4,8 @@ // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGLinearGradientElement [Exposed=Window] interface SVGLinearGradientElement : SVGGradientElement { - [SameObject] readonly attribute SVGAnimatedLength x1; - [SameObject] readonly attribute SVGAnimatedLength y1; - [SameObject] readonly attribute SVGAnimatedLength x2; - [SameObject] readonly attribute SVGAnimatedLength y2; + [SameObject] readonly attribute SVGAnimatedLength x1; + [SameObject] readonly attribute SVGAnimatedLength y1; + [SameObject] readonly attribute SVGAnimatedLength x2; + [SameObject] readonly attribute SVGAnimatedLength y2; }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl b/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl index 4420d2840b2..e835a73182b 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl @@ -4,10 +4,10 @@ // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGRadialGradientElement [Exposed=Window] interface SVGRadialGradientElement : SVGGradientElement { - [SameObject] readonly attribute SVGAnimatedLength cx; - [SameObject] readonly attribute SVGAnimatedLength cy; - [SameObject] readonly attribute SVGAnimatedLength r; - [SameObject] readonly attribute SVGAnimatedLength fx; - [SameObject] readonly attribute SVGAnimatedLength fy; - [SameObject] readonly attribute SVGAnimatedLength fr; + [SameObject] readonly attribute SVGAnimatedLength cx; + [SameObject] readonly attribute SVGAnimatedLength cy; + [SameObject] readonly attribute SVGAnimatedLength r; + [SameObject] readonly attribute SVGAnimatedLength fx; + [SameObject] readonly attribute SVGAnimatedLength fy; + [SameObject] readonly attribute SVGAnimatedLength fr; }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.idl b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.idl index 02c31b5763f..d7c368cbee3 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.idl @@ -5,38 +5,38 @@ // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGSVGElement [Exposed=Window] interface SVGSVGElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; + [SameObject] readonly attribute SVGAnimatedLength x; + [SameObject] readonly attribute SVGAnimatedLength y; + [SameObject] readonly attribute SVGAnimatedLength width; + [SameObject] readonly attribute SVGAnimatedLength height; - attribute float currentScale; - [SameObject] readonly attribute DOMPointReadOnly currentTranslate; + attribute float currentScale; + [SameObject] readonly attribute DOMPointReadOnly currentTranslate; - NodeList getIntersectionList(DOMRectReadOnly rect, SVGElement? referenceElement); - NodeList getEnclosureList(DOMRectReadOnly rect, SVGElement? referenceElement); - boolean checkIntersection(SVGElement element, DOMRectReadOnly rect); - boolean checkEnclosure(SVGElement element, DOMRectReadOnly rect); + NodeList getIntersectionList(DOMRectReadOnly rect, SVGElement? referenceElement); + NodeList getEnclosureList(DOMRectReadOnly rect, SVGElement? referenceElement); + boolean checkIntersection(SVGElement element, DOMRectReadOnly rect); + boolean checkEnclosure(SVGElement element, DOMRectReadOnly rect); - undefined deselectAll(); + undefined deselectAll(); - // FIMXE: SVGNumber createSVGNumber(); - SVGLength createSVGLength(); - [FIXME] SVGAngle createSVGAngle(); - DOMPoint createSVGPoint(); - DOMMatrix createSVGMatrix(); - DOMRect createSVGRect(); - SVGTransform createSVGTransform(); - [FIXME] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {}); + // FIXME: SVGNumber createSVGNumber(); + SVGLength createSVGLength(); + [FIXME] SVGAngle createSVGAngle(); + DOMPoint createSVGPoint(); + DOMMatrix createSVGMatrix(); + DOMRect createSVGRect(); + SVGTransform createSVGTransform(); + [FIXME] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {}); - Element getElementById(DOMString elementId); + Element getElementById(DOMString elementId); - // Deprecated methods that have no effect when called, - // but which are kept for compatibility reasons. - unsigned long suspendRedraw(unsigned long maxWaitMilliseconds); - undefined unsuspendRedraw(unsigned long suspendHandleID); - undefined unsuspendRedrawAll(); - undefined forceRedraw(); + // Deprecated methods that have no effect when called, + // but which are kept for compatibility reasons. + unsigned long suspendRedraw(unsigned long maxWaitMilliseconds); + undefined unsuspendRedraw(unsigned long suspendHandleID); + undefined unsuspendRedrawAll(); + undefined forceRedraw(); }; SVGSVGElement includes SVGFitToViewBox; diff --git a/Userland/Libraries/LibWeb/SVG/SVGStopElement.idl b/Userland/Libraries/LibWeb/SVG/SVGStopElement.idl index 25c825c3187..6551e0d9668 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGStopElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGStopElement.idl @@ -4,5 +4,5 @@ // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGStopElement [Exposed=Window] interface SVGStopElement : SVGElement { - [SameObject] readonly attribute SVGAnimatedNumber offset; + [SameObject] readonly attribute SVGAnimatedNumber offset; }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGStyleElement.idl b/Userland/Libraries/LibWeb/SVG/SVGStyleElement.idl index fd8986a88a1..9b04543575b 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGStyleElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGStyleElement.idl @@ -4,9 +4,9 @@ // https://svgwg.org/svg2-draft/single-page.html#styling-InterfaceSVGStyleElement [Exposed=Window] interface SVGStyleElement : SVGElement { - [Reflect] attribute DOMString type; - [Reflect] attribute DOMString media; - [Reflect] attribute DOMString title; + [Reflect] attribute DOMString type; + [Reflect] attribute DOMString media; + [Reflect] attribute DOMString title; }; SVGStyleElement includes LinkStyle; diff --git a/Userland/Libraries/LibWeb/SVG/SVGTransformList.idl b/Userland/Libraries/LibWeb/SVG/SVGTransformList.idl index 0b9ed0deb99..6a4a5913c45 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGTransformList.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGTransformList.idl @@ -3,19 +3,19 @@ // https://svgwg.org/svg2-draft/single-page.html#coords-InterfaceSVGTransformList [Exposed=Window] interface SVGTransformList { - readonly attribute unsigned long length; - readonly attribute unsigned long numberOfItems; + readonly attribute unsigned long length; + readonly attribute unsigned long numberOfItems; - [FIXME] undefined clear(); + [FIXME] undefined clear(); // FIXME: SVGTransform initialize(SVGTransform newItem); - getter SVGTransform getItem(unsigned long index); - [FIXME] SVGTransform insertItemBefore(SVGTransform newItem, unsigned long index); - [FIXME] SVGTransform replaceItem(SVGTransform newItem, unsigned long index); - [FIXME] SVGTransform removeItem(unsigned long index); - SVGTransform appendItem(SVGTransform newItem); + getter SVGTransform getItem(unsigned long index); + [FIXME] SVGTransform insertItemBefore(SVGTransform newItem, unsigned long index); + [FIXME] SVGTransform replaceItem(SVGTransform newItem, unsigned long index); + [FIXME] SVGTransform removeItem(unsigned long index); + SVGTransform appendItem(SVGTransform newItem); // FIXME: setter undefined (unsigned long index, SVGTransform newItem); // Additional methods not common to other list interfaces. - [FIXME] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {}); - [FIXME] SVGTransform? consolidate(); + [FIXME] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {}); + [FIXME] SVGTransform? consolidate(); }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGUseElement.idl b/Userland/Libraries/LibWeb/SVG/SVGUseElement.idl index d6a96ff02ee..b17a098871f 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGUseElement.idl +++ b/Userland/Libraries/LibWeb/SVG/SVGUseElement.idl @@ -6,12 +6,12 @@ // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGUseElement [Exposed=Window] interface SVGUseElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; - [SameObject] readonly attribute SVGElement? instanceRoot; - [SameObject] readonly attribute SVGElement? animatedInstanceRoot; + [SameObject] readonly attribute SVGAnimatedLength x; + [SameObject] readonly attribute SVGAnimatedLength y; + [SameObject] readonly attribute SVGAnimatedLength width; + [SameObject] readonly attribute SVGAnimatedLength height; + [SameObject] readonly attribute SVGElement? instanceRoot; + [SameObject] readonly attribute SVGElement? animatedInstanceRoot; }; SVGUseElement includes SVGURIReference; diff --git a/Userland/Libraries/LibWeb/Streams/ReadableStream.idl b/Userland/Libraries/LibWeb/Streams/ReadableStream.idl index 589c5c272b6..e21898e637f 100644 --- a/Userland/Libraries/LibWeb/Streams/ReadableStream.idl +++ b/Userland/Libraries/LibWeb/Streams/ReadableStream.idl @@ -5,8 +5,8 @@ #import dictionary ReadableWritablePair { - required ReadableStream readable; - required WritableStream writable; + required ReadableStream readable; + required WritableStream writable; }; dictionary StreamPipeOptions {