keithclark / selectivizr

selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8.
1.71k stars 247 forks source link

child/siblings selector not working (all versions) #42

Open michelkaeser opened 11 years ago

michelkaeser commented 11 years ago

Hi there

when using

#id div:nth-child(2) ~ p

it's doesn't seem to work.

Does the script only support the pseudo element to be the last one?

Regards!

keithclark commented 11 years ago

I've tested this and it works fine in everything except IE6, which doesn't support the ~ combinator. Do you have an online demo of the problem I could look at?