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

WordPress Trac noreply at wordpress.org
Thu Jun 6 10:33:25 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):

 One thing that is worth mentioning in this discussion is that the reason
 given in Trac for use of the universal selector for border box sizing was
 to clean up the CSS http://core.trac.wordpress.org/ticket/23582 . Whilst
 it certainly does that it doesn't make the CSS simpler and in fact in does
 quite the opposite.

 Because IE7 and IE8 are supported we have to support three box models as a
 result.

 1. Border box for non IE and IE9+.
 2. Half border box for IE8 (due to non support of border box for min and
 max width)
 3. Content box for IE7

 Any changes in the CSS have to be updated for all three.

 Add RTL to that and the result is CSS hell (I've just been there and all I
 got for my efforts was a Zebra).

 What to do about it? Well we can live with it and provide the warning I
 mentioned earlier in the CSS so at least we can say you were warned that
 these are dangerous waters to be swimming in.

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


More information about the wp-trac mailing list