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

> To be clear: shadow DOM does not prevent inheritance, but it does prevent global selectors *, p, etc from affecting the component. 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>`

This is correct, I think (largely? Depends on the kind of properties?) But that makes it even worse, because it's so particular about what works and what doesn't. And when would you ever want to _just_ inherit, but not have access the global styles? Who thinks and works like that?

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

Received on Monday, 28 January 2019 21:06:57 UTC