Bug Tracker

Modify

Ticket #7546 (closed enhancement: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

Description

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.

 http://jsfiddle.net/tN43q/1/

Change History

comment:1 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to invalid

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 3 years ago by snover (previous) (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.