W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

Re: [csswg-drafts] [css-scoping] scoped attribute on style element removed from HTML

From: Keith Grant via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Jun 2016 22:15:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-224431267-1465337702-sysbot+gh@w3.org>
I'm sad to see this. I've been excited by this spec, and it does seem 
to have changed from when I last checked about a year ago.

I disagree that @scope is akin to just adding an id. Because of the 
way scope works in the cascade, nested scopes can do so much more than
 just ids. With normal id selectors, you would have to write every 
possible permutation to make them target correctly when nested, 
whereas styles from the innermost scope will inherently apply over the
 outer scope.

This would be hugely valuable in highly-modular webapps. It seems to 
me this is the most direct answer to Christopher Chedeaux and all the 
CSS-in-JS discussion.

GitHub Notification of comment by keithjgrant
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 7 June 2016 22:15:04 UTC

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