| 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 <style> | 4 <style> |
| 5 @keyframes noSyntheticKeyframes { | 5 @keyframes noSyntheticKeyframes { |
| 6 from { color: black; } | 6 from { color: black; } |
| 7 to { color: green; } | 7 to { color: green; } |
| 8 } | 8 } |
| 9 @keyframes customPropertySyntheticKeyframes { | 9 @keyframes customPropertySyntheticKeyframes { |
| 10 to { --x: pants; } | 10 to { --x: pants; } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 target.style.animationName = 'nonCompositedSyntheticKeyframes'; | 49 target.style.animationName = 'nonCompositedSyntheticKeyframes'; |
| 50 forceStyleRecalc(); | 50 forceStyleRecalc(); |
| 51 assert_false(internals.isUseCounted(document, SyntheticKeyframesInCompositedCS
SAnimation), 'nonCompositedSyntheticKeyframes'); | 51 assert_false(internals.isUseCounted(document, SyntheticKeyframesInCompositedCS
SAnimation), 'nonCompositedSyntheticKeyframes'); |
| 52 | 52 |
| 53 target.style.animationName = 'compositedSyntheticKeyframes'; | 53 target.style.animationName = 'compositedSyntheticKeyframes'; |
| 54 forceStyleRecalc(); | 54 forceStyleRecalc(); |
| 55 assert_true(internals.isUseCounted(document, SyntheticKeyframesInCompositedCSS
Animation), 'compositedSyntheticKeyframes'); | 55 assert_true(internals.isUseCounted(document, SyntheticKeyframesInCompositedCSS
Animation), 'compositedSyntheticKeyframes'); |
| 56 }, 'The SyntheticKeyframesInCompositedCSSAnimation use counter should only be tr
iggered by animations with composited properties with neutral keyframes'); | 56 }, 'The SyntheticKeyframesInCompositedCSSAnimation use counter should only be tr
iggered by animations with composited properties with neutral keyframes'); |
| 57 </script> | 57 </script> |
| OLD | NEW |