scoped
scoped copied to clipboard
Mutating a <style scoped> element breaks :scope
I was experimenting around with this and I'm unsure if this is intended behaviour, a bug, or just some oversight.
I had my inspect tools open and when I double clicked within the <style scoped>
element to edit it, I noticed that :scope
reverts back to the <html>
element, whether I actually make changes or not.
If it makes an impact at all, the CSS is minified.