Re: [csswg-drafts] [css-values-5] Behavior of ident() in at-rule preludes (#12219)

There's several examples beyond `sibling-index()` - anything that relies on an element to calculate something, like the example `ident("--p" sign(16px - 1em))` given in the initial post, which relies on an element context to determine the size of an `em`, so it knows to produce `--p0`, `--p1`, or `--p-1`.

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


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

Received on Friday, 23 May 2025 00:08:57 UTC