madskristensen / BundlerMinifier

Visual Studio extension
Other
611 stars 171 forks source link

:nth-child(even/odd of <selector>) errors #602

Open Legion4444 opened 7 months ago

Legion4444 commented 7 months ago

Describe the bug Cannot use :nth-child(even/odd of selector) where selector is anything other than a tag (.classes, #id, :not(), etc)

To Reproduce Having something as simple as: .test:nth-child(even of .test2) { background-color: white; }

My particular case has me doing something like: .class:nth-child(even of .class:not(.class2)) { styles; } Which works fine in the browser, but I can't actually use it since we use this to bundle/minify all our css.

Expected behavior Should not result in errors.

Screenshots image image

MattOpen commented 2 months ago

@Legion4444 I am facing same issue at a client system. They work with B&M Version 2.8.396. Did you get the issue with newest version as well?