summaryrefslogtreecommitdiffstats
path: root/dom/animation/test/crashtests/1656419.html
blob: 4e76cb0a555c920f7e4215cc20e15a7d54526478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html class="reftest-wait">
<style>
#target {
  width: 200vw;
  height: 200vh;
}
</style>
<div id="target"></div>
<script>
const animA = target.animate(
  { transform: 'translateX(100px)' },
  { duration: 50 }
);
const animB = target.animate(
  { transform: 'translateX(100px)', composite: 'add' },
  { duration: 100 }
);
animB.finished.then(() => {
  document.documentElement.classList.remove("reftest-wait");
});
</script>
</html>