Chromium Code Reviews| Index: LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| diff --git a/LayoutTests/animations/interpolation/font-size-zoom-interpolation.html b/LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fbd1067e9e44031247a2892376a47955a7284cce |
| --- /dev/null |
| +++ b/LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| @@ -0,0 +1,36 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +.container { |
| + zoom: 2; |
| +} |
| +.target { |
| + display: inline-block; |
| +} |
| +.replica { |
| + color: green; |
| + margin-right: 30px; |
| +} |
| +</style> |
| +<body> |
|
rune
2014/11/17 11:22:50
Body should be left out.
andersr
2014/11/17 12:15:28
Done.
|
| +<template id="target-template"> |
| + <span class="container"> |
| + <div class="target">TT</div> |
| + </span> |
| +</template> |
| +<script src="resources/interpolation-test.js"></script> |
| +<script> |
| +assertInterpolation({ |
| + property: 'font-size', |
| + from: '10px', |
| + to: '20px' |
| +}, [ |
| + {at: -2, is: '0px'}, // CSS font-size can't be negative. |
| + {at: -0.3, is: '7px'}, |
| + {at: 0, is: '10px'}, |
| + {at: 0.3, is: '13px'}, |
| + {at: 0.6, is: '16px'}, |
| + {at: 1, is: '20px'}, |
| + {at: 1.5, is: '25px'}, |
| +]); |
| +</script> |
| +</body> |