[wp-trac] [WordPress Trac] #13486: New "on" state for admin menus

WordPress Trac wp-trac at lists.automattic.com
Sun May 23 21:09:24 UTC 2010


#13486: New "on" state for admin menus
----------------------------+-----------------------------------------------
 Reporter:  jane            |       Owner:  JohnONolan            
     Type:  task (blessed)  |      Status:  assigned              
 Priority:  low             |   Milestone:  3.0                   
Component:  UI              |     Version:  3.0                   
 Severity:  minor           |    Keywords:  admin-menu ui-feedback
----------------------------+-----------------------------------------------

Comment(by nacin):

 `!important` doesn't work in IE in a specific situation, when the same
 property is referenced in the same block, and the important one is first.
 It's actually quite useful in some cases, take the min-height hack:
 {{{
 div#wrap {
    min-height: 200px;
    height: auto !important; // IE ignores this, all other browsers listen.
    height: 200px; // IE uses this instead.
 }
 }}}

 That said, important is indeed evil and in most cases it does not need to
 be used with a better selector, as azaozz said.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13486#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list