Set default of forced-color-adjust to preserve-parent-color for SVGs

Bug: 1164162
Change-Id: I1a3eac4e4b2fbadf31c90a9157810976810718e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3232960
Commit-Queue: Sara Tang <sartang@microsoft.com>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#933741}
diff --git a/forced-colors-mode/forced-colors-mode-52-ref.html b/forced-colors-mode/forced-colors-mode-52-ref.html
new file mode 100644
index 0000000..5d684be
--- /dev/null
+++ b/forced-colors-mode/forced-colors-mode-52-ref.html
@@ -0,0 +1,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>
diff --git a/forced-colors-mode/forced-colors-mode-52.html b/forced-colors-mode/forced-colors-mode-52.html
new file mode 100644
index 0000000..5812d1e
--- /dev/null
+++ b/forced-colors-mode/forced-colors-mode-52.html
@@ -0,0 +1,20 @@
+<!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">
+<link rel=match href="forced-colors-mode-52-ref.html">
+<style>
+  body {
+    color: red;
+  }
+  svg {
+    fill: currentColor;
+    stroke: currentColor;
+  }
+</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>