Skip to content

Commit

Permalink
[css-highlight-api-1] Specify that custom highlights have no UA styles
Browse files Browse the repository at this point in the history
…#6375 (#6534)

* Specify that custom highlights have no UA styles, and inherit the styles of the originating element

* Lowercase 'c' in custom highlight pseudo-elements
  • Loading branch information
dandclark committed Aug 23, 2021
1 parent fb20b41 commit 59e0eec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css-highlight-api-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ Applicable Properties</h4>
can only be styled with a limited set of properties.
See [[css-pseudo-4#highlight-styling]] for the full list.

<h4 id=default-styles>
Default Styles</h4>

UAs must not define any styles for [=custom highlight pseudo-elements=] in the default UA
stylesheet. A [=custom highlight pseudo-element=] inherits the styles of its
[=originating element=].

<h4 id=c-and-h>
Cascading and Inheritance</h4>

Expand Down

0 comments on commit 59e0eec

Please sign in to comment.