- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 May 2019 16:24:11 +0000
- To: public-css-archive@w3.org
jfkthame has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text] For most languages, hyphens:auto should not hyphenate Capitalized words == When auto-hyphenation is in use, I believe that in most languages - with German being the major exception - it would be preferable for browsers *not* to hyphenate capitalized words, which will often be proper nouns. In many cases authors and readers will prefer that names (of people, companies, etc) not be split, and in addition hyphenation rules designed for the "normal" words of a language may fail to hyphenate many names appropriately. (https://bugzilla.mozilla.org/show_bug.cgi?id=1550532 was recently filed against Gecko about this issue.) The [CSS Text 3 spec](https://drafts.csswg.org/css-text-3/#hyphenation-opportunity) explicitly does not specify exactly where hyphenation opportunities occur when `hyphens:auto` is used. However, I would suggest adding an informative *note* to the spec, suggesting that browsers may want to suppress auto-hyphenation of capitalized words except when the hyphenation language in use is German. For CSS Text 4, perhaps a property should be introduced to allow authors to explicitly control this behavior; e.g. `hyphenation-capitalized-words: auto | yes | no`, where `yes` and `no` would have the obvious meaning, and `auto` would tell the browser to use whatever heuristics it may have, such as considering the current language. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3927 using your GitHub account
Received on Monday, 13 May 2019 16:24:12 UTC