9 background-color: blue;
10 -webkit-box-shadow:
5px
5px
5px rgba(
0,
0,
0,
0.5);
11 -webkit-transition-duration:
0.1s;
12 -webkit-transition-timing-function: linear;
13 -webkit-transition-property: -webkit-box-shadow;
18 background-color: blue;
19 -webkit-transition-duration:
0.1s;
20 -webkit-transition-timing-function: linear;
21 -webkit-transition-property: -webkit-box-shadow;
25 if (window
.testRunner
) {
26 testRunner
.dumpAsText();
27 testRunner
.waitUntilDone();
32 var box1
= document
.getElementById('box1');
33 box1
.style
.webkitBoxShadow
= 'none';
34 var box2
= document
.getElementById('box2');
35 box2
.style
.webkitBoxShadow
= '5px 5px 5px rgba(0, 0, 0, 0.5)';
36 window
.setTimeout(function() {
37 document
.getElementById('result').innerHTML
= "PASS";
38 if (window
.testRunner
)
39 testRunner
.notifyDone();
43 window
.addEventListener('load', start
, false);
49 First box should transition to no shadow. Second should transition to a shadow.