10 -webkit-animation: anim 1s linear infinite;
18 -webkit-animation: animShorthand 1s linear infinite;
26 list-style: square -webkit-cross-fade(url(resources/blue-100.png), url(resources/green-100.png), 50%);
28 @-webkit-keyframes anim {
29 from { list-style-image: url(resources/blue-100.png); }
30 to { list-style-image: url(resources/green-100.png); }
32 @-webkit-keyframes animShorthand {
33 from { list-style: square url(resources/blue-100.png); }
34 to { list-style: square url(resources/green-100.png); }
37 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
38 <script type="text/javascript" charset="utf-8">
39 const expectedValues = [
40 // [animation-name, time, element-id, property, expected-value, tolerance]
41 ["anim", 2.5, "box", "listStyleImage", 0.5, 0.05],
42 ["anim", 2.5, ["box", "static:boxStatic"], "listStyleImage", 0.5, 0.05],
43 ["animShorthand", 2.5, ["boxShorthand", "static:boxStatic"], "listStyleImage", 0.5, 0.05],
46 var doPixelTest = true;
47 var disablePauseAPI = false;
48 runAnimationTest(expectedValues, null, undefined, disablePauseAPI, doPixelTest);
52 <ul id="box"><li>one</li><li>two</li></ul>
53 <ul id="boxStatic"><li>one</li><li>two</li></ul>
54 <ul id="boxShorthand"><li>one</li><li>two</li></ul>
55 <div id="result"></div>