problem with toggle(), :hidden and :visible in 1.3.2

problem with toggle(), :hidden and :visible in 1.3.2


Hi,
In my project, I have a box whose contents are partially hidden, and
the bottom part should be displayed and hidden when you click show/
hide buttons. I've used $(...).toggle() for that, and I've noticed
that it only works the first time (i.e. when the contents are hidden).
show() and hide() work as expected, but toggle() always works like show
(). Also, is(":hidden") always returns true and is(":visible") always
returns false.
This is probably related to the change to hidden and visible matchers
done in 1.3.2, because the same html works perfectly well with 1.3.1.
I've also tried the latest trunk version (rev. 6302) and it has the
same problem as 1.3.2. It's reproducible in Firefox 3 and Safari 4.
Demo for 1.3.1: http://dl.getdropbox.com/u/41808/testjquery131.html
Demo for 1.3.2: http://dl.getdropbox.com/u/41808/testjquery132.html
Pastie (1.3.2): http://pastie.org/432440
Regards,
Jakub Suder