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

Side by Side Diff: LayoutTests/transitions/transform-op-list-no-match.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 #box { 6 #box {
7 height: 100px; 7 height: 100px;
8 width: 100px; 8 width: 100px;
9 background-color: blue; 9 background-color: blue;
10 -webkit-transform: translateX(0px) rotate(0deg); 10 transform: translateX(0px) rotate(0deg);
11 -webkit-transition-duration: 2s; 11 -webkit-transition-duration: 2s;
12 -webkit-transition-timing-function: linear; 12 -webkit-transition-timing-function: linear;
13 -webkit-transition-property: -webkit-transform; 13 -webkit-transition-property: transform;
14 } 14 }
15 </style> 15 </style>
16 <script src="../animations/resources/animation-test-helpers.js"></script> 16 <script src="../animations/resources/animation-test-helpers.js"></script>
17 <script type="text/javascript"> 17 <script type="text/javascript">
18 18
19 function DegreesToRotation(angle) 19 function DegreesToRotation(angle)
20 { 20 {
21 return roundNumber(Math.cos(angle * Math.PI / 180), 5); 21 return roundNumber(Math.cos(angle * Math.PI / 180), 5);
22 } 22 }
23 23
(...skipping 18 matching lines...) Expand all
42 Box should spin only 180 degrees even though the operation specifies a 0 to 540 degree animation. 42 Box should spin only 180 degrees even though the operation specifies a 0 to 540 degree animation.
43 This is because the operation lists don't match, so it falls back to matrix anim ation, which 43 This is because the operation lists don't match, so it falls back to matrix anim ation, which
44 normalizes the angle to between 0 and 360 degrees. 44 normalizes the angle to between 0 and 360 degrees.
45 </p> 45 </p>
46 <div id="box"> 46 <div id="box">
47 </div> 47 </div>
48 <div id="result"> 48 <div id="result">
49 </div> 49 </div>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/transitions/transform-op-list-match.html ('k') | LayoutTests/transitions/transition-end-event-multiple-04.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698