Ticket #5754 (closed bug: worksforme)
:visible and :not(:hidden) inconsistencies - IE-only
| Reported by: | Kezzer | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | selector | Version: | 1.3.2 |
| Keywords: | IE8, Internet Explorer 8 | Cc: | |
| Blocking: | Blocked by: |
Description
When implementing a zebra striped table with classes applied to specific rows it was shown that in certain circumstances, such as those where rows were dynamically being included/excluded on the page and that the zebra striping was re-applied in the same manner that it was originally applied, that alternating rows weren't identified correctly.
If :visible is used once rows have been removed using hide() then it will not correctly identify rows. Conversely, if :not(:hidden) is used, then it works fine.
This doesn't occur in Firefox, but does occur in IE8.
Attached is a simple, single file example of the bug.
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


file showing :visible bug