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

Side by Side Diff: LayoutTests/animations/cross-fade-webkit-mask-image-expected.html

Issue 716963002: Remove property-specific handling in animation-test-helpers.js (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@animhelpercleanup
Patch Set: rm whitespace Created 6 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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 #box { 4 #box {
5 position: absolute; 5 position: absolute;
6 left: 100px; 6 left: 100px;
7 top: 100px; 7 top: 100px;
8 height: 100px; 8 height: 100px;
9 width: 100px; 9 width: 100px;
10 background-color: red; 10 background-color: red;
11 -webkit-mask-image: -webkit-cross-fade(url(resources/stripes-100.png), u rl(resources/green-100.png), 25%); 11 -webkit-mask-image: -webkit-cross-fade(url(resources/stripes-100.png), u rl(resources/green-100.png), 25%);
12 } 12 }
13 #boxStatic { 13 #boxStatic {
14 position: absolute; 14 position: absolute;
15 left: 100px; 15 left: 100px;
16 top: 200px; 16 top: 200px;
17 height: 100px; 17 height: 100px;
18 width: 100px; 18 width: 100px;
19 background-color: red; 19 background-color: red;
20 -webkit-mask-image: -webkit-cross-fade(url(resources/stripes-100.png), u rl(resources/green-100.png), 25%); 20 -webkit-mask-image: -webkit-cross-fade(url(resources/stripes-100.png), u rl(resources/green-100.png), 25%);
21 } 21 }
22 </style> 22 </style>
23 </head> 23 </head>
24 <body> 24 <body>
25 <img id="box" src="resources/green-100.png"/> 25 <img id="box" src="resources/green-100.png"/>
26 <img id="boxStatic" src="resources/stripes-100.png"/> 26 <img id="boxStatic" src="resources/stripes-100.png"/>
27 <div id="result"> 27 <div id="result">
28 PASS - "webkitMaskImage" property for "box" element at 2.25s saw something close to: 0.25<br>
29 PASS - "webkitMaskImage" property for "box" and "boxStatic" elements at 2.25s ar e close enough to each other 28 PASS - "webkitMaskImage" property for "box" and "boxStatic" elements at 2.25s ar e close enough to each other
30 </div> 29 </div>
31 </body> 30 </body>
32 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/animations/cross-fade-webkit-mask-image.html ('k') | LayoutTests/animations/matrix-anim.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698