Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@uberska
Copy link
Member

@uberska uberska commented Aug 11, 2014

Fixes Issue #460

The first pass of placeholder substitution via the extend operator builds up an all_subbed list of selectors that were substituted. It then creates a selector out of the list and sets it as the selector for the passed in rule set. This ended up blowing away any non-substituted selectors for the rule set.

From issue #146, it sounds like there is a large set of changes intended for the extend operator. So, this fix tries to be surgical to fix the use case in issue 460 only. Our codebase relies on the pattern mentioned in #460 heavily.

There is also a pull request from michaek to update sass-spec to test for this case: sass/sass-spec#33. Once this change is merged, that test should now pass.

@HamptonMakes HamptonMakes merged commit 3937df6 into sass:master Oct 2, 2014
@SparkyBluefang SparkyBluefang deleted the feature/placeholder-within-grouped-selectors branch October 9, 2014 20:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants