-
Notifications
You must be signed in to change notification settings - Fork 791
[css-text] For most languages, hyphens:auto should not hyphenate Capitalized words #3927
Copy link
Copy link
Closed
Labels
Closed Accepted by CSSWG ResolutionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.Testing UnnecessaryMemory aid - issue doesn't require testsMemory aid - issue doesn't require testsTracked in DoCcss-text-3Current WorkCurrent Workcss-text-4i18n-eurlreqEuropean language enablementEuropean language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Metadata
Metadata
Assignees
Labels
Closed Accepted by CSSWG ResolutionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.Testing UnnecessaryMemory aid - issue doesn't require testsMemory aid - issue doesn't require testsTracked in DoCcss-text-3Current WorkCurrent Workcss-text-4i18n-eurlreqEuropean language enablementEuropean language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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 explicitly does not specify exactly where hyphenation opportunities occur when
hyphens:autois 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, whereyesandnowould have the obvious meaning, andautowould tell the browser to use whatever heuristics it may have, such as considering the current language.