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

WordPress Trac noreply at wordpress.org
Fri May 17 11:46:53 UTC 2013


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

Comment (by professor99):

 Thanks obenland,

 I was wondering how this came about. It seems this was an attempt to
 consolidate the box-sizing of various elements where using box-sizing made
 sense. Unfortunately this simplification attempt lost sight of the greater
 picture by applying this change to everything.

 I've noticed before parts of WordPress in particular the admin pages use
 the box-sizing CSS property set to border-box on various elements. However
 it isn't used overall by utilizing the universal selector which this
 change implemented.

 'border-box' is probably about the only thing that the earlier versions of
 Internet Explorer got right as it is more intuitive than content-box
 sizing. If this was the first version of WordPress I be all for it.
 Unfortunately WordPress is used by many these days and this change would
 wreck havoc with plugin developers who will have to write css and
 javascript to cope with both box-sizing methodologies.

 I'm not sure if to append this matter to the earlier ticket or to leave it
 as a separate ticket. However your contribution makes it easy to backtrack
 on the earlier change as we now have a reference point.

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


More information about the wp-trac mailing list