Make WordPress Core

Opened 22 years ago

Closed 22 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
Priority: normal Milestone:
Component: Administration Version: 1.5.1
Severity: minor Keywords:
Cc: Focuses:

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)

wp-admin.css.diff​ (421 bytes ) - added by MC_incubus 21 years ago.

Download all attachments as: .zip

Change History (6)

#1 @MC_incubus
22 years ago

  • Patch → No

#2 @anonymousbugger
22 years ago

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.

#3 @MC_incubus
22 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. :-)

#4 @MC_incubus
22 years ago

  • Patch No → Yes
  • Resolution 10 → 20

#5 @ryan
22 years ago

  • fixed_in_version → 1.5.1
  • Owner changed from anonymous to rboren
  • Status new → closed
Note: See TracTickets for help on using tickets.