Re: [csswg-drafts] [css-scoping] Please bring back scoped styles (#3547)

update Vue also works like Svelte and styled-jsx https://codesandbox.io/s/ko4kp4nq5r https://vue-loader.vuejs.org/guide/scoped-css.html#mixing-local-and-global-styles 

Anyway this thread is not about frameworks I guess :) `<style scope>` affects the entire subtree and technically who wants to emulate this behavior could just use a unique id to scope styles to a subtree. 

Eventually I don't mind if this makes it to the spec again but I don't think it is a proper solution the the lack of encapsulation in lite DOM.

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

Received on Monday, 28 January 2019 14:51:45 UTC