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

> Is there a reason to prefer the HTML attribute approach over a `@scope` rule in CSS? The latter seems to me to reduce code duplication and prevent poor fallback behavior.

`@scope` can't be used without adding some identificator for a scope element, when `<style scoped>` can. It makes `@scope` rule absolutely useless, when you trying to avoid making your DOM look like messf*ck.

![Screenshot_933](https://user-images.githubusercontent.com/7362968/93116229-ad9d9f80-f6c5-11ea-955f-bb9d340df1c3.png)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 14 September 2020 17:06:26 UTC