summaryrefslogtreecommitdiffstats
path: root/dom/animation/test/crashtests/1611847.html
blob: 720ce1179b035cd8d78bedf221aeef2e0d37b7a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
  <style>
    * {
      transition-duration: 2s;
    }
  </style>
  <script>
    function start () {
      const element = document.createElementNS('', 's');
      const effect = new KeyframeEffect(document.documentElement, {}, 196);
      document.documentElement.setAttribute('style', 'padding-left:3');
      effect.updateTiming({ 'delay': 2723 });
      const animations = document.getAnimations();
      animations[0].effect = effect;
      animations[0].updatePlaybackRate(-129);
      effect.target = element;
    }

    document.addEventListener('DOMContentLoaded', start);
  </script>
</head>
</html>