| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../resources/testharness.js"></script> | 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> | 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 | 4 |
| 5 <style> | 5 <style> |
| 6 @keyframes bgColorAnim { | 6 @keyframes bgColorAnim { |
| 7 from { | 7 from { |
| 8 background-color: blue; | 8 background-color: blue; |
| 9 } | 9 } |
| 10 to { | 10 to { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 target.offsetTop; // force recalc | 81 target.offsetTop; // force recalc |
| 82 | 82 |
| 83 assert_true( | 83 assert_true( |
| 84 internals.isAnimatedCSSPropertyUseCounted(document, "--x"), | 84 internals.isAnimatedCSSPropertyUseCounted(document, "--x"), |
| 85 'After applying the animation, custom property animation has been counted'
); | 85 'After applying the animation, custom property animation has been counted'
); |
| 86 assert_true( | 86 assert_true( |
| 87 internals.isAnimatedCSSPropertyUseCounted(document, "--y"), | 87 internals.isAnimatedCSSPropertyUseCounted(document, "--y"), |
| 88 'All custom property animations are counted together'); | 88 'All custom property animations are counted together'); |
| 89 }, 'Animating custom CSS properties causes UseCounter to be incremented.'); | 89 }, 'Animating custom CSS properties causes UseCounter to be incremented.'); |
| 90 </script> | 90 </script> |
| OLD | NEW |