From 6b24208860c10a5a5d7567e01aff057f0c99dd37 Mon Sep 17 00:00:00 2001
From: Alison Maher
Date: Wed, 30 Jul 2025 17:24:09 -0700
Subject: [PATCH 1/2] move tables
---
css-color-adjust-1/Overview.bs | 610 ++++++++++++++++-----------------
1 file changed, 305 insertions(+), 305 deletions(-)
diff --git a/css-color-adjust-1/Overview.bs b/css-color-adjust-1/Overview.bs
index 832c90cdaf73..191bd687b366 100644
--- a/css-color-adjust-1/Overview.bs
+++ b/css-color-adjust-1/Overview.bs
@@ -499,313 +499,23 @@ Forced Color Palettes {#forced}
If [=get emulated forced colors theme data=]
is not "{{ForcedColorsModeAutomationTheme/none}}",
the user agent should bypass the above operating system color themes,
- and instead do the following based on the resulting value of
- [=emulated forced colors theme data=]:
+ and instead act as if the user has enabled forced colors mode
+ with the [=forced colors mode emulation color palette=] defined for
+ the resulting value of [=emulated forced colors theme data=].
+
- : "{{ForcedColorsModeAutomationTheme/light}}"
- :: Act as if the user has enabled forced colors mode with the
- following color mappings:
+
+ Authors are encouraged to simplify the contrast in their pages
+ when '@media/forced-colors' is ''active'',
+ reducing effects such as shadows, fades, blurs, filters, gradients,
+ and image or pattern fills
+ that add complexity to discerning shape outline
+-->
Properties Affected by Forced Colors Mode {#forced-colors-properties}
-----------------------------------------
@@ -1156,7 +866,297 @@ Emulation {#color-adjust-emulation}
5. Return |traversable|'s associated [=emulated forced colors theme data=].
+Forced Colors Mode Color Palettes {#forced-color-palettes}
+----------------------------------------------
+ For the purposes of user agent automation and application testing, this document
+ defines the below forced colors mode emulation color palettes.
+ [=System color=] mappings for "{{ForcedColorsModeAutomationTheme/light}}":
+
+
+
+ | <> keyword |
+ Value |
+
+
+
+
+ | ''AccentColor'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''AccentColorText'' |
+
+
+ #000000
+ |
+
+
+ | ''ActiveText'' |
+
+
+ #00009F
+ |
+
+
+ | ''ButtonBorder'' |
+
+
+ #000000
+ |
+
+
+ | ''ButtonFace'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''ButtonText'' |
+
+
+ #000000
+ |
+
+
+ | ''Canvas'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''CanvasText'' |
+
+
+ #000000
+ |
+
+
+ | ''Field'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''FieldText'' |
+
+
+ #000000
+ |
+
+
+ | ''GrayText'' |
+
+
+ #600000
+ |
+
+
+ | ''Highlight'' |
+
+
+ #37006E
+ |
+
+
+ | ''HighlightText'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''LinkText'' |
+
+
+ #00009F
+ |
+
+
+ | ''Mark'' |
+
+ N/A - this [=system color=] keyword should not be adjusted.
+ |
+
+
+ | ''MarkText'' |
+
+ N/A - this [=system color=] keyword should not be adjusted.
+ |
+
+
+ | ''SelectedItem'' |
+
+
+ #37006E
+ |
+
+
+ | ''SelectedItemText'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''VisitedText'' |
+
+
+ #00009F
+ |
+
+
+
+
+ [=System color=] mappings for "{{ForcedColorsModeAutomationTheme/dark}}":
+
+
+
+ | <> keyword |
+ Value |
+
+
+
+
+ | ''AccentColor'' |
+
+
+ #000000
+ |
+
+
+ | ''AccentColorText'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''ActiveText'' |
+
+
+ #FFFF00
+ |
+
+
+ | ''ButtonBorder'' |
+
+
+ #000000
+ |
+
+
+ | ''ButtonFace'' |
+
+
+ #000000
+ |
+
+
+ | ''ButtonText'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''Canvas'' |
+
+
+ #000000
+ |
+
+
+ | ''CanvasText'' |
+
+
+ #FFFFFF
+ |
+
+
+ | ''Field'' |
+
+
+ #000000
+ |
+
+
+ | ''FieldText'' |
+
+
+ #FFFFFF
+ |
+ |
+
+
+ | ''GrayText'' |
+
+
+ #3FF23F
+ |
+
+
+ | ''Highlight'' |
+
+
+ #1AEBFF
+ |
+
+
+ | ''HighlightText'' |
+
+
+ #000000
+ |
+
+
+ | ''LinkText'' |
+
+
+ #FFFF00
+ |
+
+
+ | ''Mark'' |
+
+ N/A - this [=system color=] keyword should not be adjusted.
+ |
+
+
+ | ''MarkText'' |
+
+ N/A - this [=system color=] keyword should not be adjusted.
+ |
+
+
+ | ''SelectedItem'' |
+
+
+ #1AEBFF
+ |
+
+
+ | ''SelectedItemText'' |
+
+
+ #000000
+ |
+
+
+ | ''VisitedText'' |
+
+
+ #FFFF00
+ |
+
+
+
Privacy Considerations {#privacy}
From c1cf8b6f5bb78cc79edf1bb68875504b186b8845 Mon Sep 17 00:00:00 2001
From: Alison Maher
Date: Thu, 31 Jul 2025 12:37:13 -0700
Subject: [PATCH 2/2] use caption
---
css-color-adjust-1/Overview.bs | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/css-color-adjust-1/Overview.bs b/css-color-adjust-1/Overview.bs
index 191bd687b366..940820a80e97 100644
--- a/css-color-adjust-1/Overview.bs
+++ b/css-color-adjust-1/Overview.bs
@@ -871,8 +871,10 @@ Forced Colors Mode Color Palettes {#forced-color-palettes}
For the purposes of user agent automation and application testing, this document
defines the below forced colors mode emulation color palettes.
- [=System color=] mappings for "{{ForcedColorsModeAutomationTheme/light}}":
+
+ [=System color=] mappings for "{{ForcedColorsModeAutomationTheme/light}}"
+
| <> keyword |
@@ -1014,8 +1016,10 @@ Forced Colors Mode Color Palettes {#forced-color-palettes}
- [=System color=] mappings for "{{ForcedColorsModeAutomationTheme/dark}}":
+
+ [=System color=] mappings for "{{ForcedColorsModeAutomationTheme/dark}}"
+
| <> keyword |