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

Interestingly, per the current [CSS Cascading Level 4](https://drafts.csswg.org/css-cascade-4/#cascade-scope) spec,

> Normal declarations from style attributes are considered to be scoped to the element with the attribute

Doesn't this imply that, once [CSS Nesting](https://tabatkins.github.io/specs/css-nesting/) makes it into standard, it would be possible to write element-scoped styles as nested selectors inside the `style` attribute?

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

Received on Monday, 28 January 2019 11:09:12 UTC