1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
7 <title>Interrupted Transitions on Transform Test
</title>
8 <style type=
"text/css" media=
"screen">
13 border:
1px solid black;
20 background-color: blue;
21 -webkit-transition: transform
3s linear;
22 transform: rotateX(
65deg) translateZ(
75px) rotateZ(
0deg);
23 transform-style: preserve-
3d;
30 border:
2px solid #F00;
31 transform: rotateX(
65deg) translateZ(
75px) rotateZ(
118deg);
32 transform-style: preserve-
3d;
39 border:
2px solid #
0F0;
40 transform: rotateX(
65deg) translateZ(
75px) rotateZ(
80deg);
41 transform-style: preserve-
3d;
44 <script type=
"text/javascript" charset=
"utf-8">
45 function setAngle(index)
47 var tester = document.getElementById('tester');
48 tester.style.transform =
"rotateX(65deg) translateZ(75px) rotateZ(" + index +
"deg)";
53 window.setTimeout(function() {
57 window.setTimeout(function() {
61 window.addEventListener('load', runTest, false);
65 In this test you should see a blue diamond spinning in the clockwise direction. After
1.5 seconds it should stop
66 close to the red outlne and then spin counterclockwise. After
3 more seconds it should stop close to the
67 position of the green outline.
68 (see:
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=26162">https://bugs.webkit.org/show_bug.cgi?id=
26162)
</a>