It is untested in IE6 so I haven't mentioned it here. With IE6, you would be limited by which CSS selectors you could take advantage of. I'm working on projects that have a (for progressively enhanced JS) baseline of IE7. Polyfilling querySelectorAll allows me to do some nice element event handlers in projects where jQuery and other selector libraries aren't permitted.
What selectors does this cover?
Nice trick. But it only seems to work in Quirks mode.
If I set a <!DOCTYPE HTML> then it breaks ?
What ?! How it work exactly !
Error ! TypeError: Cannot set property 'cssText' of undefined
I need support for selectors like a:not(:last-child). This polyfill doesn't help me in that area.
For the cssText bug: