mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Meta: Ensure that idl files link to draft specs
This commit is contained in:
Notes:
github-actions[bot]
2026-03-25 16:03:18 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/bd915678636 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8588
@@ -1,33 +1,33 @@
|
||||
#import <Animations/AnimationEffect.idl>
|
||||
#import <DOM/Element.idl>
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-compositeoperation-enumeration
|
||||
// https://drafts.csswg.org/web-animations-1/#the-compositeoperation-enumeration
|
||||
enum CompositeOperation { "replace", "add", "accumulate" };
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#enumdef-compositeoperationorauto
|
||||
// https://drafts.csswg.org/web-animations-1/#enumdef-compositeoperationorauto
|
||||
enum CompositeOperationOrAuto { "replace", "add", "accumulate", "auto" };
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffectoptions-dictionary
|
||||
// https://drafts.csswg.org/web-animations-1/#the-keyframeeffectoptions-dictionary
|
||||
dictionary KeyframeEffectOptions : EffectTiming {
|
||||
CompositeOperation composite = "replace";
|
||||
CSSOMString? pseudoElement = null;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basepropertyindexedkeyframe
|
||||
// https://drafts.csswg.org/web-animations-1/#dictdef-basepropertyindexedkeyframe
|
||||
dictionary BasePropertyIndexedKeyframe {
|
||||
(double? or sequence<double?>) offset = [];
|
||||
(DOMString or sequence<DOMString>) easing = [];
|
||||
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basekeyframe
|
||||
// https://drafts.csswg.org/web-animations-1/#dictdef-basekeyframe
|
||||
dictionary BaseKeyframe {
|
||||
double? offset = null;
|
||||
DOMString easing = "linear";
|
||||
CompositeOperationOrAuto composite = "auto";
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffect-interface
|
||||
// https://drafts.csswg.org/web-animations-1/#the-keyframeeffect-interface
|
||||
[Exposed=Window]
|
||||
interface KeyframeEffect : AnimationEffect {
|
||||
constructor(Element? target, object? keyframes, optional (unrestricted double or KeyframeEffectOptions) options = {});
|
||||
|
||||
Reference in New Issue
Block a user