(node, className, cacheKey, properties)
| 897 | } |
| 898 | |
| 899 | function computeCachedCssStyles(node, className, cacheKey, properties) { |
| 900 | var timings = gcsLookup.get(cacheKey); |
| 901 | |
| 902 | if (!timings) { |
| 903 | timings = computeCssStyles($window, node, properties); |
| 904 | if (timings.animationIterationCount === 'infinite') { |
| 905 | timings.animationIterationCount = 1; |
| 906 | } |
| 907 | } |
| 908 | |
| 909 | // we keep putting this in multiple times even though the value and the cacheKey are the same |
| 910 | // because we're keeping an internal tally of how many duplicate animations are detected. |
| 911 | gcsLookup.put(cacheKey, timings); |
| 912 | return timings; |
| 913 | } |
| 914 | |
| 915 | function computeCachedCssStaggerStyles(node, className, cacheKey, properties) { |
| 916 | var stagger; |
no test coverage detected