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

Side by Side Diff: third_party/WebKit/ManualTests/animation/compositor-animation-direction.html

Issue 2715113003: CSS manual tests: reduce usage of webkit prefix (Closed)
Patch Set: Created 3 years, 9 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 <html> 1 <html>
2 <style> 2 <style>
3 div { 3 div {
4 position: relative; 4 position: relative;
5 height: 100px; 5 height: 100px;
6 width: 100px; 6 width: 100px;
7 background: blue; 7 background: blue;
8 transform: translateZ(0); 8 transform: translateZ(0);
9 -webkit-animation-duration: 2s; 9 animation-duration: 2s;
10 -webkit-animation-timing-function: linear; 10 animation-timing-function: linear;
11 -webkit-animation-fill-mode: both; 11 animation-fill-mode: both;
12 -webkit-animation-iteration-count: 2; 12 animation-iteration-count: 2;
13 } 13 }
14 14
15 .normal { 15 .normal {
16 -webkit-animation-direction: normal; 16 animation-direction: normal;
17 } 17 }
18 18
19 .reverse { 19 .reverse {
20 -webkit-animation-direction: reverse; 20 animation-direction: reverse;
21 } 21 }
22 22
23 .alternate { 23 .alternate {
24 -webkit-animation-direction: alternate; 24 animation-direction: alternate;
25 } 25 }
26 26
27 .alternate-reverse { 27 .alternate-reverse {
28 -webkit-animation-direction: alternate-reverse; 28 animation-direction: alternate-reverse;
29 } 29 }
30 30
31 .anim-left { 31 .anim-left {
32 -webkit-animation-name: anim-left; 32 animation-name: anim-left;
33 z-index: 100; 33 z-index: 100;
34 } 34 }
35 35
36 .anim-transform { 36 .anim-transform {
37 -webkit-animation-name: anim-transform; 37 animation-name: anim-transform;
38 z-index: 200; 38 z-index: 200;
39 } 39 }
40 40
41 @-webkit-keyframes anim-left { 41 @keyframes anim-left {
42 0% { 42 0% {
43 left: 0px; 43 left: 0px;
44 } 44 }
45 100% { 45 100% {
46 left: 300px; 46 left: 300px;
47 } 47 }
48 } 48 }
49 49
50 @-webkit-keyframes anim-transform { 50 @keyframes anim-transform {
51 0% { 51 0% {
52 transform: translateX(0px); 52 transform: translateX(0px);
53 } 53 }
54 100% { 54 100% {
55 transform: translateX(300px); 55 transform: translateX(300px);
56 } 56 }
57 } 57 }
58 </style> 58 </style>
59 <body> 59 <body>
60 <p> 60 <p>
(...skipping 21 matching lines...) Expand all
82 <div class='alternate anim-left'></div> 82 <div class='alternate anim-left'></div>
83 <div class='alternate anim-transform'></div> 83 <div class='alternate anim-transform'></div>
84 84
85 Direction alternate-reverse - backwards then forwards 85 Direction alternate-reverse - backwards then forwards
86 <br> 86 <br>
87 <div class='alternate-reverse anim-left'></div> 87 <div class='alternate-reverse anim-left'></div>
88 <div class='alternate-reverse anim-transform'></div> 88 <div class='alternate-reverse anim-transform'></div>
89 89
90 </body> 90 </body>
91 </html> 91 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698