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

WordPress Trac noreply at wordpress.org
Tue Jun 4 16:21:11 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 Jayjdk):

 > having to support both content and border box models for all themes by
 using javascript or weird CSS plus write CSS for both cases would
 definitively break the camel's back.

 You would still have to do that. Even if Twenty Thirteen didn't use an
 universal selector, many other themes will still do.

 What kind of 'weird' CSS/JS do you have to use? Can't you use one of of
 them in your plugin? That way you don't have to write CSS for both cases.

 {{{
 .your-selectors,
 [class*="your-plugin-prefix-"] {
    box-sizing: border-box;      or
    box-sizing: content-box;
 }
 }}}

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


More information about the wp-trac mailing list