[css-houdini-drafts] Pull Request: [css-properties-values-api] Allow dashed idents in syntax strings

andruud has just labeled a pull request from andruud for https://github.com/w3c/css-houdini-drafts as "css-properties-values-api-1":

== [css-properties-values-api] Allow dashed idents in syntax strings ==
Currently, grammars like `syntax:"auto | --mything"` are not allowed, since we don't handle HYPHEN-MINUS during "consume a syntax component". This was likely an oversight when it was initially written.

Note: we might want to just remove the algorithms that parse syntax components from a string, and instead tokenize/parse using the new `<syntax>` production. If we do, that would *also* make dashed idents allowed unless we explicitly block it.

See https://github.com/w3c/css-houdini-drafts/pull/1137


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 January 2025 11:53:24 UTC