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

Side by Side Diff: ManualTests/animation/compositor-animation-iteration-count.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 -webkit-transform: translateZ(0); 8 transform: translateZ(0);
9 -webkit-animation-direction: alternate; 9 -webkit-animation-direction: alternate;
10 -webkit-animation-duration: 2s; 10 -webkit-animation-duration: 2s;
11 -webkit-animation-timing-function: linear; 11 -webkit-animation-timing-function: linear;
12 -webkit-animation-fill-mode: both; 12 -webkit-animation-fill-mode: both;
13 } 13 }
14 14
15 .test0 { 15 .test0 {
16 -webkit-animation-iteration-count: 0; 16 -webkit-animation-iteration-count: 0;
17 } 17 }
18 18
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 0% { 50 0% {
51 left: 0px; 51 left: 0px;
52 } 52 }
53 100% { 53 100% {
54 left: 300px; 54 left: 300px;
55 } 55 }
56 } 56 }
57 57
58 @-webkit-keyframes anim-transform { 58 @-webkit-keyframes anim-transform {
59 0% { 59 0% {
60 -webkit-transform: translateX(0px); 60 transform: translateX(0px);
61 } 61 }
62 100% { 62 100% {
63 -webkit-transform: translateX(300px); 63 transform: translateX(300px);
64 } 64 }
65 } 65 }
66 </style> 66 </style>
67 <body> 67 <body>
68 <p> 68 <p>
69 Each section below has two boxes, the top runs on the main thread, the bottom 69 Each section below has two boxes, the top runs on the main thread, the bottom
70 on the compositor. The animations should be identical but start at different 70 on the compositor. The animations should be identical but start at different
71 times. 71 times.
72 </p><p> 72 </p><p>
73 This test is successful if the boxes are mostly in sync (there might be a small 73 This test is successful if the boxes are mostly in sync (there might be a small
(...skipping 25 matching lines...) Expand all
99 <br> 99 <br>
100 <div class='test4 anim-left'></div> 100 <div class='test4 anim-left'></div>
101 <div class='test4 anim-transform'></div> 101 <div class='test4 anim-transform'></div>
102 102
103 Iteration count 2.5 (should finish last in the middle) 103 Iteration count 2.5 (should finish last in the middle)
104 <br> 104 <br>
105 <div class='test5 anim-left'></div> 105 <div class='test5 anim-left'></div>
106 <div class='test5 anim-transform'></div> 106 <div class='test5 anim-transform'></div>
107 </body> 107 </body>
108 </html> 108 </html>
OLDNEW
« no previous file with comments | « ManualTests/animation/compositor-animation-delay.html ('k') | ManualTests/animation/transitions-and-paused-animations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698