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

Side by Side Diff: third_party/WebKit/ManualTests/animation/animation-direction-reverse-timing-functions-hardware.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 <!doctype html> 1 <!doctype html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <style> 4 <style>
5 .wrapper { 5 .wrapper {
6 margin-bottom: 20px; 6 margin-bottom: 20px;
7 } 7 }
8 .wrapper div { 8 .wrapper div {
9 height: 18px; 9 height: 18px;
10 width: 200px; 10 width: 200px;
11 color: white; 11 color: white;
12 } 12 }
13 .expected { 13 .expected {
14 background-color: red; 14 background-color: red;
15 } 15 }
16 .animated { 16 .animated {
17 background-color: green; 17 background-color: green;
18 /* This timing function has value 0 at inputs of 1/3 and 2/3. Chosen becau se it's very asymmetric about x = y. */ 18 /* This timing function has value 0 at inputs of 1/3 and 2/3. Chosen becau se it's very asymmetric about x = y. */
19 -webkit-animation: move 3000000s 2 cubic-bezier(0.333333, 0.333333, 0.6666 66, -0.833333) forwards; 19 animation: move 3000000s 2 cubic-bezier(0.333333, 0.333333, 0.666666, -0.8 33333) forwards;
20 margin-bottom: 4px; 20 margin-bottom: 4px;
21 } 21 }
22 22
23 .delay_zero { 23 .delay_zero {
24 -webkit-animation-delay: 0s; 24 animation-delay: 0s;
25 } 25 }
26 .delay_one_third { 26 .delay_one_third {
27 -webkit-animation-delay: -1000000s; 27 animation-delay: -1000000s;
28 } 28 }
29 .delay_two_thirds { 29 .delay_two_thirds {
30 -webkit-animation-delay: -2000000s; 30 animation-delay: -2000000s;
31 } 31 }
32 .delay_three_thirds { 32 .delay_three_thirds {
33 -webkit-animation-delay: -3000000s; 33 animation-delay: -3000000s;
34 } 34 }
35 .delay_four_thirds { 35 .delay_four_thirds {
36 -webkit-animation-delay: -4000000s; 36 animation-delay: -4000000s;
37 } 37 }
38 .delay_five_thirds { 38 .delay_five_thirds {
39 -webkit-animation-delay: -5000000s; 39 animation-delay: -5000000s;
40 } 40 }
41 .delay_six_thirds { 41 .delay_six_thirds {
42 -webkit-animation-delay: -6000000s; 42 animation-delay: -6000000s;
43 } 43 }
44 44
45 .expected { 45 .expected {
46 transform: translateX(100px); 46 transform: translateX(100px);
47 } 47 }
48 #normal .expected.delay_six_thirds { 48 #normal .expected.delay_six_thirds {
49 transform: translateX(200px); 49 transform: translateX(200px);
50 } 50 }
51 #alternate .expected.delay_three_thirds { 51 #alternate .expected.delay_three_thirds {
52 transform: translateX(200px); 52 transform: translateX(200px);
53 } 53 }
54 #reverse .expected.delay_zero, #reverse .expected.delay_three_thirds { 54 #reverse .expected.delay_zero, #reverse .expected.delay_three_thirds {
55 transform: translateX(200px); 55 transform: translateX(200px);
56 } 56 }
57 #alternate-reverse .expected.delay_zero, #alternate-reverse .expected.delay_ six_thirds { 57 #alternate-reverse .expected.delay_zero, #alternate-reverse .expected.delay_ six_thirds {
58 transform: translateX(200px); 58 transform: translateX(200px);
59 } 59 }
60 60
61 #normal div { 61 #normal div {
62 -webkit-animation-direction: normal; 62 animation-direction: normal;
63 } 63 }
64 #alternate div { 64 #alternate div {
65 -webkit-animation-direction: alternate; 65 animation-direction: alternate;
66 } 66 }
67 #reverse div { 67 #reverse div {
68 -webkit-animation-direction: reverse; 68 animation-direction: reverse;
69 } 69 }
70 #alternate-reverse div { 70 #alternate-reverse div {
71 -webkit-animation-direction: alternate-reverse; 71 animation-direction: alternate-reverse;
72 } 72 }
73 73
74 @-webkit-keyframes move { 74 @keyframes move {
75 from { transform: translateX(100px); } 75 from { transform: translateX(100px); }
76 to { transform: translateX(200px); } 76 to { transform: translateX(200px); }
77 } 77 }
78 </style> 78 </style>
79 </head> 79 </head>
80 <body> 80 <body>
81 <div> 81 <div>
82 Tests animation direction with timing functions and hardware acceleration. 82 Tests animation direction with timing functions and hardware acceleration.
83 The green boxes use live animations and each should line up with the red box 83 The green boxes use live animations and each should line up with the red box
84 immediately above it. 84 immediately above it.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 <div class="animated delay_three_thirds">alternate-reverse</div> 142 <div class="animated delay_three_thirds">alternate-reverse</div>
143 <div class="expected delay_four_thirds">alternate-reverse</div> 143 <div class="expected delay_four_thirds">alternate-reverse</div>
144 <div class="animated delay_four_thirds">alternate-reverse</div> 144 <div class="animated delay_four_thirds">alternate-reverse</div>
145 <div class="expected delay_five_thirds">alternate-reverse</div> 145 <div class="expected delay_five_thirds">alternate-reverse</div>
146 <div class="animated delay_five_thirds">alternate-reverse</div> 146 <div class="animated delay_five_thirds">alternate-reverse</div>
147 <div class="expected delay_six_thirds">alternate-reverse</div> 147 <div class="expected delay_six_thirds">alternate-reverse</div>
148 <div class="animated delay_six_thirds">alternate-reverse</div> 148 <div class="animated delay_six_thirds">alternate-reverse</div>
149 </div> 149 </div>
150 </body> 150 </body>
151 </html> 151 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698