[wp-trac] [WordPress Trac] #24306: Twenty Thirteen: border-box box sizing will break many plugins

WordPress Trac noreply at wordpress.org
Thu May 23 12:43:28 UTC 2013


#24306: Twenty Thirteen: border-box box sizing will break many plugins
---------------------------+--------------------
 Reporter:  professor99    |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+--------------------

Comment (by professor99):

 Slight correction to above. Just noticed in revision 23520 the definition
 for ".searchform .field" had already been replaced by the following.
 Therefore my comments on the searchform field selector should apply to
 this selector instead.


 {{{
 input[type="search"] {
         -webkit-appearance: textfield;
         -webkit-box-sizing: content-box;
         -moz-box-sizing:    content-box;
         box-sizing:         content-box;
         padding-right: 2px; /* Don't cut off the webkit search cancel
 button */
 }
 }}}

 Note the above is what is given by normalize.css
 ([http://necolas.github.io/normalize.css/2.1.2/normalize.css]) to make
 Safari5 and Chrome consistent with other browsers.

 However these box-sizing definitions were removed in revision 23620 to fix
 ticket 23679 "Search input element breaks padding of container"

 [http://core.trac.wordpress.org/ticket/23679]

 diff
 [http://core.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=23620%40trunk
 %2Fwp-content%2Fthemes%2Ftwentythirteen%2Fstyle.css&old=23614%40trunk
 %2Fwp-content%2Fthemes%2Ftwentythirteen%2Fstyle.css&sfp_email=&sfph_mail=]

 If it is decided to remove border-box box-sizing for this element this
 definition will have to be restored for browser consistency. Alternatively
 if the universal selector is removed and it is decided to keep the ticket
 23679 fix then border-box sizing will have to be applied to this element.

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


More information about the wp-trac mailing list