summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1319072-1.html
blob: f6c13305596a20b366dbfeeac0af5e04f55e651e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html class="reftest-wait">
<title>Interpolation of decomposed matrices</title>
<style>
#target {
  width: 100px; height: 100px;
  background: blue;
  animation: anim 0.1s cubic-bezier(0,1.5,1,1.5);
}
@keyframes anim {
  from { transform: matrix(1, 0, 0, 1, 100, 200); }
  to { transform: matrix(1, 0, 0, 1, 200, 100); }
}
</style>
<div id="target"></div>
<script>
document.getElementById("target").addEventListener("animationend", () => {
  document.documentElement.classList.remove("reftest-wait");
});
</script>