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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/usecounters/use-count-stacked-neutral-keyframe.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 #target { 5 #target {
6 animation-name: a, b; 6 animation-name: a, b;
7 animation-duration: 1e10s; 7 animation-duration: 1e10s;
8 } 8 }
9 9
10 @keyframes a { 10 @keyframes a {
(...skipping 11 matching lines...) Expand all
22 var CSSAnimationsStackedNeutralKeyframe = 937; // From UseCounter.h 22 var CSSAnimationsStackedNeutralKeyframe = 937; // From UseCounter.h
23 test(function() { 23 test(function() {
24 getComputedStyle(target).left; // Force style recalc; 24 getComputedStyle(target).left; // Force style recalc;
25 assert_false(internals.isUseCounted(document, CSSAnimationsStackedNeutralKeyfr ame)); 25 assert_false(internals.isUseCounted(document, CSSAnimationsStackedNeutralKeyfr ame));
26 26
27 document.styleSheets[0].rules[2].deleteRule('from'); 27 document.styleSheets[0].rules[2].deleteRule('from');
28 getComputedStyle(target).left; // Force style recalc; 28 getComputedStyle(target).left; // Force style recalc;
29 assert_true(internals.isUseCounted(document, CSSAnimationsStackedNeutralKeyfra me)); 29 assert_true(internals.isUseCounted(document, CSSAnimationsStackedNeutralKeyfra me));
30 }); 30 });
31 </script> 31 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/usecounters/use-count-SyntheticKeyframesInCompositedCSSAnimation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698