- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Feb 2025 14:27:10 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-5] Why is `ident()` an arbitrary substitution function? == > The [`ident()`](https://drafts.csswg.org/css-values-5/#funcdef-ident) function is an [arbitrary substitution function](https://drafts.csswg.org/css-values-5/#arbitrary-substitution-function) that can be used to manually construct `<custom-ident>` values from several parts. I do not understand why it is defined as an arbitrary substitution function. > If a property value contains one or more arbitrary substitution functions, and those functions are themselves syntactically valid, the entire value’s grammar must be assumed to be valid at parse time. Both `color: rgb(0 0 var(--blue))` and `animation-name: ident(custom- var(--id))` are valid at parse time because the property value includes `var()`, but `rgb()` is not an arbitrary substitution function. What am I missing? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11663 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 February 2025 14:27:11 UTC