dom/animation/test/crashtests/1272475-2.html
author Andy Leiserson <aleiserson@mozilla.com>
Sat, 19 Jul 2025 16:44:54 +0000 (11 hours ago)
changeset 797257 246e16bb06c941d6f64d807d43c807bfba04ae86
parent 306531 538b3f9574b73c4d445b4c424c24bbacdae35178
permissions -rw-r--r--
Bug 1976958 - Update wgpu to b83c9cf (2025-07-10) r=webgpu-reviewers,supply-chain-reviewers,teoxoy Differential Revision: https://phabricator.services.mozilla.com/D257047
<!doctype html>
<html>
  <head>
    <title>Bug 1272475 - rotate function with an extreme large value</title>
  <script>
    function test() {
      var div = document.createElement("div");
      div.setAttribute("style", "width: 100px; height: 100px; " +
                                "background: red;");
      document.body.appendChild(div);
      div.animate([ { "transform": "rotate(8rad)" },
                    { "transform": "rotate(9.5e+307rad)" },
                    { "transform": "rotate(32rad)" } ],
                  { "duration": 1000, "fill": "both" });
    }
  </script>
  </head>
  <body onload="test()">
  </body>
</html>