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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/direction-and-fill/animation-direction-reverse-hardware-opacity.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test of animation-direction on composited elements (opacity)</title> 4 <title>Test of animation-direction on composited elements (opacity)</title>
5 <style> 5 <style>
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 } 8 }
9 9
10 .box { 10 .box {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 to { opacity: 1.0; } 51 to { opacity: 1.0; }
52 } 52 }
53 53
54 @keyframes fade2 { 54 @keyframes fade2 {
55 0% { opacity: 0.0; } 55 0% { opacity: 0.0; }
56 40% { opacity: 0.8; } 56 40% { opacity: 0.8; }
57 60% { opacity: 0.4; } 57 60% { opacity: 0.4; }
58 100% { opacity: 1.0; } 58 100% { opacity: 1.0; }
59 } 59 }
60 </style> 60 </style>
61 <script src="resources/animation-test-helpers.js"></script> 61 <script src="../resources/animation-test-helpers.js"></script>
62 <script> 62 <script>
63 const expectedValues = [ 63 const expectedValues = [
64 // [time, element-id, property, expected-value, tolerance] 64 // [time, element-id, property, expected-value, tolerance]
65 [0.2, "box1", "opacity", 0.2, 0.15], 65 [0.2, "box1", "opacity", 0.2, 0.15],
66 [0.2, "box2", "opacity", 0.2, 0.15], 66 [0.2, "box2", "opacity", 0.2, 0.15],
67 [0.2, "box3", "opacity", 0.8, 0.15], 67 [0.2, "box3", "opacity", 0.8, 0.15],
68 [0.2, "box4", "opacity", 0.8, 0.15], 68 [0.2, "box4", "opacity", 0.8, 0.15],
69 [1.2, "box1", "opacity", 0.2, 0.15], 69 [1.2, "box1", "opacity", 0.2, 0.15],
70 [1.2, "box2", "opacity", 0.8, 0.15], 70 [1.2, "box2", "opacity", 0.8, 0.15],
71 [1.2, "box3", "opacity", 0.8, 0.15], 71 [1.2, "box3", "opacity", 0.8, 0.15],
(...skipping 18 matching lines...) Expand all
90 <div id="box3" class="box fade1 reverse">2 keyframes: reverse</div> 90 <div id="box3" class="box fade1 reverse">2 keyframes: reverse</div>
91 <div id="box4" class="box fade1 alternate-reverse">2 keyframes: alternate-revers e</div> 91 <div id="box4" class="box fade1 alternate-reverse">2 keyframes: alternate-revers e</div>
92 <div id="box5" class="box fade2 normal">4 keyframes: normal</div> 92 <div id="box5" class="box fade2 normal">4 keyframes: normal</div>
93 <div id="box6" class="box fade2 alternate">4 keyframes: alternate</div> 93 <div id="box6" class="box fade2 alternate">4 keyframes: alternate</div>
94 <div id="box7" class="box fade2 reverse">4 keyframes: reverse</div> 94 <div id="box7" class="box fade2 reverse">4 keyframes: reverse</div>
95 <div id="box8" class="box fade2 alternate-reverse">4 keyframes: alternate-revers e</div> 95 <div id="box8" class="box fade2 alternate-reverse">4 keyframes: alternate-revers e</div>
96 <div id="result"></div> 96 <div id="result"></div>
97 </div> 97 </div>
98 </body> 98 </body>
99 </html> 99 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698