:global
doesn't work with CSS nesting
#12405
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: sfc
Vue version
@d637bd6
Link to minimal reproduction
https://play.vuejs.org/#eNp9UctOwzAQ/BXLJ5BKqgpOIapEUQ9wAAQcfcljSdJuvJYfpVXVf2fjKLSHqJIvnhnvzKyP8smYZBdApjLz0BnMPSyVFiJrFssVVQdR5OW2thR0JVxDAStRgCgwwEx42Ptp3gRrEJJszlOUzuYXo/nq/AFBuJIMVIykNVKR403Bdrfi2Lufh96VhGTT6PjYvxaiWQyiKdlgzEIhTkrzyebRjW3kTHr21D9tnWwcaa4cxyhZUmdaBPtufEvaKZmOBkrmiPT7GjFvufSIlw2U2wl84/Y9puSHBQd2B0r+cz63NfiBXn+98fYuyI6qgKy+Qn6CIwx9xkG24uIc+0IX0750hqxvdf3t1nsP2o2l+qBxM1GvJP/785Xq57j3ycO4UXn6A8QMvRw=
Steps to reproduce
In the minimal reproduction, open the Playground's compiled CSS tab.
What is expected?
What is actually happening?
System Info
No response
Any additional comments?
Remove the nested
h1
selector inside:global(body)
, and then the body's background becomes blue as expected.The text was updated successfully, but these errors were encountered: