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

WordPress Trac noreply at wordpress.org
Tue Aug 27 14:39:55 UTC 2024


#60892: About Page: `text-wrap: balance;`adds unintended new lines in Japaneese
-------------------------------------+---------------------
 Reporter:  wildworks                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.6.2
Component:  Help/About               |     Version:  6.5
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+---------------------

Comment (by ryelle):

 Replying to [comment:16 wildworks]:
 > This ticket was originally intended for Japanese only

 That's a fair point— in that case, the PR as it is could ship and fix the
 ticket.

 > If this ticket needs to take all languages into account, it seems
 unrealistic to test each language individually and apply the appropriate
 text-wrap to each one.

 Maybe we can do the inverse here, and add `balance` for `:lang(en)`? If I
 understand the selector correctly, that should catch all English locales.

 > As mentioned in this comment, how about applying text-wrap: pretty; to
 all languages?

 Again, this doesn't work in Firefox or Safari yet, but if we don't want to
 go case by case, that would work.

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


More information about the wp-trac mailing list