#9589 closed bug (wontfix)
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
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → high |
Status: | new → open |
Confirmed
comment:3 follow-up: 4 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | open → closed |
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.
comment:4 Changed 12 years ago by
Replying to 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
It seems the bug has been fixed two years ago, like this tracker #4512. But from the latest version it still fails.