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

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

Issue 15738009: Beat the transition tests with a sanity stick. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass presubmit. Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 .box { 4 .box {
5 position: relative; 5 position: relative;
6 left: 0; 6 left: 0;
7 height: 100px; 7 height: 100px;
8 width: 100px; 8 width: 100px;
9 margin: 10px; 9 margin: 10px;
10 background-color: blue; 10 background-color: blue;
11 -webkit-transition: left 1s linear; 11 -webkit-transition: left 1s linear;
12 } 12 }
13 .animating > .box { 13 .animating > .box {
14 left: 400px; 14 left: 400px;
15 } 15 }
16 </style> 16 </style>
17 <script src="resources/transition-test-helpers.js"></script> 17 <script src="../animations/resources/animation-test-helpers.js"></script>
18 <script> 18 <script>
19 const expectedValues = [ 19 const expectedValues = [
20 // [time, element-id, property, expected-value, tolerance] 20 // [time, element-id, property, expected-value, tolerance]
21 [0.5, "box1", "left", 200, 4], 21 [0.5, "box1", "left", 200, 4],
22 [0.5, "box2", "left", 322, 4], 22 [0.5, "box2", "left", 322, 4],
23 [0.5, "box3", "left", 126, 4], 23 [0.5, "box3", "left", 126, 4],
24 [0.5, "box4", "left", 273, 4], 24 [0.5, "box4", "left", 273, 4],
25 [0.5, "box5", "left", 200, 4], 25 [0.5, "box5", "left", 200, 4],
26 ]; 26 ];
27 27
(...skipping 12 matching lines...) Expand all
40 <div id="box2" class="box" style="-webkit-transition-timing-function: ease;">< /div> 40 <div id="box2" class="box" style="-webkit-transition-timing-function: ease;">< /div>
41 <div id="box3" class="box" style="-webkit-transition-timing-function: ease-in; "></div> 41 <div id="box3" class="box" style="-webkit-transition-timing-function: ease-in; "></div>
42 <div id="box4" class="box" style="-webkit-transition-timing-function: ease-out ;"></div> 42 <div id="box4" class="box" style="-webkit-transition-timing-function: ease-out ;"></div>
43 <div id="box5" class="box" style="-webkit-transition-timing-function: ease-in- out;"></div> 43 <div id="box5" class="box" style="-webkit-transition-timing-function: ease-in- out;"></div>
44 </div> 44 </div>
45 45
46 <div id="result"></div> 46 <div id="result"></div>
47 47
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW
« no previous file with comments | « LayoutTests/transitions/transition-shorthand-delay.html ('k') | LayoutTests/transitions/visited-link-color.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698