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

Unified Diff: LayoutTests/web-animations-api/element-animate-null-effect.html

Issue 254423004: Web Animations API: Element.animate should accept a null effect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | Source/core/animation/AnimationEffect.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/web-animations-api/element-animate-null-effect.html
diff --git a/LayoutTests/web-animations-api/element-animate-null-effect.html b/LayoutTests/web-animations-api/element-animate-null-effect.html
new file mode 100644
index 0000000000000000000000000000000000000000..a66e145d228e34457f1e763e4e9f16e9729d771b
--- /dev/null
+++ b/LayoutTests/web-animations-api/element-animate-null-effect.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+var element = document.documentElement;
+test(function() {
+ assert_true(element.animate(null) != null);
+ assert_true(element.animate(null, 1) != null);
+ assert_true(element.animate(null, {duration: 1}) != null);
+}, 'Animate should accept a null effect.');
+</script>
« no previous file with comments | « no previous file | Source/core/animation/AnimationEffect.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698