Works fine in 1.2.5 as well. Your example adds colors to both divs, the top one and the bottom.
On 2010-11-21, at 10:55, Vic wrote: > I now see that it does work correctly in MooTools 1.3, must have > something to do with slick? Still I would love to be able to do this > in my 1.2.4 code as well. This particular project cannot upgrade yet. > > On Nov 21, 10:37 am, Vic <[email protected]> wrote: >> Hi, >> >> Is it correct that (MooTools 1.2.4/1.2.5) cannot succesfully select >> elements using css selectors by matching on custom data-* attributes? >> If I use the 'rel' or 'class' attribute the correct element gets >> selected, but I would like to be able to use the data-* attributes >> >> View the example here: http://jsfiddle.net/AWfeD/ >> >> any ideas? thank you
