- From: Michal Čaplygin via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Apr 2024 08:01:13 +0000
- To: public-css-archive@w3.org
Yes, presumably it is exactly the equivalent. The line of thought here is that now the outermost `&` inside **regular style sheet** is implicitly bound to the `:root` element (1), so idea for **style attribute** to have the `&` bound to the host element really sounds quite reasonable. (1) see: ```HTML <!doctype html><html><head> <style> &:is(:root) { & > body > p { color: red; } } </style></head><body> <p>I am red. (This works already.) ``` -- GitHub Notification of comment by myfonj Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8752#issuecomment-2074324239 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 April 2024 08:01:14 UTC