summaryrefslogtreecommitdiffstats
path: root/dom/animation/test/crashtests/1575926.html
blob: cc37c94235127b0f07a853ed3131e9e87a1ac164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<style>
    @keyframes animation_0 {
        88% { }
    }

    * {
        animation-name: animation_0;
        animation-delay: 4s;
    }
</style>
<script>
  function start () {
    const input = document.createElement('input')
    document.documentElement.appendChild(input)
    const animations = input.getAnimations({})
    const animation = animations[(3782796448 % animations.length)]
    const effect = animation.effect
    effect.setKeyframes({ 'borderLeft': ['inherit'] })
    effect.target = null
    input.contentEditable = 'true'
  }

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