Intent to Implement: line-break: anywhere

Skip to first unread message

Javier Fernandez

Mar 3, 2019, 7:20:28 PM3/3/19
Contact emails

CSS Text Module Level 3

The 'line-break: anywhere' feature ads a soft wrap opportunity around every typographic character unit, including around any punctuation character or preserved spaces, or in the middle of words, disregarding any prohibition against line breaks, even those introduced by characters with the GL, WJ, or ZWJ character class (see [UAX14]) or mandated by the word-break property.


Chrome's implementation of the 'word-break: break-all' feature tries to match Edge, and the current spec draft, so that it ignores code points like "." (FULL STOP), which is categorized as IS. In UAX 14. However, end users seems to prefer Firefox's and Safair's behavior, although is not completely spec complaint. So, the CSS WG resolved to introduce a new value of the line-break property to complement what 'break-word: break-all'  provides (matching Firefox and Safari but also users expectations); additionally, it allows breaking at any reserved white-space, so in a way emulates the behavior of terminal-like text editors

Interoperability and Compatibility Risk

Low compatibility risk.

  • Since 'line-break: anywhere' is new value it won’t break existing web.

Medium interoperability risk

WebKit: - positive signals
Gecko: - no public signals
Edge: No public signals
Ongoing technical constraints

The feature will be implemented behind an experimental runtime flag.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?


OWP launch tracking bug

Link to entry on the feature dashboard

Requesting approval to ship?


Joe Medley

Mar 4, 2019, 5:01:26 PM3/4/19
to Javier Fernandez,

Can you give me a tracking bug for this. The link in the status entry for user-select:contain and the one in your intent doesn't work at all.

Joe Medley | Technical Writer, Chrome DevRel | | 816-678-7195
If an API's not documented it doesn't exist.

You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Javier Fernandez

Mar 4, 2019, 6:38:23 PM3/4/19
Sorry about the mistake in the tracking bug link; this is the correct one:

Javier Fernandez

Mar 4, 2019, 6:44:05 PM3/4/19
It seems the link to the chromestatus entry is also wrong, this is the correct one:
Reply all
Reply to author
0 new messages