(node, className, cacheKey, properties)
| 878 | } |
| 879 | |
| 880 | function computeCachedCssStyles(node, className, cacheKey, properties) { |
| 881 | var timings = gcsLookup.get(cacheKey); |
| 882 | |
| 883 | if (!timings) { |
| 884 | timings = computeCssStyles($window, node, properties); |
| 885 | if (timings.animationIterationCount === 'infinite') { |
| 886 | timings.animationIterationCount = 1; |
| 887 | } |
| 888 | } |
| 889 | |
| 890 | // we keep putting this in multiple times even though the value and the cacheKey are the same |
| 891 | // because we're keeping an internal tally of how many duplicate animations are detected. |
| 892 | gcsLookup.put(cacheKey, timings); |
| 893 | return timings; |
| 894 | } |
| 895 | |
| 896 | function computeCachedCssStaggerStyles(node, className, cacheKey, properties) { |
| 897 | var stagger; |
no test coverage detected