[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 18:49:31 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:  needs-testing has-patch  |     Focuses:
-------------------------------------+---------------------
Changes (by ryelle):

 * owner:  (none) => ryelle
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58976" 58976]:
 {{{
 #!CommitTicketReference repository="" revision="58976"
 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.

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

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


More information about the wp-trac mailing list