[wp-trac] [WordPress Trac] #20570: Tidying Admin CSS, bringing it up to CSS Code Standards (work in progress)

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 13:00:39 UTC 2012


#20570: Tidying Admin CSS, bringing it up to CSS Code Standards (work in progress)
------------------------------+------------------------------
 Reporter:  georgestephanis   |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  General           |     Version:  3.4
 Severity:  minor             |  Resolution:
 Keywords:  work-in-progress  |
------------------------------+------------------------------

Comment (by bananastalktome):

 In looking through the stylesheets, I noticed some discrepancies with the
 {{{text-shadow}}} property. In some instances, we have things like
 {{{text-shadow: 0 -1px 0 #333;}}} and other times we have {{{text-shadow:
 #fff 0 1px 0;}}} (color first vs color last). The w3c validator
 (http://jigsaw.w3.org/css-validator/validator) appears to normalize the
 css to using color first when I pasted in a few different snippets from
 the WordPress css, but I have seen sources online showing both ways as
 correct. Is there a preference on this (and is it worthy of another patch
 to normalize)?

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


More information about the wp-trac mailing list