Skip to content

Commit

Permalink
Merge pull request #3047 from mgreter/bugfix/3046-selector-schema-chroot
Browse files Browse the repository at this point in the history
Fix parent resolving for selector schema and real parents
  • Loading branch information
mgreter authored Dec 13, 2019
2 parents b10866c + 52b3fae commit f67435f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/expand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ namespace Sass {
if (r->schema()) {
SelectorListObj sel = eval(r->schema());
r->selector(sel);
bool chroot = sel->has_real_parent_ref();
for (auto complex : sel->elements()) {
complex->chroots(chroot);
// ToDo: maybe we can get rid of chroots?
complex->chroots(complex->has_real_parent_ref());
}

}
Expand Down

0 comments on commit f67435f

Please sign in to comment.