| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <style> | 3 <style> |
| 4 .container { | 4 .container { |
| 5 display: inline-block; | 5 display: inline-block; |
| 6 } | 6 } |
| 7 .parent { | 7 .parent { |
| 8 flood-opacity: 0.8; | 8 flood-opacity: 0.8; |
| 9 } | 9 } |
| 10 .target { | 10 .target { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 <feFlood x="0" y="0" width="10" height="100" flood-color="blue" class="t
arget" /> | 26 <feFlood x="0" y="0" width="10" height="100" flood-color="blue" class="t
arget" /> |
| 27 </filter> | 27 </filter> |
| 28 </defs> | 28 </defs> |
| 29 <rect width="10" height="100"></rect> | 29 <rect width="10" height="100"></rect> |
| 30 </svg> | 30 </svg> |
| 31 </template> | 31 </template> |
| 32 <script src="resources/interpolation-test.js"></script> | 32 <script src="resources/interpolation-test.js"></script> |
| 33 <script> | 33 <script> |
| 34 assertInterpolation({ | 34 assertInterpolation({ |
| 35 property: 'flood-opacity', | 35 property: 'flood-opacity', |
| 36 from: '', | 36 from: neutralKeyframe, |
| 37 to: '0.4', | 37 to: '0.4', |
| 38 }, [ | 38 }, [ |
| 39 {at: -1, is: '0.8'}, | 39 {at: -1, is: '0.8'}, |
| 40 {at: -0.25, is: '0.65'}, | 40 {at: -0.25, is: '0.65'}, |
| 41 {at: 0, is: '0.6'}, | 41 {at: 0, is: '0.6'}, |
| 42 {at: 0.25, is: '0.55'}, | 42 {at: 0.25, is: '0.55'}, |
| 43 {at: 1, is: '0.4'}, | 43 {at: 1, is: '0.4'}, |
| 44 {at: 1.25, is: '0.35'}, | 44 {at: 1.25, is: '0.35'}, |
| 45 {at: 2, is: '0.2'}, | 45 {at: 2, is: '0.2'}, |
| 46 ]); | 46 ]); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 {at: -1, is: '0'}, // SVG Opacity ranges from 0.0 to 1.0 | 95 {at: -1, is: '0'}, // SVG Opacity ranges from 0.0 to 1.0 |
| 96 {at: -0.25, is: '0.125'}, | 96 {at: -0.25, is: '0.125'}, |
| 97 {at: 0, is: '0.25'}, | 97 {at: 0, is: '0.25'}, |
| 98 {at: 0.25, is: '0.375'}, | 98 {at: 0.25, is: '0.375'}, |
| 99 {at: 1, is: '0.75'}, | 99 {at: 1, is: '0.75'}, |
| 100 {at: 1.25, is: '0.875'}, | 100 {at: 1.25, is: '0.875'}, |
| 101 {at: 2, is: '1'}, // SVG Opacity ranges from 0.0 to 1.0 | 101 {at: 2, is: '1'}, // SVG Opacity ranges from 0.0 to 1.0 |
| 102 ]); | 102 ]); |
| 103 </script> | 103 </script> |
| 104 </body> | 104 </body> |
| OLD | NEW |