Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9987 closed bug (cantfix)

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?

Change History (1)

comment:1 Changed 12 years ago by timmywil

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';
Note: See TracTickets for help on using tickets.