10 border:
1px solid black;
11 background-repeat: no-repeat;
12 -webkit-mask-repeat: no-repeat;
13 -webkit-transition-duration:
1s;
14 -webkit-transition-timing-function: linear;
15 -webkit-transition-property: -webkit-background-size, -webkit-mask-size;
19 background-image: url('../fast/backgrounds/repeat/resources/gradient.gif'), url('../fast/backgrounds/repeat/resources/gradient.gif');
20 background-position:
0 0,
50px
50px;
21 -webkit-background-size:
0%
0%,
50%
50%;
25 -webkit-background-size:
50%
50%,
0%
0%;
29 background-color: gray;
30 -webkit-mask-image: url('../fast/backgrounds/repeat/resources/gradient.gif'), url('../fast/backgrounds/repeat/resources/gradient.gif');
31 -webkit-mask-position:
0 0,
50px
50px;
32 -webkit-mask-size:
0%
0%,
50%
50%;
36 -webkit-mask-size:
50%
50%,
0%
0%;
40 <script src=
"../animations/resources/animation-test-helpers.js"></script>
41 <script type=
"text/javascript">
43 const expectedValues
= [
44 // [time, element-id, property, expected-value, tolerance]
45 [0.5, 'box', '-webkit-background-size', "25% 25%, 25% 25%", 4],
46 [0.5, 'box1', '-webkit-mask-size', "25% 25%, 25% 25%", 4],
51 document
.getElementById('box').className
= 'box final';
52 document
.getElementById('box1').className
= 'box final';
55 runTransitionTest(expectedValues
, setupTest
);
60 <div id=
"box" class=
"box"></div>
61 <div id=
"box1" class=
"box"></div>