Ticket #6176 (closed bug: invalid)
hidden and elements with border
|Reported by:||hbo||Owned by:|
|Keywords:||filter hidden border||Cc:||codersdojo@…|
Setup: Firefox 3.5.8 on Linux
Situation: A div-element with a border was hided by jQuery. The border was defined in a css. Is is not visible, but got a width and height of -3px. This is what firebug reports.
If we search for a hidden element, jQuery looks after a height or width equal to 0. In this case, it won't detect an element, because the size is negative. If we change the comparator in the hidden filter function to less 1, it will work.