File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -952,6 +952,17 @@ Styling Highlights</h3>
952
952
into a single shape.
953
953
-->
954
954
955
+ If, for a given [=highlight pseudo-element=] ,
956
+ there are colors specified in the [=author origin=] ,
957
+ those colors must be respected as specified;
958
+ i.e. the UA must not apply any extra processing
959
+ (such as using semi-transparent washes).
960
+ However if there are no colors in the [=author origin=] ,
961
+ the UA may apply additional color processing.
962
+
963
+ Note: This is to ensure that color contrast is preserved
964
+ across all user agents interpreting a given author stylesheet.
965
+
955
966
Vendor-prefixed properties such as '-webkit-text-fill-color'
956
967
are not applicable to the [=highlight pseudo-elements=] .
957
968
<!-- https://github.com/w3c/csswg-drafts/issues/7580 -->
You can’t perform that action at this time.
0 commit comments