6 -webkit-transition: all
1s linear;
7 background-color: #
00F;
8 border:
8px solid #F00;
10 outline:
8px solid #
0F0;
11 -webkit-column-rule-color: #
0F0;
12 -webkit-text-stroke-color: #
0F0;
13 -webkit-text-fill-color: #
0F0;
16 background-color: #
0F0;
17 border:
8px solid #
00F;
19 outline:
8px solid #F00;
20 -webkit-column-rule-color: #F00;
21 -webkit-text-stroke-color: #F00;
22 -webkit-text-fill-color: #
00F;
25 <script src=
"../animations/resources/animation-test-helpers.js"></script>
27 const expectedValues
= [
28 // [time, element-id, property, expected-value, tolerance]
29 [0.5, 'link', 'color', [127, 127, 0], 10],
30 [0.5, 'link', 'background-color', [0, 127, 127], 10],
31 [0.5, 'link', 'border-left-color', [127, 0, 127], 10],
32 [0.5, 'link', 'border-right-color', [127, 0, 127], 10],
33 [0.5, 'link', 'border-top-color', [127, 0, 127], 10],
34 [0.5, 'link', 'border-bottom-color', [127, 0, 127], 10],
35 [0.5, 'link', 'outline-color', [127, 127, 0], 10],
36 [0.5, 'link', '-webkit-column-rule-color', [127, 127, 0], 10],
37 [0.5, 'link', '-webkit-text-stroke-color', [127, 127, 0], 10],
38 [0.5, 'link', '-webkit-text-fill-color', [0, 0, 255], 0], // not animatable
42 document
.getElementById('link').className
= 'changed';
44 runTransitionTest(expectedValues
, setupTest
);
48 All the colors of the link below should be animating: