layout/style/test/test_animations_with_disabled_properties.html
author Brian Birtles <birtles@gmail.com>
Thu, 21 Apr 2016 08:57:43 +0900
changeset 354494 036d56f4da74b77a1af1c65f2a1688f631939c12
permissions -rw-r--r--
Bug 1265611 - Add tests for CSS animations MozReview-Commit-ID: LTnRxQixqzJ

<!doctype html>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1265611
-->
<head>
  <title>Test CSS animations ignore disabled properties (Bug 1265611)</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=1265611">Mozilla Bug
   1265611</a>
<div id="display"></div>
<pre id="test">
<script>
'use strict';

SimpleTest.waitForExplicitFinish();

SpecialPowers.pushPrefEnv(
  { 'set': [[ 'dom.animations-api.core.enabled', true ],
            [ 'layout.css.prefixes.webkit', false ]] },
  function() {
    window.open('file_animations_with_disabled_properties.html');
  });
</script>
</pre>
</body>
</html>