summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52-ref.html
blob: 5d684be9d0b0ab1f573fae70f7a8105bbfd47fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - SVG inherits parent's used color by default.</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-color-adjust-prop">
<style>
  svg {
    fill: canvasText;
    stroke: canvasText;
  }
</style>
<body>
  The triangle below should be canvasText in forced colors mode.
  <svg height="200" width="350">
    <path d="M150 0 L75 200 L225 200 Z" />
  </svg>
</body>