W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

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

From: jackfrankland via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 May 2020 21:38:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-628259874-1589405932-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC