summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36.html
blob: 0fd90810dce2a0b16938f2fbeb39b9d18d721db7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - :visited fill/stroke with sys colors.
</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties">
<link rel=match href="forced-colors-mode-36-ref.html">
<style>
  a {
    fill: Canvas;
    stroke: Canvas;
  }
  a:visited {
    fill: CanvasText;
    stroke: LinkText;
  }
</style>
<a href="">
  The triangle below should preserve the CanvasText/LinkText fill/stroke colors
  in forced colors mode.
  <svg height="600" width="600">
    <path d="M150 0 L75 200 L225 200 Z" />
  </svg>
</a>