[wp-trac] [WordPress Trac] #21473: Twenty Twelve: Style for comment form button

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 5 21:21:35 UTC 2012


#21473: Twenty Twelve: Style for comment form button
---------------------------+------------------------------
 Reporter:  obenland       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by obenland):

 [attachment:21473.2.diff] also makes button height browser compatible.

 It seems the Firefox bug isn’t really a bug at all, but a “feature”: that
 is, it’s a deliberate decision by Firefox to limit line heights on
 buttons. This is evidenced by this line of CSS in Firefox’s default CSS:
 {{{
 #!css
 button, input[type="reset"], input[type="button"], input[type="submit"] {
         line-height:normal !important;
 }
 }}}
 Basically, Firefox is setting the line-height to “normal” on buttons and
 is enforcing this decision with an `!important` declaration.

 [http://www.cssnewbie.com/input-button-line-height-bug/ Source]

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


More information about the wp-trac mailing list