Skip to main content

Bug Tracker

Side navigation

#9589 closed bug (wontfix)

Opened June 15, 2011 11:18AM UTC

Closed July 12, 2011 06:37PM UTC

Last modified March 14, 2012 03:37AM UTC

TR.is(':visible') is not reliable on IE6/7

Reported by: Mangos Owned by:
Priority: high Milestone: 1.next
Component: selector Version: 1.6
Keywords: Cc:
Blocked by: Blocking:
Description

If the table is inside a hidden div, which is hidden dynamically, the tr tag in the is(':visible') function will return true on IE6 and IE7.

Please take a look at this example

Attachments (0)
Change History (4)

Changed June 15, 2011 01:53PM UTC by Mangos comment:1

It seems the bug has been fixed two years ago, like this tracker #4512. But from the latest version it still fails.

Changed June 29, 2011 07:09PM UTC by timmywil comment:2

component: unfiledselector
priority: undecidedhigh
status: newopen

Changed July 12, 2011 06:37PM UTC by john comment:3

resolution: → wontfix
status: openclosed

Unfortunately I don't think that this is an edge case that we're going to support. Elements within hidden elements is a very weird edge case that's hard to work against, in general.

Changed July 31, 2011 02:03PM UTC by Mangos comment:4

Replying to [comment:3 john]:

Unfortunately I don't think that this is an edge case that we're going to support. Elements within hidden elements is a very weird edge case that's hard to work against, in general.

In fact, the element is not always hidden, if the element's visibility is changed dynamically, we cannot get the correct status from the function is(':visible'). I think many frameworks use jQuery as their core Javascript library, you may consider to make this issue as normal, rather than closed it with won't fix.

By the way, we used the workaround for this to check each TD's offsetHeight when if the target is TR and the browser is IE6/7.

Thanks,

Mangos