summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35-ref.html
blob: 2b397e92f2c9f5c12ab0ec2fbb79f2b8cb2d4b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - :visited fill/stroke.
</title>
<style>
  a {
    color: VisitedText;
    forced-color-adjust: none;
  }
</style>
<a href="">
  The triangle below should NOT get overridden in forced colors mode.
  <svg height="200" width="350">
    <path fill="blue" stroke="green" d="M150 0 L75 200 L225 200 Z" />
  </svg>
  The triangle below should be currentColor in forced colors mode.
  <svg height="200" width="350">
    <path fill="currentColor" stroke="currentColor" d="M150 0 L75 200 L225 200 Z" />
  </svg>
</a>