8 border: black solid
2px;
12 background-color: white;
18 background-color: black;
21 background-color: green;
25 <template id=
"target-template">
26 <div class=
"container">
27 <div class=
"target"></div>
30 <script src=
"resources/interpolation-test.js"></script>
34 from: 'calc(50% - 25px)',
35 to
: 'calc(100% - 10px)'
37 {at
: -0.25, is
: '-10px'},
39 {at
: 0.25, is
: '10px'},
40 {at
: 0.5, is
: '20px'},
41 {at
: 0.75, is
: '30px'},
43 {at
: 1.25, is
: '50px'}
47 property
: 'text-indent',
48 from: 'calc(50% - 25px)',
49 to
: 'calc(100% - 10px)'
51 {at
: -0.25, is
: 'calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))'},
52 {at
: 0, is
: 'calc(50% - 25px)'},
53 {at
: 0.25, is
: 'calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))'},
54 {at
: 0.5, is
: 'calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))'},
55 {at
: 0.75, is
: 'calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))'},
56 {at
: 1, is
: 'calc(100% - 10px)'},
57 {at
: 1.25, is
: 'calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))'}
61 property
: 'text-indent',
65 {at
: -0.25, is
: '-25px'},
67 {at
: 0.25, is
: '25px'},
68 {at
: 0.5, is
: '50px'},
69 {at
: 0.75, is
: '75px'},
71 {at
: 1.25, is
: '125px'}
75 property
: 'text-indent',
79 {at
: -0.25, is
: 'calc(0% + -25px)'},
81 {at
: 0.25, is
: 'calc(0% + 25px)'},
82 {at
: 0.5, is
: 'calc(0% + 50px)'},
83 {at
: 0.75, is
: 'calc(0% + 75px)'},
85 {at
: 1.25, is
: 'calc(0% + 125px)'}