10 border:
1px solid black;
13 background-repeat: no-repeat;
14 -webkit-transition-duration:
1s;
15 -webkit-transition-timing-function: linear;
16 -webkit-transition-property: box-shadow;
20 box-shadow: inset
10px
20px
4px gray;
24 box-shadow: inset
20px
10px
4px gray,
10px
10px
6px black;
28 <script src=
"../animations/resources/animation-test-helpers.js"></script>
29 <script type=
"text/javascript">
31 const expectedValues
= [
32 // [time, element-id, property, expected-value, tolerance]
33 [0.5, 'box', 'box-shadow', "rgb(128, 128, 128) 15px 15px 4px 0px inset, rgba(0, 0, 0, 0.5) 5px 5px 3px 0px", 4],
38 document
.getElementById('box').className
= 'box final';
41 runTransitionTest(expectedValues
, setupTest
);
46 <div id=
"box" class=
"box">BOX
</div>
47 <div id=
"result"></div>