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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/usecounters/animated-css-property-usecounter-for-transitions.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 #target { 6 #target {
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 transition: width 1s; 9 transition: width 1s;
10 } 10 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 waitForProgress().then(t.step_func_done(() => { 53 waitForProgress().then(t.step_func_done(() => {
54 assert_true( 54 assert_true(
55 internals.isAnimatedCSSPropertyUseCounted(document, "width"), 55 internals.isAnimatedCSSPropertyUseCounted(document, "width"),
56 'After triggering the transition, width has been counted'); 56 'After triggering the transition, width has been counted');
57 assert_false( 57 assert_false(
58 internals.isAnimatedCSSPropertyUseCounted(document, "height"), 58 internals.isAnimatedCSSPropertyUseCounted(document, "height"),
59 'Height is not animated, so not counted'); 59 'Height is not animated, so not counted');
60 })); 60 }));
61 }, 'Using CSS transitions causes UseCounter to be incremented.'); 61 }, 'Using CSS transitions causes UseCounter to be incremented.');
62 </script> 62 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698