Animations in scoped style blocks are broken
Version
3.0.6
Reproduction link
https://github.com/mvsde/vue-3.0.6-scoped-animations
Steps to reproduce
- Run the test project with
npm run serve
. - Open the dev server URL in a browser.
- Observe the two colored boxes.
What is expected?
Both colored boxes rotate (works in 3.0.5).
What is actually happening?
Only the box with unscoped styles rotates.
The generated CSS looks like this. Note the "scoped" keyframe:
@keyframes rotate-scoped-341d6b1f {
to[data-v-341d6b1f] {
transform: rotate(1turn)
}
}