-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: compiler
Description
Vue version
3.5.15
Link to minimal reproduction
Steps to reproduce
The Vue issue helper doesn't seem to create issues, so I have to fill this form manually.
Steps to reproduce:
Create a component with a scoped style block having a CSS rule affecting its direct descendants with a wildcard rule, such as:
> * {
max-width: 200px;
}
What is expected?
CSS rule is applied to children, as it does in 3.5.14.
What is actually happening?
CSS rule is not applied to children after 3.5.15. If I remove the direct descendant arrow, or replace the wildcard with div, the example works again.
System Info
Any additional comments?
If this is by design, then my own interpretation is flawed, apologies in advance.
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.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: compiler