[wp-trac] [WordPress Trac] #15851: Admin Bar Is Not Properly Reset

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 18 14:59:10 UTC 2010

#15851: Admin Bar Is Not Properly Reset
 Reporter:  JohnONolan               |       Owner:  ocean90
     Type:  defect (bug)             |      Status:  assigned
 Priority:  high                     |   Milestone:  3.1
Component:  UI                       |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |

Comment (by filosofo):

 JohnONolan: But "badly coded" is the key.  It ''is'' the theme author's
 fault if she is using a rule like `li:before`, because it applies to every
 list element, globally.  A rule like that unquestionably could be better
 targeted.  Furthermore, the admin bar is an immediate child of the `body`
 element, so it's trivial for theme authors to avoid targeting it.

 Besides, practically speaking it will be impossible to account for every
 obscure CSS variation without a ridiculously-bloated CSS ruleset.  That's
 why I suggest striking the golden mean that has a smallish number of rules
 yet a minimum of disruption.

 ocean90: the wp.com theme repository has 119 themes.  Did you really test
 all of them?  In what browsers?

Ticket URL: <http://core.trac.wordpress.org/ticket/15851#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list