Skip to main content

Bug Tracker

Side navigation

#9987 closed bug (cantfix)

Opened August 05, 2011 01:16PM UTC

Closed August 05, 2011 01:44PM UTC

Empty table is :visible in most browsers, but not in IE7/IE6

Reported by: Vallu Owned by:
Priority: low Milestone: None
Component: selector Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Table is :visible in

  • Chrome 13.0.782.107 (Mac OS X)
  • Firefox 3.6.19 (Mac OS X)
  • Safari 5.0.5 (Mac OS X)
  • IE8 (Win7)

Table is not :visible in

  • IE7 (Vista)
  • IE6 (2003 Server)

Should be consistent, yes?

Attachments (0)
Change History (1)

Changed August 05, 2011 01:44PM UTC by timmywil comment:1

component: unfiledselector
priority: undecidedlow
resolution: → cantfix
status: newclosed

This is a css issue. In IE6/7, the width is 0 and the table is not visible according to jQuery's criteria (due to IE6/7's treatment of display: block here). I don't think this is something we can fix, but I suggest not using the visible filter if tables without any content are needed in the selection. You could do something like this if needed:

$('table').filter(function() {
    return $(this).css('display') !== 'none';