dvtng / jss

JavaScript library for getting and setting CSS stylesheet rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pseudo selector such as ::before and ::after support

composite opened this issue · comments

I edited your code long ago for pseudo class support for all browsers.
but I can't pull request because used old code.
see my commit for details.

webkit supports pseudo selector with 2 colons (block pseudo selector in CSS3) (::before and ::after).
:before and :after are not work.
other browsers may works in old style pseudo selector (:before and :after).

How it works - go to my wiki

thanks.

Thanks for the info, JSS (0.6) has now been updated to handle the pseudo element inconsistencies between browsers. Any calls to JSS should use the correct double colon syntax for pseudo elements, and it will fall back to single colon syntax when required.