Opened 19 years ago
Closed 19 years ago
#1139 closed defect (bug) (fixed)
IE bug makes all class="alternate" rows show up green (like class="active")
Reported by: | MC_incubus | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Plugins that are active are class="active", but every other row is also class="alternate" which is combined into class="alternate active" if the plugin is also active.
The CSS rules for those multiclasses are these:
.active.alternate td {background: #ADA;}
.active.alternate .name {background: #8B8;}
Due to a bug in IE (oh, let's not kid ourselves, they didn't even TRY to properly support CSS2), these rules are incorrectly interpreted so that all class="alternate" rows get the green color.
Ironically, I discovered this IE bug on a page by Eric Meyers, the one who proposed these CSS changes. :-)
Attachments (1)
Change History (6)
#3
@
19 years ago
Yep, that fixes it. Of course, if we use this method for designating active/alternate rows, IE will never be able to alternate green color... but that's not a big problem.
Uploading the patch now. Thank you, anonymousbugger who I strongly suspect is Eric. :-)
Oops. Just invert the order, so the rules read:
.alternate.active td {background: #ADA;}
.alternate.active .name {background: # 8B8;}
...but remove the space I threw in there to keep the system from turning the octothorpe-and-8B8 combination into a link to bug number 8 with a B* right after it.