Re: [csswg-drafts] [css-variables-1] Please clarify in the Intro about custom properties *cascading* (#2451)

I don't think this is unclear in the intro, and the correction doesn't help (and possibly makes it worse) - it suggests that there are *non-*cascaded uses of a variable.

The cascade is intrinsic to the "use" of a variable here; using a `var(--foo)` on an element without a connection to any `--foo` property is the same as using a JS variable in one function that's only defined in an unrelated function.

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


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

Received on Tuesday, 27 July 2021 21:27:44 UTC