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

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/blink/interpolation/orphans-interpolation.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 10 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
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 background-color: black; 7 background-color: black;
8 display: inline-block; 8 display: inline-block;
9 } 9 }
10 </style> 10 </style>
11 <script src="../testharness/testharness.js"></script> 11 <script src="../testharness/testharness.js"></script>
12 <script src="../testharness/testharnessreport.js"></script> 12 <script src="../testharness/testharnessreport.js"></script>
13 <script src="resources/interpolation-test.js"></script> 13 <script src="resources/interpolation-test.js"></script>
14 <script> 14 <script>
15 assertInterpolation({ 15 assertInterpolation({
16 property: 'orphans', 16 property: 'orphans',
17 from: '10', 17 from: '10',
18 to: '1' 18 to: '1'
19 }, [ 19 }, [
20 {at: -0.5, is: '15'}, 20 {at: -0.5, is: '15'},
21 {at: 0, is: '10'}, 21 {at: 0, is: '10'},
22 {at: 0.3, is: '7'}, 22 {at: 0.3, is: '7'},
23 {at: 0.7, is: '4'}, 23 {at: 0.7, is: '4'},
24 // Only positive integers are valid 24 // Only positive integers are valid
25 {at: 1, is: '1'}, 25 {at: 1, is: '1'},
26 {at: 1.5, is: '1'} 26 {at: 1.5, is: '1'}
27 ]); 27 ]);
28 </script> 28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698