| Index: LayoutTests/animations/interpolation/clip-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/clip-interpolation.html b/LayoutTests/animations/interpolation/clip-interpolation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b4cbbf2671ff0a62db9038738e3c87fffab48df
|
| --- /dev/null
|
| +++ b/LayoutTests/animations/interpolation/clip-interpolation.html
|
| @@ -0,0 +1,35 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<style>
|
| +.target {
|
| + width: 80px;
|
| + height: 80px;
|
| + background-color: blue;
|
| + display: inline-block;
|
| + position: absolute;
|
| + clip: rect(auto, auto, auto, auto);
|
| + top: 200px;
|
| +}
|
| +#test0 { left: 0px; }
|
| +#test1 { left: 100px; }
|
| +#test2 { left: 200px; }
|
| +#test3 { left: 300px; }
|
| +#test4 { left: 400px; }
|
| +
|
| +#test5 { left: 510px; background: orange; }
|
| +#test6 { left: 610px; background: orange; }
|
| +</style>
|
| +<script src="resources/interpolation-test.js"></script>
|
| +<script>
|
| +testInterpolationAt([-1, 0, 0.5, 1, 1.5], {
|
| + property: 'clip',
|
| + from: 'rect(0px, 75px, 80px, 10px)',
|
| + to: 'rect(0px, 100px, 90px, 5px)'
|
| +});
|
| +
|
| +testInterpolationAt([0.4, 0.6], {
|
| + property: 'clip',
|
| + from: 'rect(auto, auto, auto, 10px)',
|
| + to: 'rect(20px, 50px, 50px, auto)'
|
| +});
|
| +</script>
|
|
|