chromium/third_party/blink/web_tests/animations/interpolation/caret-color-interpolation.html

<!DOCTYPE html>
<meta charset="UTF-8">
<style>
.parent {
  caret-color: blue;
}
.target {
  display: inline-block;
  font-size: 60pt;
  caret-color: yellow;
}
.expected {
  margin-right: 15px;
}
</style>
<body alink="red" link="blue" contenteditable>
<template id="target-template">T</template>
<script src="resources/interpolation-test.js"></script>
<script>
// New tests should be added to external/wpt/css/css-ui/animation/caret-color-interpolation.html,
// but these legacy tests are kept here as they rely on prefixed values.
assertInterpolation({
  property: 'caret-color',
  from: '-webkit-activelink',
  to: 'green',
}, [
  {at: -0.3, is: 'rgb(255, 0, 0)'},
  {at: 0, is: 'rgb(255, 0, 0)'},
  {at: 0.3, is: 'rgb(179, 38, 0)'},
  {at: 0.6, is: 'rgb(102, 77, 0)'},
  {at: 1, is: 'rgb(0, 128, 0)'},
  {at: 1.5, is: 'rgb(0, 192, 0)'},
]);

assertInterpolation({
  property: 'caret-color',
  from: '-webkit-link',
  to: 'green',
}, [
  {at: -0.3, is: 'rgb(0, 0, 255)'},
  {at: 0, is: 'rgb(0, 0, 255)'},
  {at: 0.3, is: 'rgb(0, 38, 179)'},
  {at: 0.6, is: 'rgb(0, 77, 102)'},
  {at: 1, is: 'rgb(0, 128, 0)'},
  {at: 1.5, is: 'rgb(0, 192, 0)'},
]);
</script>
</body>