blob: 72353a9692ab16e9356f84ad699bf2f615a16d2f (
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
25
26
27
28
|
<!doctype html>
<html class="reftest-wait">
<head>
<title>
Bug 1335998 - Handle {Interpolate, Accumulate}Matrix of mismatched transform lists
</title>
<style>
#target {
width: 100px; height: 100px;
background: blue;
transform: rotate(45deg);
}
</style>
</head>
<body>
<div id="target"></div>
</body>
<script>
var div = document.getElementById("target");
var animation = div.animate([ { transform: 'translateX(200px) scale(2.0)',
composite: 'accumulate' },
{ transform: 'rotate(-45deg)' } ],
2000);
animation.finished.then(function() {
document.documentElement.className = "";
});
</script>
</html>
|