Re: [csswg-drafts] [css-mixins] custom mixins & functions should have some access to custom properties on the calling element. How much? (#9938)

> My fairly strongly-held position is that all arguments visible to the function body should be lexically scoped 

What about `currentcolor`? It seems like this is similar enough to css custom properties that they should behave the same way.

The new thing here seems to be a local variable and if they should have different behavior, would it help if they just used a different syntax so they couldn't easily be confused?

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


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

Received on Friday, 23 February 2024 15:41:16 UTC