Re: [csswg-drafts] [css-values-5] A way to dynamically construct function calls (`<dashed-function>` etc) (#12806)

It looks like some of the ideas in here rely "element context" being available at the time mixins are applied. For example, `@apply call(if(style(--is-foo: bar): --bar-mixin))` effectively requires the same context as `@apply call(var(--my-mixin-name))`, and that is quite impossible with the direction the spec is taking; mixins are applied at a time when we know nothing about elements at all.

(Should be fine for custom functions, though.)

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


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

Received on Wednesday, 17 September 2025 08:46:46 UTC