blob: e51fc60fafa0d5e6143c226c604c394e1a5c9191 (
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
|
<!DOCTYPE html>
<html>
<head>
<title>Bug 1375812 - Interpolation between interpolatematrix and none tranform
</title>
<meta charset="UTF-8">
<style>
#target {
transition: all 10s linear;
transform: translateX(100px);
}
</style>
<script>
function go() {
var div = document.getElementById('target');
div.style.setProperty("transform", "rotate(60deg)", "");
window.getComputedStyle(div).transform;
div.style.setProperty("transform", "none", "");
}
</script>
</head>
<body onload="go()">
<div id="target"></div>
</body>
</html>
|