Skip to content

Should ::part() be a String instead of a Selector? #47

Open
@WilcoFiers

Description

@WilcoFiers

I noticed this change added recently:
6dbe132

Looking over the spec ::part() takes a space separated list of identifiers, not a CSS selector. I think those probably could be parsed as a selector, but that doesn't seem to be the intent.

I was hoping I could correct it by adding String: ['part'] but this results in a Conflicting pseudo-class argument type: "Selector" vs "String". error. Is there a way to remove an pseudo element from a particular type that I'm not seeing, or is this extend method only additive? The syntax definitions don't seem to be exported so I can't modify them manually either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions