Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / svg-attribute-interpolation / svg-href-interpolation.html
blob9866f14005a7647a821a6a7df4d331d5af553520
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <template id="target-template">
5 <svg width="90" height="90" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
6 <linearGradient class="target" />
7 </svg>
8 </template>
9 <script src="resources/interpolation-test.js"></script>
10 <script>
11 'use strict';
12 assertAttributeInterpolation({
13 property: 'href',
14 from: '#A',
15 to: '#B'
16 }, [
17 {at: -0.4, is: '#A'},
18 {at: 0, is: '#A'},
19 {at: 0.2, is: '#A'},
20 {at: 0.6, is: '#B'},
21 {at: 1, is: '#B'},
22 {at: 1.4, is: '#B'}
23 ]);
24 </script>
25 </body>
26 </html>