A jQuery plugin enabling better CSS selector support for older browsers by leveraging jQuery's excellent selectors.
JavaScript
Pull request Compare This branch is 5 commits behind chrispatterson:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
tests
README
jquery-1.3.1.min.js
jquery.super-selectors.js

README

Super Selectors is a jQuery plugin enabling better CSS selector support for older browsers

TODO:
* Add appropriate rules on the fly, so that users won't need to include the classes in their CSS. This will involve modifying the regular expressions.


WARNING:
IE has a "fun" habit of discarding any style rules which contain selectors it cannot parse. This can cause unintended results. The only reliable workaround I've found is to declare your rules twice, so that the super-selector version will still be applied.

So, instead of 

	div.example > :first-child,
	div.example .first-child {
	background: #0f0;
	color: #f0f;
	}

You should write:

	div.example > :first-child {
	background: #0f0;
	color: #f0f;
	}

	div.example .first-child {
	background: #0f0;
	color: #f0f;
	}