Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for child combinator #7

Closed
bangseongbeom opened this issue May 22, 2015 · 1 comment
Closed

Support for child combinator #7

bangseongbeom opened this issue May 22, 2015 · 1 comment

Comments

@bangseongbeom
Copy link

Current version supports only Descendant combinator(.sel1 .sel2).
Child combinator(.sel1 > .sel2) should be also supported.

Input:

.a {
    --color: red;
}

.a > .b {
    color: var(--color);
}

Output:

.a > .b {
    color: undefined;
}

Expectation:

.a > .b {
    color: red;
}
@MadLittleMods
Copy link
Owner

Thank you for another great bug report @bangseongbeom!

I have added full support for the child combinator and direct-descendants.

I also added three tests to ensure we do not regress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants