4 ms·
<style scoped> was a good idea. It's frustrating that the spec didn't end up officially supporting it, but a key feature of the web platform is that you can ext
by alexpetros 3y ago
<style scoped> was a good idea. It's frustrating that the spec didn't end up officially supporting it, but a key feature of the web platform is that you can extend it and demonstrate the value that official support would bring. This is very cool, hope it gets some traction.
- miragecraft 3y agoIt’s coming back with @scope at-rule: https://www.w3.org/TR/css-cascade-6/#scope-limits https://www.w3.org/TR/css-cascade-6/#scope-limits > If no <scope-start> is specified, the scoping root is the parent element of the owner node of the stylesheet where the @scope rule is defined. It also comes with the ability to set scoping limit.