@@ -812,28 +812,36 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
812
812
813
813
When <a>forced colors mode</a> is active
814
814
and 'forced-color-adjust' is ''forced-color-adjust/auto'' (see below) on an element,
815
- colors on the element are force-adjusted to the user’s preferred color palette.
816
-
817
- Specifically, for each of the following properties:
818
-
819
- <ul>
820
- <li> 'color'
821
- <li> 'fill'
822
- <li> 'stroke'
823
- <li> 'text-decoration-color'
824
- <li> 'text-emphasis-color'
825
- <li> 'border-color'
826
- <li> 'outline-color'
827
- <li> 'column-rule-color'
828
- <li> 'scrollbar-color'
829
- <li> '-webkit-tap-highlight-color'
830
- <li> 'background-color'
831
- <li> 'caret-color'
832
- <li> 'flood-color'
833
- <li> 'lighting-color'
834
- <li> 'stop-color'
835
- </ul>
815
+ the <<color>> components of all properties on the element
816
+ are force-adjusted to the user’s preferred color palette.
817
+
818
+ <div class="note">
819
+ Specifically, <a>forced colors mode</a> applies to the following color properties,
820
+ along with their shorthands.
821
+ This is the list of color properties existing at the time of writing,
822
+ but it may not be an exhaustive list as more properties get added over time:
823
+
824
+ <ul>
825
+ <li> 'accent-color'
826
+ <li> 'background-color'
827
+ <li> 'border-color'
828
+ <li> 'caret-color'
829
+ <li> 'color'
830
+ <li> 'flood-color'
831
+ <li> 'fill'
832
+ <li> 'lighting-color'
833
+ <li> 'outline-color'
834
+ <li> 'rule-color'
835
+ <li> 'scrollbar-color'
836
+ <li> 'stop-color'
837
+ <li> 'stroke'
838
+ <li> 'text-decoration-color'
839
+ <li> 'text-emphasis-color'
840
+ <li> '-webkit-tap-highlight-color'
841
+ </ul>
842
+ </div>
836
843
844
+ For each <<color>> component of a property,
837
845
if its [=computed value=] is a color other than a [=system color=] ,
838
846
its [=used value=] is instead forced to a [=system color=] as follows:
839
847
@@ -878,8 +886,8 @@ Properties Affected by Forced Colors Mode {#forced-colors-properties}
878
886
* 'background-image' computes to ''background-image/none''
879
887
unless the original value contains a ''url()'' function
880
888
* 'color-scheme' computes to ''light dark''
881
- * 'scrollbar-color' computed to ''scrollbar-color/auto''
882
- * 'accent-color' computed to ''accent-color/auto''
889
+ * 'scrollbar-color' computes to ''scrollbar-color/auto''
890
+ * 'accent-color' computes to ''accent-color/auto''
883
891
884
892
UAs may further tweak these <a>forced colors mode</a> heuristics
885
893
to provide better user experience.
0 commit comments