Re: [csswg-drafts] [css-values-5][css-mixins-1] Add an if-test for local variables (#11455)

I think just using `style()` is the right way to go. Local variables fully shadow custom properties in other contexts; it feels weird for `style()` to be able to pierce thru that and see all the way to the element. Also, the variable shadowing behavior is *very intentionally* meant to be able to let a caller override what a callee sees for custom props.

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


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

Received on Tuesday, 21 January 2025 16:50:35 UTC