Hi all,
Please forgive me if this issue has been noted before (I couldn't find it), however I noticed some strange behaviour resulting from Firefox beta and the $$ selector (using class names) using MooTools 1.2.5. I do realise that 1.2.5 is old, however we have several sites using it, and this issue seems to be something that could affect several of them. I was hoping to find the answer/solution before having to start rewriting stuff :)
Problem:
It would seem that something like $$('div.find') also finds partial matches for elements eg: <div class="finds">, or <div class="donotfindme"> when using 1.2.5 and the beta version of FireFox.
I have an example on
jsfiddle.net/wZsax/ - all other browsers seem fine and find just the first element, however FF beta finds both.
I realise that this does not happen in later versions of MooTools, nor with the stable version of Firefox (v17), however should the beta become stable (assuming no change to the JS engine affecting this), then this could become a bigger problem.
Could anyone point out whether this is a bug in MooTools 1.2.5, and if so whether there could be a fix at the core-level?
Many thanks & kind regards,
Ralph