-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workingscope: compilerscope: sfc
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
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workingscope: compilerscope: sfc