[wp-trac] [WordPress Trac] #59960: Replace em-based `line-height` with unitless values

WordPress Trac noreply at wordpress.org
Sat May 17 16:36:49 UTC 2025


#59960: Replace em-based `line-height` with unitless values
-------------------------------------+-------------------------------------
 Reporter:  sabernhardt              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  css, administration,
  patch needs-test-info              |  coding-standards
-------------------------------------+-------------------------------------
Changes (by SirLouen):

 * keywords:  good-first-bug has-patch needs-testing => good-first-bug has-
     patch needs-test-info


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that any issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 136.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty 2.9
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Reproduction Steps with and w/o Patch
 1. With Chrome, having side by side, and wp-admin.php page and a Settings
 -> Appearance page available I switch different font-sizes
 2. Many elements change, mostly clickable elements. Biggest and Smallest
 elements completely break the UX
 3. With the patch, **exactly the same elements change** and break the UX
 in the same way. Nothing better is perceived.

 === Actual Results
 1.  ❌ Error condition doesn't occur

 === Additional Notes
 - Although on paper, this patch seems to make sense, maybe more specific
 testing instructions are required for reproduction purposes.

 === Supplemental Artifacts
 [https://i.imgur.com/A8bC9Mc.png Example of Affected UX elements]

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


More information about the wp-trac mailing list