mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
LibWeb: Format all .idl files to use four space indentation
This commit is contained in:
parent
d720fb8845
commit
5f5ac48908
21 changed files with 163 additions and 167 deletions
|
@ -7,32 +7,31 @@
|
||||||
interface Animation : EventTarget {
|
interface Animation : EventTarget {
|
||||||
constructor(optional AnimationEffect? effect = null,
|
constructor(optional AnimationEffect? effect = null,
|
||||||
optional AnimationTimeline? timeline);
|
optional AnimationTimeline? timeline);
|
||||||
attribute DOMString id;
|
|
||||||
attribute AnimationEffect? effect;
|
|
||||||
attribute AnimationTimeline? timeline;
|
|
||||||
attribute double? startTime;
|
|
||||||
attribute double? currentTime;
|
|
||||||
attribute double playbackRate;
|
|
||||||
readonly attribute AnimationPlayState playState;
|
|
||||||
readonly attribute AnimationReplaceState replaceState;
|
|
||||||
readonly attribute boolean pending;
|
|
||||||
readonly attribute Promise<Animation> ready;
|
|
||||||
readonly attribute Promise<Animation> finished;
|
|
||||||
|
|
||||||
// FIXME:
|
attribute DOMString id;
|
||||||
// attribute EventHandler onfinish;
|
attribute AnimationEffect? effect;
|
||||||
// attribute EventHandler oncancel;
|
attribute AnimationTimeline? timeline;
|
||||||
// attribute EventHandler onremove;
|
attribute double? startTime;
|
||||||
|
attribute double? currentTime;
|
||||||
|
attribute double playbackRate;
|
||||||
|
readonly attribute AnimationPlayState playState;
|
||||||
|
readonly attribute AnimationReplaceState replaceState;
|
||||||
|
readonly attribute boolean pending;
|
||||||
|
readonly attribute Promise<Animation> ready;
|
||||||
|
readonly attribute Promise<Animation> finished;
|
||||||
|
|
||||||
// undefined cancel();
|
// FIXME: attribute EventHandler onfinish;
|
||||||
// undefined finish();
|
// FIXME: attribute EventHandler oncancel;
|
||||||
// undefined play();
|
// FIXME: attribute EventHandler onremove;
|
||||||
// undefined pause();
|
|
||||||
// undefined updatePlaybackRate(double playbackRate);
|
// FIXME: undefined cancel();
|
||||||
// undefined reverse();
|
// FIXME: undefined finish();
|
||||||
// undefined persist();
|
// FIXME: undefined play();
|
||||||
// [CEReactions]
|
// FIXME: undefined pause();
|
||||||
// undefined commitStyles();
|
// 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
|
// https://www.w3.org/TR/web-animations-1/#the-animationplaystate-enumeration
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
// https://www.w3.org/TR/web-animations-1/#the-effecttiming-dictionaries
|
// https://www.w3.org/TR/web-animations-1/#the-effecttiming-dictionaries
|
||||||
dictionary EffectTiming {
|
dictionary EffectTiming {
|
||||||
double delay = 0;
|
double delay = 0;
|
||||||
double endDelay = 0;
|
double endDelay = 0;
|
||||||
FillMode fill = "auto";
|
FillMode fill = "auto";
|
||||||
double iterationStart = 0.0;
|
double iterationStart = 0.0;
|
||||||
unrestricted double iterations = 1.0;
|
unrestricted double iterations = 1.0;
|
||||||
(unrestricted double or DOMString) duration = "auto";
|
(unrestricted double or DOMString) duration = "auto";
|
||||||
PlaybackDirection direction = "normal";
|
PlaybackDirection direction = "normal";
|
||||||
DOMString easing = "linear";
|
DOMString easing = "linear";
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#dictdef-optionaleffecttiming
|
// https://www.w3.org/TR/web-animations-1/#dictdef-optionaleffecttiming
|
||||||
dictionary OptionalEffectTiming {
|
dictionary OptionalEffectTiming {
|
||||||
double delay;
|
double delay;
|
||||||
double endDelay;
|
double endDelay;
|
||||||
FillMode fill;
|
FillMode fill;
|
||||||
double iterationStart;
|
double iterationStart;
|
||||||
unrestricted double iterations;
|
unrestricted double iterations;
|
||||||
(unrestricted double or DOMString) duration;
|
(unrestricted double or DOMString) duration;
|
||||||
PlaybackDirection direction;
|
PlaybackDirection direction;
|
||||||
DOMString easing;
|
DOMString easing;
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#the-fillmode-enumeration
|
// https://www.w3.org/TR/web-animations-1/#the-fillmode-enumeration
|
||||||
|
@ -30,17 +30,17 @@ enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" }
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#the-computedeffecttiming-dictionary
|
// https://www.w3.org/TR/web-animations-1/#the-computedeffecttiming-dictionary
|
||||||
dictionary ComputedEffectTiming : EffectTiming {
|
dictionary ComputedEffectTiming : EffectTiming {
|
||||||
unrestricted double endTime;
|
unrestricted double endTime;
|
||||||
unrestricted double activeDuration;
|
unrestricted double activeDuration;
|
||||||
double? localTime;
|
double? localTime;
|
||||||
double? progress;
|
double? progress;
|
||||||
unrestricted double? currentIteration;
|
unrestricted double? currentIteration;
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#the-animationeffect-interface
|
// https://www.w3.org/TR/web-animations-1/#the-animationeffect-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface AnimationEffect {
|
interface AnimationEffect {
|
||||||
EffectTiming getTiming();
|
EffectTiming getTiming();
|
||||||
ComputedEffectTiming getComputedTiming();
|
ComputedEffectTiming getComputedTiming();
|
||||||
undefined updateTiming(optional OptionalEffectTiming timing = {});
|
undefined updateTiming(optional OptionalEffectTiming timing = {});
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#dictdef-documenttimelineoptions
|
// https://www.w3.org/TR/web-animations-1/#dictdef-documenttimelineoptions
|
||||||
dictionary DocumentTimelineOptions {
|
dictionary DocumentTimelineOptions {
|
||||||
DOMHighResTimeStamp originTime = 0;
|
DOMHighResTimeStamp originTime = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#documenttimeline
|
// https://www.w3.org/TR/web-animations-1/#documenttimeline
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface DocumentTimeline : AnimationTimeline {
|
interface DocumentTimeline : AnimationTimeline {
|
||||||
constructor(optional DocumentTimelineOptions options = {});
|
constructor(optional DocumentTimelineOptions options = {});
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,34 +10,32 @@ enum CompositeOperationOrAuto { "replace", "add", "accumulate", "auto" };
|
||||||
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffectoptions-dictionary
|
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffectoptions-dictionary
|
||||||
dictionary KeyframeEffectOptions : EffectTiming {
|
dictionary KeyframeEffectOptions : EffectTiming {
|
||||||
CompositeOperation composite = "replace";
|
CompositeOperation composite = "replace";
|
||||||
CSSOMString? pseudoElement = null;
|
CSSOMString? pseudoElement = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basepropertyindexedkeyframe
|
// https://www.w3.org/TR/web-animations-1/#dictdef-basepropertyindexedkeyframe
|
||||||
dictionary BasePropertyIndexedKeyframe {
|
dictionary BasePropertyIndexedKeyframe {
|
||||||
(double? or sequence<double?>) offset = [];
|
(double? or sequence<double?>) offset = [];
|
||||||
(DOMString or sequence<DOMString>) easing = [];
|
(DOMString or sequence<DOMString>) easing = [];
|
||||||
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
|
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basekeyframe
|
// https://www.w3.org/TR/web-animations-1/#dictdef-basekeyframe
|
||||||
dictionary BaseKeyframe {
|
dictionary BaseKeyframe {
|
||||||
double? offset = null;
|
double? offset = null;
|
||||||
DOMString easing = "linear";
|
DOMString easing = "linear";
|
||||||
CompositeOperationOrAuto composite = "auto";
|
CompositeOperationOrAuto composite = "auto";
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffect-interface
|
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffect-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface KeyframeEffect : AnimationEffect {
|
interface KeyframeEffect : AnimationEffect {
|
||||||
constructor(Element? target,
|
constructor(Element? target, object? keyframes, optional (unrestricted double or KeyframeEffectOptions) options = {});
|
||||||
object? keyframes,
|
|
||||||
optional (unrestricted double or KeyframeEffectOptions) options = {});
|
|
||||||
constructor(KeyframeEffect source);
|
constructor(KeyframeEffect source);
|
||||||
|
|
||||||
attribute Element? target;
|
attribute Element? target;
|
||||||
attribute CSSOMString? pseudoElement;
|
attribute CSSOMString? pseudoElement;
|
||||||
attribute CompositeOperation composite;
|
attribute CompositeOperation composite;
|
||||||
sequence<object> getKeyframes();
|
sequence<object> getKeyframes();
|
||||||
undefined setKeyframes(object? keyframes);
|
undefined setKeyframes(object? keyframes);
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
// https://www.w3.org/TR/cssom/#the-cssnamespacerule-interface
|
// https://www.w3.org/TR/cssom/#the-cssnamespacerule-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface CSSNamespaceRule : CSSRule {
|
interface CSSNamespaceRule : CSSRule {
|
||||||
readonly attribute CSSOMString namespaceURI;
|
readonly attribute CSSOMString namespaceURI;
|
||||||
readonly attribute CSSOMString prefix;
|
readonly attribute CSSOMString prefix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
// https://w3c.github.io/clipboard-apis/#clipboard
|
// https://w3c.github.io/clipboard-apis/#clipboard
|
||||||
[SecureContext, Exposed=Window]
|
[SecureContext, Exposed=Window]
|
||||||
interface Clipboard : EventTarget {
|
interface Clipboard : EventTarget {
|
||||||
// FIXME: Promise<ClipboardItems> read();
|
// FIXME: Promise<ClipboardItems> read();
|
||||||
// FIXME: Promise<DOMString> readText();
|
// FIXME: Promise<DOMString> readText();
|
||||||
// FIXME: Promise<undefined> write(ClipboardItems data);
|
// FIXME: Promise<undefined> write(ClipboardItems data);
|
||||||
Promise<undefined> writeText(DOMString data);
|
Promise<undefined> writeText(DOMString data);
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
typedef (object or DOMString) AlgorithmIdentifier;
|
typedef (object or DOMString) AlgorithmIdentifier;
|
||||||
|
|
||||||
dictionary Algorithm {
|
dictionary Algorithm {
|
||||||
required DOMString name;
|
required DOMString name;
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://w3c.github.io/webcrypto/#subtlecrypto-interface
|
// https://w3c.github.io/webcrypto/#subtlecrypto-interface
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection
|
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface HTMLFormControlsCollection : HTMLCollection {
|
interface HTMLFormControlsCollection : HTMLCollection {
|
||||||
[ImplementedAs=named_item_or_radio_node_list] getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()
|
[ImplementedAs=named_item_or_radio_node_list] getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,50 +7,50 @@
|
||||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigateevent-interface
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigateevent-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface NavigateEvent : Event {
|
interface NavigateEvent : Event {
|
||||||
constructor(DOMString type, NavigateEventInit eventInitDict);
|
constructor(DOMString type, NavigateEventInit eventInitDict);
|
||||||
|
|
||||||
readonly attribute NavigationType navigationType;
|
readonly attribute NavigationType navigationType;
|
||||||
readonly attribute NavigationDestination destination;
|
readonly attribute NavigationDestination destination;
|
||||||
readonly attribute boolean canIntercept;
|
readonly attribute boolean canIntercept;
|
||||||
readonly attribute boolean userInitiated;
|
readonly attribute boolean userInitiated;
|
||||||
readonly attribute boolean hashChange;
|
readonly attribute boolean hashChange;
|
||||||
readonly attribute AbortSignal signal;
|
readonly attribute AbortSignal signal;
|
||||||
readonly attribute FormData? formData;
|
readonly attribute FormData? formData;
|
||||||
readonly attribute DOMString? downloadRequest;
|
readonly attribute DOMString? downloadRequest;
|
||||||
readonly attribute any info;
|
readonly attribute any info;
|
||||||
readonly attribute boolean hasUAVisualTransition;
|
readonly attribute boolean hasUAVisualTransition;
|
||||||
|
|
||||||
undefined intercept(optional NavigationInterceptOptions options = {});
|
undefined intercept(optional NavigationInterceptOptions options = {});
|
||||||
undefined scroll();
|
undefined scroll();
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigateEventInit : EventInit {
|
dictionary NavigateEventInit : EventInit {
|
||||||
NavigationType navigationType = "push";
|
NavigationType navigationType = "push";
|
||||||
required NavigationDestination destination;
|
required NavigationDestination destination;
|
||||||
boolean canIntercept = false;
|
boolean canIntercept = false;
|
||||||
boolean userInitiated = false;
|
boolean userInitiated = false;
|
||||||
boolean hashChange = false;
|
boolean hashChange = false;
|
||||||
required AbortSignal signal;
|
required AbortSignal signal;
|
||||||
FormData? formData = null;
|
FormData? formData = null;
|
||||||
DOMString? downloadRequest = null;
|
DOMString? downloadRequest = null;
|
||||||
any info;
|
any info;
|
||||||
boolean hasUAVisualTransition = false;
|
boolean hasUAVisualTransition = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigationInterceptOptions {
|
dictionary NavigationInterceptOptions {
|
||||||
NavigationInterceptHandler handler;
|
NavigationInterceptHandler handler;
|
||||||
NavigationFocusReset focusReset;
|
NavigationFocusReset focusReset;
|
||||||
NavigationScrollBehavior scroll;
|
NavigationScrollBehavior scroll;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum NavigationFocusReset {
|
enum NavigationFocusReset {
|
||||||
"after-transition",
|
"after-transition",
|
||||||
"manual"
|
"manual"
|
||||||
};
|
};
|
||||||
|
|
||||||
enum NavigationScrollBehavior {
|
enum NavigationScrollBehavior {
|
||||||
"after-transition",
|
"after-transition",
|
||||||
"manual"
|
"manual"
|
||||||
};
|
};
|
||||||
|
|
||||||
callback NavigationInterceptHandler = Promise<undefined> ();
|
callback NavigationInterceptHandler = Promise<undefined> ();
|
||||||
|
|
|
@ -6,51 +6,51 @@
|
||||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface Navigation : EventTarget {
|
interface Navigation : EventTarget {
|
||||||
sequence<NavigationHistoryEntry> entries();
|
sequence<NavigationHistoryEntry> entries();
|
||||||
readonly attribute NavigationHistoryEntry? currentEntry;
|
readonly attribute NavigationHistoryEntry? currentEntry;
|
||||||
undefined updateCurrentEntry(NavigationUpdateCurrentEntryOptions options);
|
undefined updateCurrentEntry(NavigationUpdateCurrentEntryOptions options);
|
||||||
readonly attribute NavigationTransition? transition;
|
readonly attribute NavigationTransition? transition;
|
||||||
|
|
||||||
readonly attribute boolean canGoBack;
|
readonly attribute boolean canGoBack;
|
||||||
readonly attribute boolean canGoForward;
|
readonly attribute boolean canGoForward;
|
||||||
|
|
||||||
NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {});
|
NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {});
|
||||||
NavigationResult reload(optional NavigationReloadOptions options = {});
|
NavigationResult reload(optional NavigationReloadOptions options = {});
|
||||||
|
|
||||||
NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {});
|
NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {});
|
||||||
NavigationResult back(optional NavigationOptions options = {});
|
NavigationResult back(optional NavigationOptions options = {});
|
||||||
NavigationResult forward(optional NavigationOptions options = {});
|
NavigationResult forward(optional NavigationOptions options = {});
|
||||||
|
|
||||||
attribute EventHandler onnavigate;
|
attribute EventHandler onnavigate;
|
||||||
attribute EventHandler onnavigatesuccess;
|
attribute EventHandler onnavigatesuccess;
|
||||||
attribute EventHandler onnavigateerror;
|
attribute EventHandler onnavigateerror;
|
||||||
attribute EventHandler oncurrententrychange;
|
attribute EventHandler oncurrententrychange;
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigationUpdateCurrentEntryOptions {
|
dictionary NavigationUpdateCurrentEntryOptions {
|
||||||
required any state;
|
required any state;
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigationOptions {
|
dictionary NavigationOptions {
|
||||||
any info;
|
any info;
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigationNavigateOptions : NavigationOptions {
|
dictionary NavigationNavigateOptions : NavigationOptions {
|
||||||
any state;
|
any state;
|
||||||
NavigationHistoryBehavior history = "auto";
|
NavigationHistoryBehavior history = "auto";
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigationReloadOptions : NavigationOptions {
|
dictionary NavigationReloadOptions : NavigationOptions {
|
||||||
any state;
|
any state;
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary NavigationResult {
|
dictionary NavigationResult {
|
||||||
Promise<NavigationHistoryEntry> committed;
|
Promise<NavigationHistoryEntry> committed;
|
||||||
Promise<NavigationHistoryEntry> finished;
|
Promise<NavigationHistoryEntry> finished;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum NavigationHistoryBehavior {
|
enum NavigationHistoryBehavior {
|
||||||
"auto",
|
"auto",
|
||||||
"push",
|
"push",
|
||||||
"replace"
|
"replace"
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationdestination-interface
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationdestination-interface
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface NavigationDestination {
|
interface NavigationDestination {
|
||||||
readonly attribute USVString url;
|
readonly attribute USVString url;
|
||||||
readonly attribute DOMString key;
|
readonly attribute DOMString key;
|
||||||
readonly attribute DOMString id;
|
readonly attribute DOMString id;
|
||||||
readonly attribute long long index;
|
readonly attribute long long index;
|
||||||
readonly attribute boolean sameDocument;
|
readonly attribute boolean sameDocument;
|
||||||
|
|
||||||
any getState();
|
any getState();
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface NavigationHistoryEntry : EventTarget {
|
interface NavigationHistoryEntry : EventTarget {
|
||||||
readonly attribute USVString? url;
|
readonly attribute USVString? url;
|
||||||
readonly attribute DOMString key;
|
readonly attribute DOMString key;
|
||||||
readonly attribute DOMString id;
|
readonly attribute DOMString id;
|
||||||
readonly attribute long long index;
|
readonly attribute long long index;
|
||||||
readonly attribute boolean sameDocument;
|
readonly attribute boolean sameDocument;
|
||||||
|
|
||||||
any getState();
|
any getState();
|
||||||
|
|
||||||
attribute EventHandler ondispose;
|
attribute EventHandler ondispose;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// https://html.spec.whatwg.org/#navigationtransition
|
// https://html.spec.whatwg.org/#navigationtransition
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface NavigationTransition {
|
interface NavigationTransition {
|
||||||
readonly attribute NavigationType navigationType;
|
readonly attribute NavigationType navigationType;
|
||||||
readonly attribute NavigationHistoryEntry from;
|
readonly attribute NavigationHistoryEntry from;
|
||||||
readonly attribute Promise<undefined> finished;
|
readonly attribute Promise<undefined> finished;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype
|
||||||
enum NavigationType {
|
enum NavigationType {
|
||||||
"push",
|
"push",
|
||||||
"replace",
|
"replace",
|
||||||
"reload",
|
"reload",
|
||||||
"traverse"
|
"traverse"
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// https://html.spec.whatwg.org/multipage/workers.html#navigatorconcurrenthardware
|
// https://html.spec.whatwg.org/multipage/workers.html#navigatorconcurrenthardware
|
||||||
interface mixin NavigatorConcurrentHardware {
|
interface mixin NavigatorConcurrentHardware {
|
||||||
readonly attribute unsigned long long hardwareConcurrency;
|
readonly attribute unsigned long long hardwareConcurrency;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorid
|
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorid
|
||||||
interface mixin NavigatorID {
|
interface mixin NavigatorID {
|
||||||
readonly attribute DOMString appCodeName; // constant "Mozilla"
|
readonly attribute DOMString appCodeName; // constant "Mozilla"
|
||||||
readonly attribute DOMString appName; // constant "Netscape"
|
readonly attribute DOMString appName; // constant "Netscape"
|
||||||
readonly attribute DOMString appVersion;
|
readonly attribute DOMString appVersion;
|
||||||
readonly attribute DOMString platform;
|
readonly attribute DOMString platform;
|
||||||
readonly attribute DOMString product; // constant "Gecko"
|
readonly attribute DOMString product; // constant "Gecko"
|
||||||
[Exposed=Window] readonly attribute DOMString productSub;
|
[Exposed=Window] readonly attribute DOMString productSub;
|
||||||
readonly attribute DOMString userAgent;
|
readonly attribute DOMString userAgent;
|
||||||
[Exposed=Window] readonly attribute DOMString vendor;
|
[Exposed=Window] readonly attribute DOMString vendor;
|
||||||
[Exposed=Window] readonly attribute DOMString vendorSub; // constant ""
|
[Exposed=Window] readonly attribute DOMString vendorSub; // constant ""
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// https://html.spec.whatwg.org/multipage/system-state.html#navigatoronline
|
// https://html.spec.whatwg.org/multipage/system-state.html#navigatoronline
|
||||||
interface mixin NavigatorOnLine {
|
interface mixin NavigatorOnLine {
|
||||||
readonly attribute boolean onLine;
|
readonly attribute boolean onLine;
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,5 +10,5 @@ interface SubmitEvent : Event {
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary SubmitEventInit : EventInit {
|
dictionary SubmitEventInit : EventInit {
|
||||||
HTMLElement? submitter = null;
|
HTMLElement? submitter = null;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedNumber
|
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedNumber
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface SVGAnimatedNumber {
|
interface SVGAnimatedNumber {
|
||||||
attribute float baseVal;
|
attribute float baseVal;
|
||||||
readonly attribute float animVal;
|
readonly attribute float animVal;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedString
|
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedString
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface SVGAnimatedString {
|
interface SVGAnimatedString {
|
||||||
attribute DOMString baseVal;
|
attribute DOMString baseVal;
|
||||||
[ImplementedAs=base_val] readonly attribute DOMString animVal;
|
[ImplementedAs=base_val] readonly attribute DOMString animVal;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,20 +4,19 @@
|
||||||
// https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPathElement
|
// https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPathElement
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface SVGTextPathElement : SVGTextContentElement {
|
interface SVGTextPathElement : SVGTextContentElement {
|
||||||
|
// textPath Method Types
|
||||||
|
const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0;
|
||||||
|
const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1;
|
||||||
|
const unsigned short TEXTPATH_METHODTYPE_STRETCH = 2;
|
||||||
|
|
||||||
// textPath Method Types
|
// textPath Spacing Types
|
||||||
const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0;
|
const unsigned short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
|
||||||
const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1;
|
const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
|
||||||
const unsigned short TEXTPATH_METHODTYPE_STRETCH = 2;
|
const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
|
||||||
|
|
||||||
// textPath Spacing Types
|
// FIXME: [SameObject] readonly attribute SVGAnimatedLength startOffset;
|
||||||
const unsigned short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
|
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration method;
|
||||||
const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
|
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration spacing;
|
||||||
const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
|
|
||||||
|
|
||||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLength startOffset;
|
|
||||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration method;
|
|
||||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration spacing;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
SVGTextPathElement includes SVGURIReference;
|
SVGTextPathElement includes SVGURIReference;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue