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

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 
https://github.com/w3c/csswg-drafts/issues/137#issuecomment-224431267 
using your GitHub account

Received on Tuesday, 7 June 2016 22:15:04 UTC