1.3.1 regression in $.fn.filter?

1.3.1 regression in $.fn.filter?


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