Page MenuHomePhabricator

Right page tabs out of alignment for Kashmiri and Eastern Pwo on MacOS Firefox and Chrome
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

Viewing a page in Kashmiri (ks) or Eastern Pwo (kjp) on MacOS in Firefox or Chrome, I am finding the "Edit" and "Edit source" tabs to be out of alignment with the rest of the tabs in that menu.

I do not have MacOS locally, but I have reproduced on both Browserstack and Saucelabs.

I have not reproduced on Safari, nor on Firefox or Chrome on another OS.

Steps to reproduce problem

Example pages:

Environment

Browser:
For Kashmiri I have reproduced the bug on:

  • Browserstack: Monterey Firefox 139
  • Browserstack: Ventura Chrome 138
  • Browserstack: Sonoma Chrome 138
  • Saucelabs: Monterey Firefox 139

For Eastern Pwo:

  • Browserstack: Sonoma Firefox 140
  • Saucelabs: Monterey Firefox 139

Wiki(s): https://test.wikipedia.org Vector 1.0.0 (9a92de3) 18:33, 30 June 2025.

Screenshots

Kashmiri MacOS Monterey, Firefox 139:

bs_macmty_Firefox_139.0.jpg (1,116×569 px, 66 KB)

Kashmiri MacOS Sonoma, Chrome 138, showing both the source and visual editor tabs:

bs_macson_Chrome_138.0.jpg (1,116×569 px, 60 KB)

Eastern Pwo, MacOS Sonoma, Firefox 140:

bs_macson_Firefox_140.0.jpg (1,116×569 px, 65 KB)

Event Timeline

Jdlrobson-WMF subscribed.

The issue seems to be the default rule line-height: normal and can be fixed with $('#ca-edit a span').css('line-height',1). Not sure if this is a browser bug / Codex bug / Vector bug.

Line height normal is typically a browser default of 1.2 but can vary based on the font family.

Im assuming that this is what is happening here, that the particular font that was chosen to render these characters has a abnormal line-height mapping set. So it might be a user-agent or a font bug.

Jdrewniak claimed this task.
Jdrewniak subscribed.

Given this is likely a font bug, it could be specific to different OS and OS configurations.

This is what I see on MacOS in the following browsers:

Kashmiri (ks)
Screenshot 2026-09-29 at 12.07.12 PM.png (2,348×1,178 px, 417 KB)
Screenshot 2026-09-29 at 12.07.23 PM.png (2,352×1,182 px, 526 KB)
Screenshot 2026-09-29 at 12.07.31 PM.png (2,350×1,176 px, 500 KB)
chrome 154Safari 26Firefox 156
Eastern Pwo (kjp)
Screenshot 2026-09-29 at 12.12.34 PM.png (2,348×1,178 px, 514 KB)
Screenshot 2026-09-29 at 12.11.51 PM.png (2,348×1,178 px, 447 KB)
Screenshot 2026-09-29 at 12.11.20 PM.png (2,350×1,176 px, 528 KB)
chrome 154Safari 26Firefox 156

We have done some work on the Vector toolbar between when this ticket was written and now, so I think this issue has largely been resolved. Feel free to re-open if I'm mistaken.