[w3ctag/design-reviews] text-wrap: balance (Issue #822)

Hello TAG!

I'm requesting a TAG review of the `text-wrap: balance` CSS property.

This feature adjusts line breaking to balance the length of each line box in a block, for better readability and to prevent typographic widows. This feature is often used in headlines.

There are several JavaScript libraries to achieve this effect, such as [NYTimes text balancer], [React Wrap Balancer], or [Adobe Balance Text].

[Jen's tweet](https://twitter.com/jensimmons/status/1542264788029423616) has a sample image, and it got a lot of positive responses from web developers.

[NYTimes text balancer]: https://github.com/nytimes/text-balancer

[React Wrap Balancer]: https://github.com/shuding/react-wrap-balancer

[Adobe Balance Text]: https://github.com/adobe/balance-text


  - Explainer¹ (minimally containing user needs and example code): [url](https://docs.google.com/document/d/16-T9gqCagJxcST6hcnneSb7qGunxXa37_UHYqMqhPL0/edit#)
  - Specification URL: [spec url](https://w3c.github.io/csswg-drafts/css-text-4/#valdef-text-wrap-balance)
  - Tests: [wpt folder(s), if available](https://wpt.fyi/results/css/css-text/white-space?label=master&label=experimental&aligned&view=subtest&q=text-wrap)
  - User research: [url to public summary/results of research]
  - Security and Privacy self-review²: [url]
  - GitHub repo (if you prefer feedback filed there): [url]
  - Primary contacts (and their relationship to the specification):
      - @kojiishi (Implementer), @bfgeek (Implementer), @fantasai (Spec Editor)
  - Organization(s)/project(s) driving the specification: Google
  - Key pieces of existing multi-stakeholder review or discussion of this specification:
  - External status/issue trackers for this specification (publicly visible, e.g. Chrome Status): https://chromestatus.com/feature/5196960707903488


Further details:

  - [x] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
  - Relevant time constraints or deadlines: Implementation complete.
  - The group where the work on this specification is currently being done: CSSWG
  - The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): CSSWG
  - Major unresolved issues with or opposition to this specification:
  - This work is being funded by: Blink implementation is being done by Google.

  💬 leave review feedback as a **comment in this issue** and @-notify [github usernames]


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/822

You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/822@github.com>

Received on Tuesday, 28 February 2023 06:36:04 UTC