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

Unified Diff: LayoutTests/webexposed/element-animate.html

Issue 96283002: Web Animations API: Start implementation of Element.animate(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test to check that animate() does not leak into stable. Created 7 years 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: LayoutTests/webexposed/element-animate.html
diff --git a/LayoutTests/webexposed/element-animate.html b/LayoutTests/webexposed/element-animate.html
new file mode 100644
index 0000000000000000000000000000000000000000..091b901544ef3407e9f929f1e247d6c1b011988a
--- /dev/null
+++ b/LayoutTests/webexposed/element-animate.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/js-test.js"></script>
+<script>
+description("Check that Element.animate() is not available without experimental web platform features enabled.");
+// The expectation is that this will fail in LayoutTests/webexposed (where flags are on)
+// and pass in LayoutTests/virtual/stable/webexposed (where flags are off).
Steve Block 2013/12/11 05:24:08 This comment is probably superfluous and likely to
rjwright 2013/12/11 05:44:47 Done.
+if ('animate' in Element.prototype)
+ testFailed("Element.animate() is exposed");
+else
+ testPassed("Element.animate() is not exposed.")
+</script>

Powered by Google App Engine
This is Rietveld 408576698