Y
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
spankalee
650 days ago
No, in taking about the native scoping you get with shadow DOM, which is awesome and not an "inspection nightmare".
link
wruza
652 days ago
Isn’t it a “limited availability” feature? Why would they use it?
link
paulddraper
651 days ago
Yeah, but `@scope` is only if you don't want to support Firefox.
link