[wp-trac] [WordPress Trac] #35358: Values of 0 doesn't need to have units specified in .scss file

WordPress Trac noreply at wordpress.org
Sun Feb 5 10:06:33 UTC 2017


#35358: Values of 0 doesn't need to have units specified in .scss file
----------------------------+-------------------------
 Reporter:  MatheusFD       |       Owner:  swissspidy
     Type:  enhancement     |      Status:  accepted
 Priority:  normal          |   Milestone:  4.8
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch 2nd-opinion => has-patch
 * owner:   => swissspidy
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.8


Comment:

 We can easily apply [attachment:35358.patch]. Output is the same because
 of autoprefixer. Example:

 {{{
 .media-selection .attachment.selection.details .thumbnail {
   -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
   box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
 }
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35358#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list