Hey all,

Nice meeting you guys at Kilowatt yesterday.

I seem to have run across a bug in 1.3.1:

$("<span>abc</span>").contents().is("[nodeType=3]")

returns true as expected, but

$("<span>abc</span>").contents().filter("[nodeType=3]").length == 1

returns false, due to a nodeType === 1 check in $.fn.filter but not in
$.fn.is.

Is there a need for this check that can't be handled in the selector
engine itself?

Jed Schmidt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to