1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibWeb: Format all .idl files to use four space indentation

This commit is contained in:
Bastiaan van der Plaat 2024-01-17 21:03:20 +01:00 committed by Andreas Kling
parent d720fb8845
commit 5f5ac48908
21 changed files with 163 additions and 167 deletions

View file

@ -7,6 +7,7 @@
interface Animation : EventTarget {
constructor(optional AnimationEffect? effect = null,
optional AnimationTimeline? timeline);
attribute DOMString id;
attribute AnimationEffect? effect;
attribute AnimationTimeline? timeline;
@ -19,20 +20,18 @@ interface Animation : EventTarget {
readonly attribute Promise<Animation> ready;
readonly attribute Promise<Animation> finished;
// FIXME:
// attribute EventHandler onfinish;
// attribute EventHandler oncancel;
// attribute EventHandler onremove;
// FIXME: attribute EventHandler onfinish;
// FIXME: attribute EventHandler oncancel;
// FIXME: attribute EventHandler onremove;
// undefined cancel();
// undefined finish();
// undefined play();
// undefined pause();
// undefined updatePlaybackRate(double playbackRate);
// undefined reverse();
// undefined persist();
// [CEReactions]
// undefined commitStyles();
// FIXME: undefined cancel();
// FIXME: undefined finish();
// FIXME: undefined play();
// FIXME: undefined pause();
// FIXME: undefined updatePlaybackRate(double playbackRate);
// FIXME: undefined reverse();
// FIXME: undefined persist();
// FIXME: [CEReactions] undefined commitStyles();
};
// https://www.w3.org/TR/web-animations-1/#the-animationplaystate-enumeration

View file

@ -30,9 +30,7 @@ dictionary BaseKeyframe {
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffect-interface
[Exposed=Window]
interface KeyframeEffect : AnimationEffect {
constructor(Element? target,
object? keyframes,
optional (unrestricted double or KeyframeEffectOptions) options = {});
constructor(Element? target, object? keyframes, optional (unrestricted double or KeyframeEffectOptions) options = {});
constructor(KeyframeEffect source);
attribute Element? target;

View file

@ -4,7 +4,6 @@
// https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPathElement
[Exposed=Window]
interface SVGTextPathElement : SVGTextContentElement {
// textPath Method Types
const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0;
const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1;