Bug Tracker

Opened 13 years ago

Closed 13 years ago

#7546 closed enhancement (invalid)

inconsistent behavior using the :visible selector with height: 0px;

Reported by: MightyFaulk Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


This has probably already been brought to attention but I've noticed inconsistencies using the :visible selector on elements with a height of 0px. Chrome and IE7 will consider it visible where as IE8 and FF will not.


Change History (1)

comment:1 Changed 13 years ago by snover

Resolution: invalid
Status: newclosed

Thanks for the report, but this is not a jQuery bug. IE7 and earlier refuse to allow zero-height table cells, as demonstrated in this test case. As such, the table cells are actually visible, even though you’ve tried to make them hidden, because IE refuses to play along. Also, everything works as expected in Chrome, IE8, Safari, Firefox, etc.

Last edited 13 years ago by snover (previous) (diff)
Note: See TracTickets for help on using tickets.