OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 .container { | |
4 zoom: 2; | |
5 } | |
6 .target { | |
7 display: inline-block; | |
8 } | |
9 .replica { | |
10 color: green; | |
11 margin-right: 30px; | |
12 } | |
13 </style> | |
14 <body> | |
15 <template id="target-template"> | |
16 <span class="container"> | |
17 <div class="target">TT</div> | |
18 </span> | |
19 </template> | |
20 <script src="resources/interpolation-test.js"></script> | |
21 <script> | |
22 assertInterpolation({ | |
23 property: 'font-size', | |
24 from: '10px', | |
25 to: '20px' | |
26 }, [ | |
27 {at: -2, is: '0px'}, | |
alancutter (OOO until 2018)
2014/11/15 09:15:26
We should keep the comment here stating that this
| |
28 {at: -0.3, is: '7px'}, | |
29 {at: 0, is: '10px'}, | |
30 {at: 0.3, is: '13px'}, | |
31 {at: 0.6, is: '16px'}, | |
32 {at: 1, is: '20px'}, | |
33 {at: 1.5, is: '25px'}, | |
34 ]); | |
35 </script> | |
36 </body> | |
OLD | NEW |