mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

1. Add AnimationEffectTimingReadOnly.webidl. 2. Add AnimationEffectTimingReadOnly cpp files. 3. Use AnimationEffectTimingReadOnly as KeyframeEffectReadOnly::mTiming. --HG-- extra : rebase_source : 0e9c112b70ae56f2bcdf162374388857518fc124 extra : amend_source : 0aebf0e9daac77542d913e4ad6a07c75e21a93b5
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* The origin of this IDL file is
|
|
* https://w3c.github.io/web-animations/#animationeffecttimingreadonly
|
|
*
|
|
* Copyright © 2015 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
* liability, trademark and document use rules apply.
|
|
*/
|
|
|
|
[Func="nsDocument::IsWebAnimationsEnabled"]
|
|
interface AnimationEffectTimingReadOnly {
|
|
readonly attribute double delay;
|
|
readonly attribute double endDelay;
|
|
readonly attribute FillMode fill;
|
|
readonly attribute double iterationStart;
|
|
readonly attribute unrestricted double iterations;
|
|
readonly attribute (unrestricted double or DOMString) duration;
|
|
readonly attribute PlaybackDirection direction;
|
|
readonly attribute DOMString easing;
|
|
};
|