`tag:not(tag.className)` selector fails in 1.3.1

`tag:not(tag.className)` selector fails in 1.3.1


I just posted this ticket (with test-case) into the bug tracker:
http://dev.jquery.com/ticket/4104
For this HTML:

Select me.


This happens:
$('p:not(.test)').length == 1;
$('p:not(div.test)').length == 1;
$('p').not('p.test').length == 1;
$('p:not(p.test)').length == 0; // Fail!
--
Már Örlygsson