Even forgetting about IE8, using QuerySelector API will still yield
different results in various browsers.

Consider the following an incomplete list of differences and bugs
(only for Webkit and Firefox):

- latest versions of Webkit (Safari/Chrome) are still buggy with the
":nth-xxxxx" pseudos
- Firefox not throwing errors for wrong selectors in its
mozMatchesSelector implementation
- selectors for dynamic properties like "checked" and "disabled" work
differently in Webkit and Firefox
- some browser still uses the "selected" property for options elements
while other use "checked" instead

they will surely improve things in the future and most of these bugs
are considered edge cases, but libraries should fix that NOW !

--
Diego


On Thu, Oct 27, 2011 at 4:26 PM, Timothy J. Warren <timw4m...@gmail.com> wrote:
> A while ago I started my own javascript library, called kis-js :
> https://github.com/aviat4ion/kis-js/
>
> It has two main parts:
>
> the core object, which creates the global variable and defines the extension
> interface: https://github.com/aviat4ion/kis-js/blob/master/src/core/core.js
> sub modules, which are javascript files dependent only on the core object:
> https://github.com/aviat4ion/kis-js/tree/master/src/modules
>
> I would specifically like feedback on the core object, but feedback on the
> modules is appreciated.
>
> My compatibility target is browsers that support the document.querySelector
> functions, but IE8 is kind of iffy at this point.
>
> --
> To view archived discussions from the original JSMentors Mailman list:
> http://www.mail-archive.com/jsmentors@jsmentors.com/
>
> To search via a non-Google archive, visit here:
> http://www.mail-archive.com/jsmentors@googlegroups.com/
>
> To unsubscribe from this group, send email to
> jsmentors+unsubscr...@googlegroups.com
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to