css-houdini-drafts icon indicating copy to clipboard operation
css-houdini-drafts copied to clipboard

[css-properties-values-api] Allow dashed idents in syntax strings

Open andruud opened this issue 10 months ago • 1 comments

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.

andruud avatar Jan 02 '25 11:01 andruud