Hacker News new | ask | show | jobs
by krsdcbl 652 days ago
op is not talking about style atts, but referring to nesting inline `<style> @scope { ... }</style>` to declare vanilla css in the scope & context of specific DOM nodes
3 comments

No, in taking about the native scoping you get with shadow DOM, which is awesome and not an "inspection nightmare".
Isn’t it a “limited availability” feature? Why would they use it?
Yeah, but `@scope` is only if you don't want to support Firefox.