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

each with pseudo classes only apply to last selector #140

Closed
matsrietdijk opened this issue Jul 12, 2016 · 2 comments
Closed

each with pseudo classes only apply to last selector #140

matsrietdijk opened this issue Jul 12, 2016 · 2 comments
Labels

Comments

@matsrietdijk
Copy link

each [input, selector "textarea"]
    [ focus
        [ borderColor (hex "#000000")
        ]
    ]

Currently results in:

input, textarea:focus {
    border-color: #000000;
}

Expected was:

input:focus, textarea:focus {
    border-color: #000000;
}
rtfeldman pushed a commit that referenced this issue Jul 22, 2016
@rtfeldman
Copy link
Owner

Thanks @matsrietdijk!

This is still reproducible in 4.0.1.

I wrote a failing test to reproduce it on a branch: edf8347 - test output is:

screen shot 2016-07-22 at 9 56 43 am

@rtfeldman
Copy link
Owner

Fixed in #146 by @tolgap, who is on FIRE with the contributions! 🎆

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

No branches or pull requests

2 participants