| Index: LayoutTests/animations/interpolation/outline-offset-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/outline-offset-interpolation.html b/LayoutTests/animations/interpolation/outline-offset-interpolation.html
|
| index 6e8fcbf35dfa2cbe7c65701417244b354e5b2ca6..98a1e9867969ec3c323c0c26d453b54eef322ff9 100644
|
| --- a/LayoutTests/animations/interpolation/outline-offset-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/outline-offset-interpolation.html
|
| @@ -1,13 +1,18 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| <style>
|
| +.parent {
|
| + outline: solid 0px;
|
| + outline-offset: 30px;
|
| +}
|
| .target {
|
| width: 50px;
|
| height: 50px;
|
| background-color: black;
|
| display: inline-block;
|
| + margin: 40px 0px 0px 40px;
|
| outline: 4px solid orange;
|
| - margin: 10px 0px 0px 10px;
|
| + outline-offset: 10px;
|
| }
|
| .expected {
|
| background-color: green;
|
| @@ -19,8 +24,60 @@
|
| <script>
|
| assertInterpolation({
|
| property: 'outline-offset',
|
| + from: '',
|
| + to: '20px',
|
| +}, [
|
| + {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'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-offset',
|
| + from: 'initial',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '-6px'},
|
| + {at: 0, is: '0px'},
|
| + {at: 0.3, is: '6px'},
|
| + {at: 0.6, is: '12px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '30px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-offset',
|
| + from: 'inherit',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '33px'},
|
| + {at: 0, is: '30px'},
|
| + {at: 0.3, is: '27px'},
|
| + {at: 0.6, is: '24px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '15px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-offset',
|
| + from: 'unset',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '-6px'},
|
| + {at: 0, is: '0px'},
|
| + {at: 0.3, is: '6px'},
|
| + {at: 0.6, is: '12px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '30px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-offset',
|
| from: '-5px',
|
| - to: '5px'
|
| + to: '5px',
|
| }, [
|
| {at: -0.3, is: '-8px'},
|
| {at: 0, is: '-5px'},
|
|
|