Skip to content

Commit f67435f

Browse files
authored
Merge pull request #3047 from mgreter/bugfix/3046-selector-schema-chroot
Fix parent resolving for selector schema and real parents
2 parents b10866c + 52b3fae commit f67435f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/expand.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ namespace Sass {
188188
if (r->schema()) {
189189
SelectorListObj sel = eval(r->schema());
190190
r->selector(sel);
191-
bool chroot = sel->has_real_parent_ref();
192191
for (auto complex : sel->elements()) {
193-
complex->chroots(chroot);
192+
// ToDo: maybe we can get rid of chroots?
193+
complex->chroots(complex->has_real_parent_ref());
194194
}
195195

196196
}

0 commit comments

Comments
 (0)