Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/animations/usecounters/use-count-SyntheticKeyframesInCompositedCSSAnimation.html

Issue 2971753002: Rename usecounter-tests directory to usecounters (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698