libsass
libsass copied to clipboard
selector-extend() and selector-replace() don't always optimize out redundant selectors
Calling selector-extend("c.d", "c, .d", ".e")
currently returns .c.d, .d.e, .e
. The selector .d.e
there is redundant because it's a subselector of .e
and isn't covered by either law of extend, so it should be optimized away.