| Index: LayoutTests/animations/interpolation/border-image-width-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/border-image-width-interpolation.html b/LayoutTests/animations/interpolation/border-image-width-interpolation.html
|
| index f004550d59f34a6bb84c92808dfcbcfbbc524b57..55719a6ec65d9b019f150949b1f174e23ddead27 100644
|
| --- a/LayoutTests/animations/interpolation/border-image-width-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/border-image-width-interpolation.html
|
| @@ -22,14 +22,129 @@ assertInterpolation({
|
| from: '0px',
|
| to: '20px'
|
| }, [
|
| - {at: -0.3, is: '0px'}, // CSS border-image-width can't be negative.
|
| - {at: 0, is: '0px'},
|
| - {at: 0.3, is: '6px'},
|
| - {at: 0.6, is: '12px'},
|
| - {at: 1, is: '20px'},
|
| - {at: 1.5, is: '30px'},
|
| - {at: 5, is: '100px'},
|
| - {at: 10, is: '200px'}
|
| + {at: -0.3, is: '0px'}, // CSS border-image-width can't be negative.
|
| + {at: 0, is: '0px'},
|
| + {at: 0.3, is: '6px'},
|
| + {at: 0.6, is: '12px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '30px'},
|
| + {at: 5, is: '100px'},
|
| + {at: 10, is: '200px'}
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '0%',
|
| + to: '20%'
|
| +}, [
|
| + {at: -0.3, is: '0%'}, // CSS border-image-width can't be negative.
|
| + {at: 0, is: '0%'},
|
| + {at: 0.3, is: '6%'},
|
| + {at: 0.6, is: '12%'},
|
| + {at: 1, is: '20%'},
|
| + {at: 1.5, is: '30%'},
|
| + {at: 5, is: '100%'},
|
| + {at: 10, is: '200%'}
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '0',
|
| + to: '20'
|
| +}, [
|
| + {at: -0.3, is: '0'}, // CSS border-image-width can't be negative.
|
| + {at: 0, is: '0'},
|
| + {at: 0.3, is: '6'},
|
| + {at: 0.6, is: '12'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '30'},
|
| + {at: 5, is: '100'},
|
| + {at: 10, is: '200'}
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10px 20% 30 40px',
|
| + to: '80px 70% 60 50px'
|
| +}, [
|
| + {at: -0.3, is: '0px 5% 21 37px'}, // CSS border-image-width can't be negative.
|
| + {at: 0, is: '10px 20% 30 40px'},
|
| + {at: 0.3, is: '31px 35% 39 43px'},
|
| + {at: 0.6, is: '52px 50% 48 46px'},
|
| + {at: 1, is: '80px 70% 60 50px'},
|
| + {at: 1.5, is: '115px 95% 75 55px'},
|
| + {at: 5, is: '360px 270% 180 90px'},
|
| + {at: 10, is: '710px 520% 330 140px'}
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10%',
|
| + to: '20px'
|
| +}, [
|
| + {at: -0.3, is: 'calc(13% + -6px)'},
|
| + {at: 0, is: '10%'},
|
| + {at: 0.3, is: 'calc(7% + 6px)'},
|
| + {at: 0.6, is: 'calc(4% + 12px)'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: 'calc(-5% + 30px)'},
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10px',
|
| + to: '20%'
|
| +}, [
|
| + {at: -0.3, is: 'calc(13px + -6%)'},
|
| + {at: 0, is: '10px'},
|
| + {at: 0.3, is: 'calc(7px + 6%)'},
|
| + {at: 0.6, is: 'calc(4px + 12%)'},
|
| + {at: 1, is: '20%'},
|
| + {at: 1.5, is: 'calc(-5px + 30%)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10px',
|
| + to: '20'
|
| +}, [
|
| + {at: -0.3, is: '10px'},
|
| + {at: 0, is: '10px'},
|
| + {at: 0.3, is: '10px'},
|
| + {at: 0.6, is: '20'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '20'},
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10',
|
| + to: '20px'
|
| +}, [
|
| + {at: -0.3, is: '10'},
|
| + {at: 0, is: '10'},
|
| + {at: 0.3, is: '10'},
|
| + {at: 0.6, is: '20px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '20px'},
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10%',
|
| + to: '20'
|
| +}, [
|
| + {at: -0.3, is: '10%'},
|
| + {at: 0, is: '10%'},
|
| + {at: 0.3, is: '10%'},
|
| + {at: 0.6, is: '20'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '20'},
|
| +]);
|
| +assertInterpolation({
|
| + property: 'border-image-width',
|
| + from: '10',
|
| + to: '20%'
|
| +}, [
|
| + {at: -0.3, is: '10'},
|
| + {at: 0, is: '10'},
|
| + {at: 0.3, is: '10'},
|
| + {at: 0.6, is: '20%'},
|
| + {at: 1, is: '20%'},
|
| + {at: 1.5, is: '20%'},
|
| ]);
|
| </script>
|
| </body>
|
|
|