[wp-trac] [WordPress Trac] #10331: SELECT multiple="multiple" Size Bug

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 22 18:50:37 UTC 2010


#10331: SELECT multiple="multiple" Size Bug
-----------------------+----------------------------------------------------
  Reporter:  GamerZ    |        Type:  enhancement
    Status:  reopened  |    Priority:  normal     
 Milestone:  3.1       |   Component:  UI         
   Version:  2.9.2     |    Severity:  normal     
Resolution:            |    Keywords:  has-patch  
-----------------------+----------------------------------------------------

Comment(by azaozz):

 I don't like the proposed patch for two reasons:

  * It's not compatible with all currently used browsers as Denis said
 above.
  * It "locks" the height of the `<select multiple=...`. What if the plugin
 author wants to set it to something else, i.e. `multiple="3"` or there are
 only 2-3 lines in it?

 Still think it's better to leave this to the individual `<select>`
 elements, i.e. `<select multiple="5" style=".....`.

 It also may be possible to drop the `height=..` from the default
 stylesheet. It is intended to normalize the look of the select drop-downs
 across the currently used browsers but many of them have new versions out
 that may not need it any more.

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


More information about the wp-trac mailing list