- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 25 Feb 2025 13:00:52 +0000
- To: public-css-archive@w3.org
Yes, I think so. Since an implementation should parse a declaration value by looking for a function whose name is `var`, `attr`, `env`, etc... and now whose name starts with `--`, `<dashed-function>` does not need a valid value definition. Other concerns can be addressed in a separate, more general issue. Namely: - how to specify grammar for a function with a value range (production) for its name? (related: #11241) - allow whitespaces between a function name and `(` The first point is what bothers me a little. Since `<var()>` has a valid value definition, I can [parse something according to its grammar](https://drafts.csswg.org/css-syntax-3/#css-parse-something-according-to-a-css-grammar) with the string `<var()>` as `grammar`. I cannot do the same with `<dashed-function>`. It would be nice if this were possible. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10558#issuecomment-2681911451 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 13:00:53 UTC