:visible and :not(:hidden) inconsistencies - IE-only
|Reported by:||Kezzer||Owned by:|
|Keywords:||IE8, Internet Explorer 8||Cc:|
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.