Make WordPress Core

Opened 6 weeks ago

Closed 4 weeks ago

#46531 closed defect (bug) (fixed)

CSS line-height values should be unitless - widgets.css

Reported by: ianbelanger Owned by: audrasjb
Milestone: 5.2 Priority: normal
Severity: normal Version:
Component: Widgets Keywords: has-patch good-first-bug commit
Focuses: ui, administration, coding-standards Cc:


As outlined in #44643, CSS line-height values should be unitless unless necessary to be defined as a specific pixel value. It was suggested that we break up 44643 by stylesheet in order to better track them.

This ticket covers wp-admin/css/widgets.css

Note: The patch was tested only on a Windows machine in Chrome, Firefox, IE11 and Edge. As per https://core.trac.wordpress.org/ticket/44643#comment:23 it should probably be tested on other OS's and supported browsers.

Attachments (2)

46531.diff (934 bytes) - added by ianbelanger 6 weeks ago.
46531.2.diff (1001 bytes) - added by audrasjb 4 weeks ago.
Patch refresh

Download all attachments as: .zip

Change History (5)

6 weeks ago

#1 @audrasjb
4 weeks ago

  • Owner changed from ianbelanger to audrasjb
  • Status changed from assigned to reviewing

4 weeks ago

Patch refresh

#2 @audrasjb
4 weeks ago

  • Component changed from General to Widgets
  • Keywords commit added; needs-testing removed
  • Milestone changed from Awaiting Review to 5.2
  • Status changed from reviewing to accepted

Thanks for the patch @ianbelanger
Patch tested, now refreshed and ready to go!

#3 @SergeyBiryukov
4 weeks ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 45053:

CSS Coding Standards: Use unitless values for line-height in wp-admin/css/widgets.css.

Props ianbelanger, audrasjb.
Fixes #46531. See #44643.

Note: See TracTickets for help on using tickets.