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 authored and jakearchibald committed Jan 16, 2023
1 parent f617550 commit e21feda
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 e21feda

Please sign in to comment.