| Index: third_party/WebKit/LayoutTests/animations/composition/caret-color-composition.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/composition/caret-color-composition.html b/third_party/WebKit/LayoutTests/animations/composition/caret-color-composition.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..111c16e900369b4348e9ad5c0e5a0a4c242583be
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/animations/composition/caret-color-composition.html
|
| @@ -0,0 +1,43 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="UTF-8">
|
| +<style>
|
| +.target {
|
| + display: inline-block;
|
| + font-size: 60pt;
|
| + color: rgb(50, 50, 50);
|
| +}
|
| +.expected {
|
| + margin-right: 15px;
|
| +}
|
| +</style>
|
| +<body contenteditable>
|
| +<template id="target-template">T</template>
|
| +<script src="../interpolation/resources/interpolation-test.js"></script>
|
| +<script>
|
| +assertComposition({
|
| + property: 'caret-color',
|
| + underlying: 'rgb(50, 50, 50)',
|
| + addFrom: 'rgb(100, 100, 100)',
|
| + addTo: 'rgb(200, 200, 200)',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(70, 70, 70)'},
|
| + {at: 0, is: 'rgb(100, 100, 100)'},
|
| + {at: 0.5, is: 'rgb(150, 150, 150)'},
|
| + {at: 1, is: 'rgb(200, 200, 200)'},
|
| + {at: 1.5, is: 'rgb(250, 250, 250)'},
|
| +]);
|
| +
|
| +assertComposition({
|
| + property: 'caret-color',
|
| + underlying: 'auto',
|
| + addFrom: 'rgb(100, 100, 100)',
|
| + addTo: 'rgb(200, 200, 200)',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(70, 70, 70)'},
|
| + {at: 0, is: 'rgb(100, 100, 100)'},
|
| + {at: 0.5, is: 'rgb(150, 150, 150)'},
|
| + {at: 1, is: 'rgb(200, 200, 200)'},
|
| + {at: 1.5, is: 'rgb(250, 250, 250)'},
|
| +]);
|
| +</script>
|
| +</body>
|
|
|