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

Side by Side Diff: LayoutTests/transitions/multiple-mask-transitions.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 <!DOCTYPE> 1 <!DOCTYPE>
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 margin: 10px; 9 margin: 10px;
10 background-color: gray; 10 background-color: gray;
(...skipping 27 matching lines...) Expand all
38 -webkit-mask-image: url('../fast/backgrounds/repeat/resources/gradient.gif '); 38 -webkit-mask-image: url('../fast/backgrounds/repeat/resources/gradient.gif ');
39 -webkit-mask-position: 80px 80px; 39 -webkit-mask-position: 80px 80px;
40 } 40 }
41 41
42 #box3.final { 42 #box3.final {
43 -webkit-mask-image: url('../fast/backgrounds/repeat/resources/gradient.gif '), url('../fast/backgrounds/repeat/resources/gradient.gif'); 43 -webkit-mask-image: url('../fast/backgrounds/repeat/resources/gradient.gif '), url('../fast/backgrounds/repeat/resources/gradient.gif');
44 -webkit-mask-position: 0 0, 0 80px; 44 -webkit-mask-position: 0 0, 0 80px;
45 } 45 }
46 46
47 </style> 47 </style>
48 <script src="resources/transition-test-helpers.js"></script> 48 <script src="../animations/resources/animation-test-helpers.js"></script>
49 <script type="text/javascript"> 49 <script type="text/javascript">
50 50
51 const expectedValues = [ 51 const expectedValues = [
52 // [time, element-id, property, expected-value, tolerance] 52 // [time, element-id, property, expected-value, tolerance]
53 [0.5, 'box', '-webkit-mask-position', [40, 40], 5], 53 [0.5, 'box', '-webkit-mask-position', [40, 40], 5],
54 [0.5, 'box2', '-webkit-mask-position', [40, 40], 5], 54 [0.5, 'box2', '-webkit-mask-position', [40, 40], 5],
55 [0.5, 'box3', '-webkit-mask-position', [40, 40], 5], 55 [0.5, 'box3', '-webkit-mask-position', [40, 40], 5],
56 ]; 56 ];
57 57
58 function setupTest() 58 function setupTest()
(...skipping 10 matching lines...) Expand all
69 69
70 <div id="box" class="box"></div> 70 <div id="box" class="box"></div>
71 <div id="box2" class="box"></div> 71 <div id="box2" class="box"></div>
72 <div id="box3" class="box"></div> 72 <div id="box3" class="box"></div>
73 73
74 <div id="result"> 74 <div id="result">
75 </div> 75 </div>
76 76
77 </body> 77 </body>
78 </html> 78 </html>
OLDNEW
« no previous file with comments | « LayoutTests/transitions/multiple-background-transitions.html ('k') | LayoutTests/transitions/multiple-shadow-transitions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698