Skip to content

[v4] Namespace override syntax is not valid CSS #15602

@malobre

Description

@malobre

I'm using a CSS formatter (biome) that won't parse namespace overrides, e.g: --font-*, because it is not a valid ident-token according to https://drafts.csswg.org/css-syntax-3/#ident-token-diagram

I see two possibilities:

  • Keep the current syntax:
    In this case we should also support the escaped version (which is valid CSS syntax), e.g: --font-\*: initial;.
  • Change the syntax:
    The simplest alternative would be to drop the asterisk, e.g --font: initial;.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions