Re: [csswg-drafts] [css-mixins] `<dashed-function>` syntax seems invalid (#10558)

> how to specify grammar for a function with a value range (production) for its name?

That's already done in the spec. You have to use some prose rather than a pure Value Definition Syntax, but that's fine.

> allow whitespaces between a function name and (

Nothing to be discussed here, no whitespace is allowed. That's consistent for all functions in CSS.

> I cannot do the same with `<dashed-function>`. It would be nice if this were possible.

Sure you can. `<dashed-function>` is defined in the Mixins spec, it's perfectly usable as a non-terminal.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10558#issuecomment-2683306927 using your GitHub account


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

Received on Tuesday, 25 February 2025 21:13:33 UTC