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

Side by Side Diff: LayoutTests/animations/interpolation/sample-interpolation-template-reftest.html

Issue 203723005: Web Animations API: Update interpolation test harness to test element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and added rounding to numbers that get displayed Created 6 years, 9 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 html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <style> 3 <style>
4 .target { 4 .target {
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 display: inline-block; 7 display: inline-block;
8 } 8 }
9 </style> 9 </style>
10 <template id="target-template">Text</template> 10 <template id="target-template">Text</template>
11 <script src="resources/interpolation-test.js"></script> 11 <script src="resources/interpolation-test.js"></script>
12 <script> 12 <script>
13 runAsRefTest(); 13 runAsRefTest();
14 testInterpolationAt([-0.3, 0, 0.3, 0.6, 1, 1.5], { 14 testInterpolationAt([-0.3, 0, 0.3, 0.6, 1, 1.5], {
15 property: '-webkit-transform', 15 property: 'color',
16 from: 'rotate(0deg)', 16 from: 'red',
17 to: 'rotate(180deg)' 17 to: 'green'
18 }); 18 });
19 </script> 19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698