2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
5 #test1 { animation: anim
1s
0; }
6 #test2 { animation: anim
0 2s; }
12 assert_equals(getComputedStyle(test1
).animationIterationCount
, '0');
13 assert_equals(getComputedStyle(test2
).animationIterationCount
, '0');
14 assert_equals(getComputedStyle(test1
).animationDuration
, '1s');
15 assert_equals(getComputedStyle(test2
).animationDuration
, '2s');
16 }, 'Unitless 0 in animation shorthand should not be parsed as a delay or duration');