24 list-style: square -webkit-cross-fade(url(resources/blue-
100.png), url(resources/green-
100.png),
50%);
26 @-webkit-keyframes anim {
27 from { list-style-image: url(resources/blue-
100.png); }
28 to { list-style-image: url(resources/green-
100.png); }
30 @-webkit-keyframes animShorthand {
31 from { list-style: square url(resources/blue-
100.png); }
32 to { list-style: square url(resources/green-
100.png); }
35 <script src=
"resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
36 <script type=
"text/javascript" charset=
"utf-8">
38 document.querySelector('#box').style.webkitAnimation =
"anim 1s linear infinite";
39 document.querySelector('#boxShorthand').style.webkitAnimation =
"animShorthand 1s linear infinite";
41 const expectedValues = [
42 // [time, element-id, property, expected-value, tolerance]
43 [
2.5, [
"box",
"boxStatic"],
"listStyleImage",
0.5,
0.05],
44 [
2.5, [
"boxShorthand",
"boxStatic"],
"listStyleImage",
0.5,
0.05],
47 var doPixelTest = true;
48 var disablePauseAPI = false;
49 runAnimationTest(expectedValues, null, undefined, disablePauseAPI, doPixelTest);
53 <body onload=
"runTest()">
54 <ul id=
"box"><li>one
</li><li>two
</li></ul>
55 <ul id=
"boxStatic"><li>one
</li><li>two
</li></ul>
56 <ul id=
"boxShorthand"><li>one
</li><li>two
</li></ul>
57 <div id=
"result"></div>