File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -952,6 +952,17 @@ Styling Highlights</h3>
952952 into a single shape.
953953-->
954954
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+
955966 Vendor-prefixed properties such as '-webkit-text-fill-color'
956967 are not applicable to the [=highlight pseudo-elements=] .
957968 <!-- https://github.com/w3c/csswg-drafts/issues/7580 -->
You can’t perform that action at this time.
0 commit comments