Re: [csswg-drafts] [css-nesting] Suggest a way to inspect CSS nesting in browser DevTools (#8236)

I would be fantastic if for CSS Nesting, the CSSOM is also updated with awareness of nesting. This [hasn't happened with layers](https://github.com/w3c/csswg-drafts/issues/7015) and it makes creating devtools/introspection tooling outside of a browsers internals significantly more complex. 

In terms of display, deciding which part of the nesting context (e.g. sibling nested selectors) to show and when is going to be the biggest puzzle, though I'm not convinced that there's going to be one ideal way that all devtools teams agree on (and having a few different representations that can converge over time is probably a good thing).

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


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

Received on Friday, 16 December 2022 10:02:00 UTC