- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 May 2025 08:46:00 +0000
- To: public-css-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-5] Behavior of ident() in at-rules preludes == The spec says: > The [ident()](https://drafts.csswg.org/css-values-5/#funcdef-ident) function can be used as a value for any property or function argument that accepts a [`<custom-ident>`](https://drafts.csswg.org/css-values-4/#identifier-value). Does this mean that it's _not_ valid in other contexts? For example: `@position-try ident("--p" 1) {}`. If it _is_ valid, what happens with e.g. `@position-try ident("--p" sign(16px - 1em)) {}`? Or `@position-try ident("--p" sibling-index()) {}`? `@container ident("--p" sign(16px - 1em)) {}`, if valid, would need to resolve `em` (etc) against something that's _not_ the container's font-size (unlike `em` in the query itself), since the ident is the thing that determines _what_ to query. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12219 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 May 2025 08:46:01 UTC