Selector bug

Selector bug


Hi all,
my page was running slightly slow, and it turned out I made a little
mistake, which resulted in the following selector:
$elem.find("[for='']");
This actually resulted in finding ALL children of the my previously
selected $elem. As far as I know, $('[for]') should select all
elements actually _having_ a for attribute. Hence, my query above
should select all elements having an empty for attribute (if
possible), or otherwise all elements _having_ a for attribute at all,
but surely NOT all elements.
I assume this is a bug?