Skip to content
This repository was archived by the owner on Jun 6, 2022. It is now read-only.
This repository was archived by the owner on Jun 6, 2022. It is now read-only.

custom selectors are pseudo classes #6

Closed
@MoOx

Description

@MoOx

Should be

@custom-selector :--heading h1, h2, h3, h4, h5, h6;

:--heading { /* styles for all headings */ }
:--heading + p { /* more styles */ }

http://dev.w3.org/csswg/css-extensions/#example-5b616cc6

We need to support that asap and add a warning message to deprecate previous behavior.
I will try to tackle this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions