You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess expected behavior is debatable for how a sibling CSS selector should behave for a node inside a Svelte slot. I was expecting <slot> to be invisible to the CSS selector, i.e. for it to behave as if the slot was replaced by its fallback.
Describe the bug
I guess expected behavior is debatable for how a sibling CSS selector should behave for a node inside a Svelte slot. I was expecting
<slot>
to be invisible to the CSS selector, i.e. for it to behave as if the slot was replaced by its fallback.Reproduction
REPL.
span
color is not red in this repro, meaning the slot acts as real DOM node breaking the sibling relationship betweenh1
andspan
.Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: