Re: [csswg-drafts] [css-selectors] Proposal: Selector Boundary (#5057)

> Scoped styles seem a better solution to me

Thanks for your feedback. Just want to check, is it that you prefer _what_ scoped styles allows you to do, rather than the method? As far as I understand, there's a slight difference between that and what this proposal is trying to achieve:

- Scoped styles will not prevent outside styles from leaking into the scope, while not allowing outside styles to override defined styles within the scope
- The proposed "boundary" here will prevent outside defined styles from leaking into the boundary by default, while allowing styles to be set from the outside with an explicit selector

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

Received on Wednesday, 13 May 2020 21:38:54 UTC