Skip to content

[css-properties-values-api] The fact that "foo bar" and "foo | bar" are equivalent syntax is confusing. #893

@emilio

Description

@emilio

In https://drafts.css-houdini.org/css-properties-values-api-1/#consume-syntax-descriptor, | and any other character are treated basically equivalently, so it means that <length> <percentage> is really a syntax for <length> | <percentage>, rather than a <length>, then a <percentage>.

Is this intentional? Is there any reason we're closing the gate to more expressive syntaxes that allow multiple keywords?

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