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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/timing/timing-functions-neutral-keyframe.html

Issue 2979503002: Move animation timing tests to subdirectory (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 anim { 5 @keyframes anim {
6 from { animation-timing-function: linear; } 6 from { animation-timing-function: linear; }
7 to { left: 500px; } 7 to { left: 500px; }
8 } 8 }
9 9
10 #target { 10 #target {
11 animation: anim 10s -1s paused ease-in-out; 11 animation: anim 10s -1s paused ease-in-out;
12 left: 0px; 12 left: 0px;
13 position: absolute; 13 position: absolute;
14 } 14 }
15 </style> 15 </style>
16 <div id="target"></div> 16 <div id="target"></div>
17 <script> 17 <script>
18 test(function() { 18 test(function() {
19 assert_equals(parseInt(getComputedStyle(target).left), 50, 'left offset'); / / Should be linearly interpolated 19 assert_equals(parseInt(getComputedStyle(target).left), 50, 'left offset'); / / Should be linearly interpolated
20 }, "Check that explicitly specified timing functions in neutral keyframes over ride default"); 20 }, "Check that explicitly specified timing functions in neutral keyframes over ride default");
21 </script> 21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698