summaryrefslogtreecommitdiffstats
path: root/layout/style/test/test_animations_pausing.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/test/test_animations_pausing.html')
-rw-r--r--layout/style/test/test_animations_pausing.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/style/test/test_animations_pausing.html b/layout/style/test/test_animations_pausing.html
new file mode 100644
index 000000000..65dee5b29
--- /dev/null
+++ b/layout/style/test/test_animations_pausing.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<html>
+<!--
+https://bugzilla.mozilla.org/show_bug.cgi?id=1070745
+-->
+<head>
+ <title>Test for play() and pause() on animations (Bug 1070745)</title>
+ <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
+ <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+</head>
+<body>
+<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1070745">Mozilla Bug 1070745</a>
+<div id="display"></div>
+<pre id="test">
+<script type="application/javascript">
+"use strict";
+
+SimpleTest.waitForExplicitFinish();
+
+SpecialPowers.pushPrefEnv(
+ { "set": [[ "dom.animations-api.core.enabled", true]] },
+ function() {
+ window.open("file_animations_pausing.html");
+ });
+</script>
+</pre>
+</body>
+</html>