summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/scroll-animations/crashtests/invalid-animation-range.html
blob: 43b23c93b607ac943d0c996f1baffed82dc5fbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<title>Invalid animation range</title>
<body onload="runTest()">
  <div id="target"></div>
</body>
<script src="../../web-animations/testcommon.js"></script>
<script>
  async function runTest() {
    const anim = target.animate(undefined, {rangeStart: "initial" });
    await waitForNextFrame();
    await waitForNextFrame();
  }
</script>