- From: Ziad El Khoury Hanna via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Oct 2024 13:21:12 +0000
- To: public-css-archive@w3.org
I might be wrong but I believe @bramus meant something like the following. Given: ```html <style> :root { color: green; } @​scope isolated (.root) to (.foo) { :scope { color: red; } } </style> <div class="root"> this text is red <div class="foo">this text should be green</div> </div> ``` `div.foo`'s `color` will be inherited from `:root` instead of `.root` because the `@scope` was isolated. -- GitHub Notification of comment by zaygraveyard Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11002#issuecomment-2399833937 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 8 October 2024 13:21:13 UTC