Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#46495 closed defect (bug) (fixed)

CSS line-height values should be unitless - customize-nav-menus.css

Reported by: ianbelanger's profile ianbelanger Owned by: ianbelanger's profile ianbelanger
Milestone: 5.2 Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch needs-testing
Focuses: ui, administration, coding-standards Cc:

Description

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 much of wp-admin/css/customize-nav-menus.css, see patch notes below

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

Patch Notes:

Unable to find selectors in the DOM

line 305 - .wp-customizer .metabox-prefs label

Attachments (1)

46495.diff (445 bytes) - added by ianbelanger 6 years ago.

Download all attachments as: .zip

Change History (5)

@ianbelanger
6 years ago

#1 @netweb
6 years ago

  • Keywords good-first-bug removed
  • Milestone changed from Awaiting Review to 5.2

#2 @mukesh27
6 years ago

  • Component changed from General to Customize
  • Keywords changed from has-patch, needs-testing to has-patch needs-testing

I tested this successfully without any error in Ubuntu 18.04.2 LTS with Google Chrome Version 73.0.3683.75 and Firefox Version 65.0.1

#3 @SergeyBiryukov
6 years ago

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

In 45129:

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

Props ianbelanger, mukesh27, pbiron, afercia.
Fixes #46495. See #44643.

#4 @SergeyBiryukov
6 years ago

In 45130:

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

Props ianbelanger, mukesh27, pbiron, afercia.
Fixes #46495. See #44643.

Note: See TracTickets for help on using tickets.