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

Side by Side Diff: LayoutTests/transitions/steps-timing-function.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove duplicate transform 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); 10 transform: translateX(0px);
11 -webkit-transition-duration: 1s; 11 -webkit-transition-duration: 1s;
12 -webkit-transition-timing-function: steps(3, end); 12 -webkit-transition-timing-function: steps(3, end);
13 -webkit-transition-property: -webkit-transform; 13 -webkit-transition-property: -webkit-transform;
alancutter (OOO until 2018) 2014/10/14 05:13:49 Need to change the transition property target as w
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 const expectedValues = [ 19 const expectedValues = [
20 // [time, element-id, property, expected-value, tolerance] 20 // [time, element-id, property, expected-value, tolerance]
21 [0.25, "box", "-webkit-transform.4", 0, 5], 21 [0.25, "box", "-webkit-transform.4", 0, 5],
22 [0.5, "box", "-webkit-transform.4", 66, 5], 22 [0.5, "box", "-webkit-transform.4", 66, 5],
23 [0.75, "box", "-webkit-transform.4", 133, 5], 23 [0.75, "box", "-webkit-transform.4", 133, 5],
(...skipping 12 matching lines...) Expand all
36 36
37 <p> 37 <p>
38 The box should move horizontally 200px over 1s, in 3 equal increments. 38 The box should move horizontally 200px over 1s, in 3 equal increments.
39 </p> 39 </p>
40 <div id="box"> 40 <div id="box">
41 </div> 41 </div>
42 <div id="result"> 42 <div id="result">
43 </div> 43 </div>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698