Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#60892 new defect (bug)

About Page: `text-wrap: balance;`adds unintended new lines in Japaneese

Reported by: wildworks's profile wildworks Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5
Component: Help/About Keywords:
Focuses: Cc:


In the about page of WordPress 6.5, text-wrap:balance is applied to the h1/h2/h3/h4 elements.

This may work beautifully in Latin languages, but it adds unintended new lines, at least in Japanese.

For example, let's take the heading "Add and manage fonts across your site" as an example. In English, it is displayed as follows:

Add and manage
fonts across your site

On the other hand, in Japanese, it is displayed as follows:


The words are wrapped in the middle, but if you compare it to English, it is similar to how it would be displayed as shown below.

Add and man
age fonts across your site

At least in Japanese, I would expect no wrapping at all, that is, the text would be wrapped to fit the width of the container.

I would be happy if someone could test what effect text-wrap:balance has on other CJK languages.

Attachments (1)

Actual and expected display.png (44.6 KB) - added by wildworks 7 weeks ago.
Actual and expected display

Download all attachments as: .zip

Change History (3)

7 weeks ago

Actual and expected display

#2 @swissspidy
7 weeks ago

  • Version set to 6.5
Note: See TracTickets for help on using tickets.