4 <title>Test that transition does not start when it shouldn't
</title>
7 background: url('resources/Aurora.jpg');
8 -webkit-background-size:
100%
100%;
9 font-family:
"Lucida Grande";
19 #features
> li
> .picture {
20 -webkit-transition-property: -webkit-transform;
21 -webkit-transition-duration:
500ms;
22 -webkit-transition-timing-function: ease-in;
23 -webkit-transform: rotate(-
5deg);
25 border:
5px solid white;
26 background-color: gray;
34 #features
> li.enabled
> .picture {
35 -webkit-transition-timing-function: ease-out;
36 -webkit-transform:rotate(
10deg);
39 #features
> li
> .description {
40 -webkit-transition-property: -webkit-transform;
41 -webkit-transition-duration:
560ms;
42 -webkit-transition-timing-function: ease-in;
45 background-color: black;
49 border:
3px solid white;
50 -webkit-border-radius:
9px;
57 #features
> li.enabled
> .description {
58 -webkit-transform:translate3d(
100px,
0,
0);
62 if (window
.layoutTestController
) {
63 layoutTestController
.waitUntilDone();
64 layoutTestController
.dumpAsText();
69 document
.getElementById("item").className
= "enabled";
70 setTimeout(check
, 1000);
75 var results
= document
.getElementById('results');
76 results
.innerHTML
+= s
+ '<br>';
81 var transform
= window
.getComputedStyle(document
.getElementById('description')).webkitTransform
;
82 if (transform
== "matrix(1, 0, 0, 1, 100, 0)")
83 log('transform="'+transform
+'" as expected: PASS');
85 log('transform="'+transform
+'", expected "matrix(1, 0, 0, 1, 100, 0)": FAIL');
87 if (window
.layoutTestController
)
88 layoutTestController
.notifyDone();
92 <body onload=
"init()">
96 <div class=
"picture"></div>
97 <div id=
"description" class=
"description">
98 <b>Spaces
</b> lets you group your application windows and banish
99 clutter completely. Leopard gives you a space for everything and
100 makes it easy to switch between your spaces. Start by simply
101 clicking the Spaces icon in the Dock.
105 <div id=
"results"></div>