[wp-trac] [WordPress Trac] #60892: About Page: `text-wrap: balance; `adds unintended new lines in Japaneese

WordPress Trac noreply at wordpress.org
Tue Sep 3 20:05:15 UTC 2024


#60892: About Page: `text-wrap: balance;`adds unintended new lines in Japaneese
-------------------------------------------------+-------------------------
 Reporter:  wildworks                            |       Owner:  ryelle
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6.2
Component:  Help/About                           |     Version:  6.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major dev-    |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58979" 58979]:
 {{{
 #!CommitTicketReference repository="" revision="58979"
 Help/About: Fix text wrapping on non-English locales.

 In [57715], headings on the About pages were given `text-wrap: balance`.
 This rule causes unexpected breaks in non-latin langauges, e.g., Japanese,
 Korean. This fix sets the text-wrap to `pretty` for browsers that support
 it, and uses `balance` for English-only.

 Reviewed by hellofromTonya.
 Merges [58976] to the 6.6 branch.

 Props akshat2802, wildworks, ryelle, sabernhardt, hellofromTonya.
 Fixes #60892.
 }}}

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


More information about the wp-trac mailing list