peteboere / css-crush

CSS preprocessor.
http://the-echoplex.net/csscrush
MIT License
537 stars 51 forks source link

@in and :any problem #52

Closed FirePanther closed 10 years ago

FirePanther commented 10 years ago

hi, i just wanted to report, that csscrush makes a mistake when i use:

@in input[type=:any("text", "email", "url", "tel", "search", "password")], textarea { & { color: red; } }

but it works, when i put textarea before the :any, so: @in textarea, input[type=:any("text", "email", "url", "tel", "search", "password")] { & { color: red; } }

the result for the wrong one is: input[type="text"],textarea,input[type="url"],input[type="tel"],input[type="search"],input[type="password"]{ color:red; }

textarea is the second and email is missing (so he replaced email with textarea).

i dont have a problem with that, cause it works, when i put textarea at the beginning, but i wanted to report it, if you want to fix it :)

peteboere commented 10 years ago

Thanks for the bug report @FirePanther.

However, I can't reproduce the problem you're having, are you using the latest code?