[wp-trac] [WordPress Trac] #44643: CSS line-height values should be unitless unless necessary to be defined as a specific pixel value

WordPress Trac noreply at wordpress.org
Wed Feb 13 18:52:48 UTC 2019


#44643: CSS line-height values should be unitless unless necessary to be defined as
a specific pixel value
-------------------------------------+-------------------------------------
 Reporter:  pbiron                   |       Owner:  ianbelanger
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch needs-dev-   |     Focuses:  ui, administration,
  note needs-testing                 |  coding-standards
-------------------------------------+-------------------------------------

Comment (by ianbelanger):

 Notes for 44643.media.css.diff

 In `wp-admin/css/media.css`

 Unchanged line-height values that use units (I could not find a good
 unitless solution that would work across all browsers and admin pages)
 {{{
 line 1255 - .edit-attachment-frame .edit-media-header .right:before,
 .edit-attachment-frame .edit-media-header .left:before
 }}}

 Unable to find selectors in the DOM
 {{{
 line 162 - .media-item .progress (couldn't keep it on the page long enough
 to inspect it)
 line 187 - .media-item .progress .percent (same as above)
 }}}

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


More information about the wp-trac mailing list