summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html')
-rw-r--r--testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html
new file mode 100644
index 0000000000..2f2a5e2e12
--- /dev/null
+++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Forced colors mode - 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-30-ref.html">
+<style>
+ div {
+ fill: LinkText;
+ stroke: Link;
+ }
+</style>
+<div>
+ The triangle below should preserve the LinkText and Link fill/stroke colors
+ in forced colors mode.
+ <svg height="600" width="600">
+ <path d="M150 0 L75 200 L225 200 Z" />
+ </svg>
+</div>