Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /forced-colors-mode/forced-colors-mode-36.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - :visited fill/stroke with sys colors.
</title>
<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>