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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/usecounters/animated-css-property-usecounter.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 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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698