Re: [csswg-drafts] [css-variables-2] Is it possible in the future to allow variables to be defined outside the elements' `{}`? (#8159)

No, this can never happen. Mixing properties and selectors at the same level is problematic - see the long discussion in #7834, where we have to do a lot of work to allow mixing properties with nested selectors.

In particular, the current solution in the spec for nested rules disallows starting a selector with an identifier (aka a tagname selector), which we definitely can't retroactively apply to all existing CSS. ^_^

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


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

Received on Wednesday, 30 November 2022 17:07:52 UTC