Closed
Description
Vue version
3.4.19
Link to minimal reproduction
Steps to reproduce
- create a new component which root node has a class name and a child
- create a css rule for that class, and create a .class > * rule for its descendants
- use that component in a component, with an ancestor who has the same class name with that component's root node
- the style of the node is effected by the rules which mean to take effects on its descendants because the existence of a class name out of the scope
What is expected?
.class-name[data-v-hash] {
...
}
.class-name[data-v-hash] * {
...
}
What is actually happening?
.class-name[data-v-hash] {
...
}
.class-name *[data-v-hash] {
...
}
System Info
No response
Any additional comments?
No response