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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/direction-and-fill/animation-direction-reverse-fill-mode.html

Issue 2975723002: Move direction and fill 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 <title>Test of animation-direction</title> 2 <title>Test of animation-direction</title>
3 <script src="../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
5 <style> 5 <style>
6 .box { 6 .box {
7 animation-delay: 1s; 7 animation-delay: 1s;
8 animation-direction: reverse; 8 animation-direction: reverse;
9 animation-duration: 1s; 9 animation-duration: 1s;
10 animation-name: anim; 10 animation-name: anim;
11 animation-timing-function: linear; 11 animation-timing-function: linear;
12 height: 100px; 12 height: 100px;
13 left: 100px; 13 left: 100px;
14 position: relative; 14 position: relative;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 backwards.style.animationDelay = '-5s'; 69 backwards.style.animationDelay = '-5s';
70 assert_equals(getComputedStyle(backwards).left, '100px'); 70 assert_equals(getComputedStyle(backwards).left, '100px');
71 71
72 forwards.style.animationDelay = '-5s'; 72 forwards.style.animationDelay = '-5s';
73 assert_equals(getComputedStyle(forwards).left, '200px'); 73 assert_equals(getComputedStyle(forwards).left, '200px');
74 74
75 both.style.animationDelay = '-5s'; 75 both.style.animationDelay = '-5s';
76 assert_equals(getComputedStyle(both).left, '200px'); 76 assert_equals(getComputedStyle(both).left, '200px');
77 }, "animation directions work with fill modes"); 77 }, "animation directions work with fill modes");
78 </script> 78 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698