Skip to main content

Bug Tracker

Side navigation

#7546 closed enhancement (invalid)

Opened November 17, 2010 08:36PM UTC

Closed November 17, 2010 09:53PM UTC

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:
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/

Attachments (0)
Change History (1)

Changed November 17, 2010 09:53PM UTC by snover comment:1

_comment0: Thanks for the report, but this is not a jQuery bug. IE7 and earlier refuse to allow zero-height table cells, as demonstrated in [http://jsfiddle.net/KSPdk/3/ 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.1290030893130812
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.