0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-21 19:38:58 +01:00
svelte/.changeset/nice-numbers-remember.md
Simon H 1eed645919
fix: ensure explicit nesting selector is always applied (#14193)
Previously, we were applying an explicit nesting selector to the start of a relative selector chain only when starting the traversal. Prepending the selector is important because it ensures we traverse upwards to the parent rule when the current selectors all matched and there's still more to do. But we forgot to do the prepend for parent rules, which meant that if we were nested two levels deep, we would stop too early. This fix ensures we prepend in that case, too.

Fixes #14178
2024-11-07 15:30:06 +01:00

81 B

svelte
patch

fix: ensure explicit nesting selector is always applied