Skip to content

Commit 59e0eec

Browse files
authored
[css-highlight-api-1] Specify that custom highlights have no UA styles w3c#6375 (w3c#6534)
* Specify that custom highlights have no UA styles, and inherit the styles of the originating element * Lowercase 'c' in custom highlight pseudo-elements
1 parent fb20b41 commit 59e0eec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-highlight-api-1/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,13 @@ Applicable Properties</h4>
295295
can only be styled with a limited set of properties.
296296
See [[css-pseudo-4#highlight-styling]] for the full list.
297297

298+
<h4 id=default-styles>
299+
Default Styles</h4>
300+
301+
UAs must not define any styles for [=custom highlight pseudo-elements=] in the default UA
302+
stylesheet. A [=custom highlight pseudo-element=] inherits the styles of its
303+
[=originating element=].
304+
298305
<h4 id=c-and-h>
299306
Cascading and Inheritance</h4>
300307

0 commit comments

Comments
 (0)