mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Update web-platform-tests to revision bbfea06cb188fbe7b7004bd838ccbfb4f50f429c
This commit is contained in:
parent
8e783577d2
commit
ba8922cc76
2439 changed files with 5192 additions and 2611 deletions
|
@ -13,13 +13,13 @@ dictionary DocumentTimelineOptions {
|
|||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor (optional DocumentTimelineOptions options)]
|
||||
Constructor(optional DocumentTimelineOptions options)]
|
||||
interface DocumentTimeline : AnimationTimeline {
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor (optional AnimationEffect? effect = null,
|
||||
optional AnimationTimeline? timeline)]
|
||||
Constructor(optional AnimationEffect? effect = null,
|
||||
optional AnimationTimeline? timeline)]
|
||||
interface Animation : EventTarget {
|
||||
attribute DOMString id;
|
||||
attribute AnimationEffect? effect;
|
||||
|
@ -35,14 +35,14 @@ interface Animation : EventTarget {
|
|||
attribute EventHandler onfinish;
|
||||
attribute EventHandler oncancel;
|
||||
attribute EventHandler onremove;
|
||||
void cancel ();
|
||||
void finish ();
|
||||
void play ();
|
||||
void pause ();
|
||||
void updatePlaybackRate (double playbackRate);
|
||||
void reverse ();
|
||||
void persist ();
|
||||
void commitStyles ();
|
||||
void cancel();
|
||||
void finish();
|
||||
void play();
|
||||
void pause();
|
||||
void updatePlaybackRate(double playbackRate);
|
||||
void reverse();
|
||||
void persist();
|
||||
void commitStyles();
|
||||
};
|
||||
|
||||
enum AnimationPlayState { "idle", "running", "paused", "finished" };
|
||||
|
@ -91,16 +91,16 @@ dictionary ComputedEffectTiming : EffectTiming {
|
|||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor ((Element or CSSPseudoElement)? target,
|
||||
object? keyframes,
|
||||
optional (unrestricted double or KeyframeEffectOptions) options),
|
||||
Constructor (KeyframeEffect source)]
|
||||
Constructor((Element or CSSPseudoElement)? target,
|
||||
object? keyframes,
|
||||
optional (unrestricted double or KeyframeEffectOptions) options),
|
||||
Constructor(KeyframeEffect source)]
|
||||
interface KeyframeEffect : AnimationEffect {
|
||||
attribute (Element or CSSPseudoElement)? target;
|
||||
attribute IterationCompositeOperation iterationComposite;
|
||||
attribute CompositeOperation composite;
|
||||
sequence<object> getKeyframes ();
|
||||
void setKeyframes (object? keyframes);
|
||||
sequence<object> getKeyframes();
|
||||
void setKeyframes(object? keyframes);
|
||||
};
|
||||
|
||||
dictionary BaseComputedKeyframe {
|
||||
|
@ -127,23 +127,31 @@ dictionary KeyframeEffectOptions : EffectTiming {
|
|||
CompositeOperation composite = "replace";
|
||||
};
|
||||
|
||||
enum IterationCompositeOperation {"replace", "accumulate"};
|
||||
enum IterationCompositeOperation { "replace", "accumulate" };
|
||||
|
||||
enum CompositeOperation {"replace", "add", "accumulate"};
|
||||
enum CompositeOperation { "replace", "add", "accumulate" };
|
||||
|
||||
enum CompositeOperationOrAuto {"replace", "add", "accumulate", "auto"};
|
||||
enum CompositeOperationOrAuto { "replace", "add", "accumulate", "auto" };
|
||||
|
||||
interface mixin Animatable {
|
||||
Animation animate (object? keyframes,
|
||||
optional (unrestricted double or KeyframeAnimationOptions) options);
|
||||
sequence<Animation> getAnimations ();
|
||||
Animation animate(object? keyframes,
|
||||
optional (unrestricted double or KeyframeAnimationOptions) options);
|
||||
sequence<Animation> getAnimations(optional GetAnimationsOptions options);
|
||||
};
|
||||
|
||||
dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
|
||||
DOMString id = "";
|
||||
};
|
||||
|
||||
dictionary GetAnimationsOptions {
|
||||
boolean subtree = false;
|
||||
};
|
||||
|
||||
partial interface Document {
|
||||
readonly attribute DocumentTimeline timeline;
|
||||
};
|
||||
|
||||
partial interface mixin DocumentOrShadowRoot {
|
||||
sequence<Animation> getAnimations();
|
||||
};
|
||||
|
||||
|
@ -152,7 +160,7 @@ Element includes Animatable;
|
|||
CSSPseudoElement includes Animatable;
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor (DOMString type, optional AnimationPlaybackEventInit eventInitDict)]
|
||||
Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict)]
|
||||
interface AnimationPlaybackEvent : Event {
|
||||
readonly attribute double? currentTime;
|
||||
readonly attribute double? timelineTime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue