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 -~----------~----~----~----~------~----~------~--~---