W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-text-3] word-break: break-all doesn't break before sentence-ending punctuation if UAX #14 is used

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Apr 2017 13:01:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-293568318-1492002111-sysbot+gh@w3.org>
There was a suggestion to add the new value to `line-break` property instead, so update the summary table.

|Value|When|Break At|Preferred Width|
|New desired behavior|Anytime|Anywhere|Same as line break|
|[line-break: auto/normal/strict/loose](https://drafts.csswg.org/css-text-3/#line-break-property)|Anytime|Language dependent[1]|Same as line break|
|word-break: [break-all](https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all)|Anytime|Except certain punctuation|Same as line break|
|word-break: break-word[2]|Only if no other break opportunities|Anywhere|Same as line break|
|word-wrap/overflow-wrap: [break-word](https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word)|Only if no other break opportunities|Anywhere|Compute using normal break|

[1] Controls line break before/after East Asian letters, punctuation, symbols, and some common punctuation/symbols. ICU supported the idea, [currently supports variants for Chinese, Japanese, and Finnish](http://cldr.unicode.org/development/development-process/design-proposals/specifying-text-break-variants-in-locale-ids#TOC-F1.-keyword--lb-).
[2] Resolved to add (IIRC) but the spec not updated yet.

GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1171#issuecomment-293568318 using your GitHub account
Received on Wednesday, 12 April 2017 13:02:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC