Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#46521 closed defect (bug) (fixed)

CSS line-height values should be unitless - jquery-ui-dialog.css

Reported by: ianbelanger Owned by: ianbelanger
Priority: normal Milestone: 5.3
Component: External Libraries Version:
Severity: normal Keywords: has-patch needs-testing good-first-bug
Cc: Focuses: ui, administration, coding-standards

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 wp-includes/css/jquery-ui-dialog.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)

46521.diff​ (755 bytes ) - added by ianbelanger 8 years ago.
46521.1.diff​ (767 bytes ) - added by ianbelanger 7 years ago.
Updates patch with more precise line-height calculations

Download all attachments as: .zip

Change History (6)

@ianbelanger
8 years ago

#1 @ianbelanger
8 years ago

  • Component General → External Libraries

#2 @ianbelanger
8 years ago

  • Milestone Awaiting Review → Future Release

@ianbelanger
7 years ago

Updates patch with more precise line-height calculations

#3 @ianbelanger
7 years ago

  • Milestone Future Release → 5.3

#4 @SergeyBiryukov
7 years ago

  • Resolution → fixed
  • Status assigned → closed

In 45471:

CSS Coding Standards: Use unitless values for line-height in wp-includes/css/jquery-ui-dialog.css.

Props ianbelanger, pbiron, afercia.
Fixes #46521. See #44643.

Note: See TracTickets for help on using tickets.