- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Aug 2023 16:13:32 +0000
- To: public-css-archive@w3.org
> @mirisuzanne so to make sure I understand: `env(<custom-ident>)` would resolve based on the regular custom properties defined ONLY in `::global` rules? And these regular custom properties would be usable via `var()` as well, with `::global` sitting above `:root` in the inheritance chain? To clarify this a bit more: I would have `env(<custom-ident>)` resolve based on the regular custom properties _as defined in the global rule only_. Env would always return the global value of the property. But I would not have a restriction that those custom properties remain constant throughout the cascade. Custom properties could get different contextual values accessible to `var()`, and that would have no impact on their global value or access via `env()`. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9206#issuecomment-1690247650 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 August 2023 16:13:34 UTC