W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-text] Ability to control hyphenation of proper nouns/capitalised words (#5157)

From: buttercookie42 via GitHub <sysbot+gh@w3.org>
Date: Thu, 04 Jun 2020 10:11:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-638756043-1591265484-sysbot+gh@w3.org>
Something along the lines of `auto | always | never` possibly?
Certainly `always` (or some equivalent naming) to always allow automatic hyphenation of words containing capital letters, since that is what I was asking for, but a case could also be made for explicit control in the other direction, i.e. never automatically hyphenate words containing capital letters:

1. For some languages (like German, where *all* nouns are capitalised) the default behaviour of `auto` would probably rather correspond to `always`, so for manual control you'd also need an opposite option.
2. @jfkthame [mentioned](https://github.com/w3c/csswg-drafts/issues/3927#issuecomment-492121209) that one possible future refinement of Gecko's default behaviour (corresponding to a future `auto` value) might be to vary the decision based on line length, i.e. be less strict about not hyphenating capitalised words for short lines. In that case full manual control again would require both `always` and `never` values.

-- 
GitHub Notification of comment by buttercookie42
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5157#issuecomment-638756043 using your GitHub account
Received on Thursday, 4 June 2020 10:11:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC