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

  > That is an ident followed by a paranthesized block, no ambiguity.

Also in `@layer <layer-name>? { <rule-list> }`? Does it represent `<at-keyword-token>`, `<layer-name>?`, and a simple block whose value is `<rule-list>`? And if I see `<production> (a)` in a value definition, is that an illegal value definition?

Similarly as whitespaces are (usually) optional in the input, I thought they should have no meaning in a value definition. `foo<bar>` or `<foo><bar>` are unambiguous, equivalent to `foo <bar>` or `<foo> <bar>`, and do not disallow a whitespace in the input. So that is not true for `fn(a)` and `fn (a)`.

I had not perceived that *[you] probably shouldn't do it"*, sorry. I am not arguing my personal opinion. At least, I just wanted to know yours, and ideally clarify it in the specification. It can even change in the future, that is ok.

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


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

Received on Thursday, 27 February 2025 04:48:19 UTC