[jQuery] :empty pseudo-class and whitespaces

[jQuery] :empty pseudo-class and whitespaces


Hello,
I think the :empty pseudo-class has a bug, the docs are wrong or I
misunderstood the docs.
The Problem is, that :empty only matches elements when they really
have no children, incl. textnodes with whitespaces or newlines.
http://docs.jquery.com/Selectors/empty