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

emilio has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-properties-values-api] The fact that "foo bar" and "foo | bar" are equivalent syntax is confusing. ==
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?

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/893 using your GitHub account

Received on Wednesday, 29 May 2019 19:43:03 UTC