Skip to content

CSS Custom Highlight Universal Selector ::highlight(*) #4242

Description

@DevSDK

Specification

Spec work in progress:
Spec issue: w3c/csswg-drafts#9091
Spec PR: w3c/csswg-drafts#14301

Description

Introduces a universal selector for custom highlights, ::highlight(*), which matches the highlight pseudo-elements of all custom highlights regardless of their name.

The * argument contributes zero specificity, so its declarations act as a base style that rules naming a specific highlight override through the cascade.

Documentation

N/A

Browser support

Metadata

Metadata

Assignees

No one assigned

    Labels

    early featuresFeature definition work for features without shipping implementationsfeature definitionCreating or defining new features or groups of features.feature entry requestA request for a new web platform feature entry

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions