10 background-color: blue;
11 -webkit-mask: url('../fast/backgrounds/resources/mask-left.png') no-repeat
0 0;
12 -webkit-mask-size:
100px
100px;
13 -webkit-transition-duration:
1s;
14 -webkit-transition-timing-function: linear;
18 -webkit-transition-property: -webkit-mask;
22 -webkit-mask-position:
20px
20px;
26 -webkit-transition-property: -webkit-mask-size;
30 -webkit-mask-size:
200px
200px;
34 <script src=
"../animations/resources/animation-test-helpers.js"></script>
35 <script type=
"text/javascript">
37 const expectedValues
= [
38 // [time, element-id, property, expected-value, tolerance]
39 [0.5, 'box', '-webkit-mask-position-x', [10], 4],
40 [0.5, 'box', '-webkit-mask-position-y', [10], 4],
41 [0.5, 'box2', '-webkit-mask-size', [150, 150], 20],
46 document
.getElementById('box').className
= 'box final';
47 document
.getElementById('box2').className
= 'box final';
50 runTransitionTest(expectedValues
, setupTest
);
55 <div id=
"box" class=
"box"></div>
56 <div id=
"box2" class=
"box"></div>