Bug with :hidden selector and select in Internet Explorer

Bug with :hidden selector and select in Internet Explorer


Hi,
Like was reported on http://groups.google.com/group/jquery-dev/browse_thread/thread/23621bd1d3deb088/e7e3fafa29418fd5
but now on select.
On IE8, when I do this:
hidden1 = ($("select#profileCode").css("display") == "none");
hidden2 = ($("select#profileCode").is(':hidden'));
If select#profileCode element is hidden, hidden1 will be true and
hidden2 will be false (!).
Btw, congratulations with your work :)
Best regards,
Filipe Costa