Chromium Code Reviews| Index: LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| diff --git a/LayoutTests/animations/interpolation/font-size-interpolation.html b/LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| similarity index 56% |
| copy from LayoutTests/animations/interpolation/font-size-interpolation.html |
| copy to LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| index 3135caf99f4343b0773a9dd9b92b208dd2d1a6a1..2e8b866244c9e1f45e78484a6f6cb24f3efd942e 100644 |
| --- a/LayoutTests/animations/interpolation/font-size-interpolation.html |
| +++ b/LayoutTests/animations/interpolation/font-size-zoom-interpolation.html |
| @@ -1,12 +1,10 @@ |
| <!DOCTYPE html> |
| -<meta charset="UTF-8"> |
| <style> |
| .container { |
| - font-size: 10px; |
| + zoom: 2; |
| } |
| .target { |
| display: inline-block; |
| - font: 100px sans-serif; |
| } |
| .replica { |
| color: green; |
| @@ -23,23 +21,10 @@ |
| <script> |
| assertInterpolation({ |
| property: 'font-size', |
| - from: '4px', |
|
dstockwell
2014/11/12 22:41:11
I don't understand the changes to this test. It's
andersr
2014/11/13 00:30:19
You're seeing creative diffing between a new test
|
| - to: '14px' |
| -}, [ |
| - {at: -2, is: '0px'}, // CSS font-size can't be negative. |
| - {at: -0.3, is: '1px'}, |
| - {at: 0, is: '4px'}, |
| - {at: 0.3, is: '7px'}, |
| - {at: 0.6, is: '10px'}, |
| - {at: 1, is: '14px'}, |
| - {at: 1.5, is: '19px'}, |
| -]); |
| -assertInterpolation({ |
| - property: 'font-size', |
| - from: 'inherit', |
| + from: '10px', |
| to: '20px' |
| }, [ |
| - {at: -2, is: '0px'}, // CSS font-size can't be negative. |
| + {at: -2, is: '0px'}, |
| {at: -0.3, is: '7px'}, |
| {at: 0, is: '10px'}, |
| {at: 0.3, is: '13px'}, |