Page MenuHomePhabricator

In Firefox 73 and some other browser at non-100% zoom levels, Chinese glyphs cause tokenizer tokens to take up too much vertical space
Closed, ResolvedPublic

Description

To reproduce, get any (?) Chinese character into a tokenizer token with a bunch of other tokens in the input. Here's one way.

  • Change an account real name to "鴨".
  • In a "Subscribers" tokenizer, subscribe this user and a bunch of other users.

This lays out like this in Firefox 73 (and sometimes Chrome/Safari if you zoom in or out):

Screen Shot 2020-02-24 at 7.27.06 AM.png (83×723 px, 17 KB)

The space under "duck" looks like it is caused by the "鴨" glyph making the token taller than the other tokens.

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley triaged this task as Wishlist priority.Feb 24 2020, 3:30 PM
epriestley created this task.
epriestley added a revision: Restricted Differential Revision.Feb 24 2020, 3:47 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Feb 24 2020, 4:00 PM
epriestley added a commit: Restricted Diffusion Commit.