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
Wrong compiling for :is, :has, :where #2750
Comments
This is still an issue today, even with simpler examples: .menu-item:is(:hover, :focus)
color red Should render: .menu-item:is(:hover, :focus) { color: red; } But render this instead: .menu-item:is(:hover, .menu-item :focus) { color: red; } |
Hello, everyone. I don't have enough bandwidth to fix it, so you can use |
can use this function to avoid the problem, but I just want it to be fixed officially. buildL4(type, args...) {
st1 = join('', ':', type, '(', join('\, ', args), ')')
selector(st1)
}
{buildL4('is', 'section.is-styling', 'aside.is-styling', 'footer.is-styling')} {
a {
color: red;
}
}
.is-styling{buildL4('is', 'section', 'aside', 'footer')} {
b {
color: blue;
}
} It is proven working since I created this issue. |
@iChenLei, can you please point me in the direction where the codebase might break on this issue? I want to try and fix it. |
is wrongly composed as
The text was updated successfully, but these errors were encountered: