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

> it does prevent global selectors *, p, etc from affecting the component

true 

> Therefor Svelte, Vue, Angular and styled-jsx are far more comparable to the scoped attribute than to shadow DOM. As Heydon said, Vue explicitly emulates <style scoped>

Not 100% sure about Vue (I think I checked once about it) and Angular but Svelte and styled-jsx act more like Shadow DOM. I am the co-author of styled-jsx and convinced Rich Harris (Svelte's author) to switch from emulating `<style scoped>` to behave like styled-jsx.

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

Received on Monday, 28 January 2019 14:31:22 UTC