Skip to content

[css-properties-values-api-1] Define syntax with <string> | <syntax> #1132

Open

Description

@cdoublev

The syntax descriptor could now be defined with a "naked" value matching <syntax>.

When declared as a <string>, its value would be parsed against <syntax> instead of calling consume a syntax definition, which could be removed.

Note that the <syntax> value range is slightly wider than what this algo allows, since it matches syntax component names case-sensitively. I think that is the only difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions