Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: Source/core/animation/ElementAnimation.idl

Issue 105273010: Web Animations API: Start implementation of timing input objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change treatment of invalid duration input Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/ElementAnimation.idl
diff --git a/Source/core/animation/ElementAnimation.idl b/Source/core/animation/ElementAnimation.idl
index 8bbbce7e0e2c61ee3bc645135dd6d9d3626779a3..4d7efd81c01f11ccc5002449b43093703a8b041b 100644
--- a/Source/core/animation/ElementAnimation.idl
+++ b/Source/core/animation/ElementAnimation.idl
@@ -28,8 +28,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- RuntimeEnabled=WebAnimationsAPI,
-] partial interface Element {
- Animation animate(sequence<Dictionary> keyframes, optional double duration);
+partial interface Element {
+ [Custom, RuntimeEnabled=WebAnimationsAPI] Animation animate(sequence<Dictionary> keyframes, optional any timingInput);
};

Powered by Google App Engine
This is Rietveld 408576698