зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1049975 - Part 2: Make effect writable in Animation.webidl. r=smaug
MozReview-Commit-ID: HB4iWPXGkou --HG-- extra : rebase_source : a2c5053aeb25872af66ea9b609b0ac05cdf96c85
This commit is contained in:
Родитель
238f6f1f58
Коммит
3b4aa2e726
|
@ -98,6 +98,10 @@ public:
|
|||
void GetId(nsAString& aResult) const { aResult = mId; }
|
||||
void SetId(const nsAString& aId);
|
||||
KeyframeEffectReadOnly* GetEffect() const { return mEffect; }
|
||||
void SetEffect(AnimationEffectReadOnly* aEffect)
|
||||
{
|
||||
// TODO: Merged with SetEffect(KeyframeEffectReadOnly*) in the next patch.
|
||||
}
|
||||
void SetEffect(KeyframeEffectReadOnly* aEffect);
|
||||
AnimationTimeline* GetTimeline() const { return mTimeline; }
|
||||
void SetTimeline(AnimationTimeline* aTimeline);
|
||||
|
|
|
@ -17,9 +17,8 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
|
|||
optional AnimationTimeline? timeline)]
|
||||
interface Animation : EventTarget {
|
||||
attribute DOMString id;
|
||||
// Bug 1049975: Make 'effect' writeable
|
||||
[Func="nsDocument::IsWebAnimationsEnabled", Pure]
|
||||
readonly attribute AnimationEffectReadOnly? effect;
|
||||
attribute AnimationEffectReadOnly? effect;
|
||||
[Func="nsDocument::IsWebAnimationsEnabled"]
|
||||
attribute AnimationTimeline? timeline;
|
||||
[BinaryName="startTimeAsDouble"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче