jQuery :visible selector doesn't work as expected in Firefox

jQuery :visible selector doesn't work as expected in Firefox

Hello guys,
I have a strange problem with the :visible selector. The same code behaves differently in Firefox and Chrome. At first I thought that it is a DevExpress ASP.NET library bug, so I filed it there. Their team investigated the error and told me that it must be a Firefox bug. Therefore I opened a ticket at Bugzilla, but the guy over there told me that Chrome is buggy and Firefox behaves according to the CSSOM specification.

The only thing I want to achieve is to make my script compatible with both browsers. It would be super nice of you if you could help me! Please see both links for various examples and a test file to reproduce the bug.

Best regards
André Reichelt