W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

Re: [csswg-drafts] [css-text-4] Way to only hyphenate when word is broken in “emergency situations”? (#4600)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Dec 2019 09:56:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-565987978-1576490169-sysbot+gh@w3.org>
My feeling that that if we accept this, it should be a value of `overflow-wrap` (`overflow-wrap: hyphenate` or `overflow-wrap: hyphens`) rather than a new value of `hyphens`. It would do nothing if there is no risk of overflow, hyphenate the same way `hyphens:auto` does but only in cases of things would otherwise overflow, and do the same as `overflow-wrap: anywhere` if hyphenation was not applicable to the word (or wasn't enough to remove overflow). Or possibly, `overflow-wrap` could take `hyphenate` plus another keyword from `anywhere | break-word | normal` to let authors chose what to do if hyphenation doesn't solve the overflow problem. 

GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4600#issuecomment-565987978 using your GitHub account
Received on Monday, 16 December 2019 09:56:11 UTC

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