test_animations_playbackrate.html 789 B

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE HTML>
  2. <html>
  3. <!--
  4. https://bugzilla.mozilla.org/show_bug.cgi?id=1175751
  5. -->
  6. <head>
  7. <title>Test for Animation.playbackRate on compositor animations (Bug 1175751)</title>
  8. <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  9. <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  10. </head>
  11. <body>
  12. <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1175751">Mozilla Bug 1175751</a>
  13. <div id="display"></div>
  14. <pre id="test">
  15. <script type="application/javascript">
  16. "use strict";
  17. SimpleTest.waitForExplicitFinish();
  18. SpecialPowers.pushPrefEnv(
  19. { "set": [[ "dom.animations-api.core.enabled", true]] },
  20. function() {
  21. window.open("file_animations_playbackrate.html");
  22. });
  23. </script>
  24. </pre>
  25. </body>
  26. </html>