chromium/third_party/blink/web_tests/svg/as-image/resources/animated-visited-link.svg

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100" viewBox="0 0 100 100">
  <style>
    a rect {
      fill: green;
      stroke: green;
    }

    a:visited rect {
      fill: red;
      stroke: red;
    }

    @keyframes test {
      to {
        fill: lime;
        stroke: lime;
      }
    }

    rect {
      animation: test steps(2, start) 1000s;
    }
  </style>
  <a xlink:href=""> <!-- Visited link -->
    <rect x="0" y="0" width="100" height="100" stroke-width="2" />
  </a>
</svg>