Skip to content

Commit

Permalink
[css-pseudo-4] Define forced colors mode on highlight pseudo-elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Dec 29, 2022
1 parent 10a46bb commit 05e463d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,11 @@ Styling Highlights</h3>
</wpt>
</ul>

The 'forced-color-adjust' property cannot be set on [=highlight pseudo-elements=];
however a [=highlight pseudo-element=] must honor
any [=forced colors mode=] applied to its [=originating element=]
(and is therefore subject to the control of the [=originating element=]’s 'forced-color-adjust' value).

Issue: Are there any other properties that should be included here?

Note: The 'color' property sets the color of
Expand Down

0 comments on commit 05e463d

Please sign in to comment.