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

Side by Side Diff: third_party/WebKit/LayoutTests/transitions/zero-duration-in-list.html

Issue 2521493002: CSS Transitions: Reduce usage of -webkit prefix in layout tests (Closed)
Patch Set: Created 4 years, 1 month 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 position: absolute; 7 position: absolute;
8 height: 100px; 8 height: 100px;
9 width: 100px; 9 width: 100px;
10 left: 0px; 10 left: 0px;
11 top: 0px; 11 top: 0px;
12 background-color: blue; 12 background-color: blue;
13 -webkit-transition-duration: 0s, 0.5s; 13 transition-duration: 0s, 0.5s;
14 -webkit-transition-timing-function: linear; 14 transition-timing-function: linear;
15 -webkit-transition-property: top, left; 15 transition-property: top, left;
16 } 16 }
17 </style> 17 </style>
18 <script src="../animations/resources/animation-test-helpers.js"></script> 18 <script src="../animations/resources/animation-test-helpers.js"></script>
19 <script type="text/javascript"> 19 <script type="text/javascript">
20 20
21 const expectedValues = [ 21 const expectedValues = [
22 // [time, element-id, property, expected-value, tolerance] 22 // [time, element-id, property, expected-value, tolerance]
23 [0.25, "box", "left", 50, 10], 23 [0.25, "box", "left", 50, 10],
24 [0.25, "box", "top", 100, 0], 24 [0.25, "box", "top", 100, 0],
25 ]; 25 ];
(...skipping 10 matching lines...) Expand all
36 </head> 36 </head>
37 <body> 37 <body>
38 38
39 <p>Tests that with a zero duration transition on top, it does not animate</p> 39 <p>Tests that with a zero duration transition on top, it does not animate</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