<http://dev.w3.org/csswg/css3-gcpm/#hyphenate-properties> (<http://dev.w3.org/csswg/css3-text/#hyphenate>) Currently proposed properties ‘hyphenate-before’ and ‘hyphenate-after’ take as value either ‘auto’ or an integer (number of characters). They should also accept a length (which may include the ‘ch’ unit some day). It might be a good idea to have a shorthand property for both, e.g. ‘hyphenate-length’. I like to set them both to the same amount as ‘text-indent’ and ::marker width. BTW: There is at least one Javascript implementation of automatic hyphenation: <http://code.google.com/p/hyphenator/>. There you can configure the minimum length (in characters) of a word for it to be broken, not the remainder on either line. It doesn’t do “fancy” hyphenation, like ‹…CC…› -> ‹…CC-C…› or ‘…ck…’ -> ‘…k-k…’. Since my native tongue is German I would like a hyphenation option, maybe in CSS 4, to prefer semantic boundaries, especially in compounds or if there is a hyphen or a ZWNJ already, or with any variant of camel case.Received on Monday, 7 June 2010 23:15:41 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:47 UTC