Thanks for doing some more legwork on this. It's good to have this confirmed as a bug. In my initial post, I wrote:
> I'm wondering if anyone else might have more luck than I've had > tracking down the report in Trac. If not, should I file this as a bug? > > Also, in recent SVN versions the siblings() method has been failing > tests in the main jQuery test suite. (I think it's happening > somewhere in the map function). > > Let me know if there is anything else I can do to help with this. So, I suppose we're back where we started. More than anything, I'd like these issues to be on the core devs' radars so that they're fixed for the next release. Cheers, --Karl ____________ Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 22, 2009, at 6:54 PM, DBJDBJ wrote: > > General Sibling Combinator module: find(element ~ element) (2, 4, 6) > > 1.$('p').find('code ~ strong').length: 3 > 2.$('p').find('code ~ code').length, expected: 3 result: 0 > 3.$('p').find('strong ~ strong').length, expected: 2 result: 0 > > 4.document.querySelectorAll("p code~ strong").length: 3 > 5.document.querySelectorAll("p code ~ code").length: 3 > 6.document.querySelectorAll("p strong ~ strong").length: 2 > > I have added 4,5,6 to the second Karl's test, and they all worked ... > That is : querySelectorAll() returned the right results. > > Is something in jQuery not saving the Sizzle result in a right way ? > > --DBJ > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---