- From: John Daggett <jdaggett@mozilla.com>
- Date: Wed, 4 Aug 2010 23:57:45 -0700 (PDT)
- To: Simon Fraser <smfr@me.com>
- Cc: "www-style@w3.org list" <www-style@w3.org>
Simon Fraser wrote: > As noted in the Introduction, hyphenation should apply to media > other than "print", so the hyphenation-related properties should > move out of GCPM. I think CSS3 Text is the logical home for hyphenation-related properties, since hyphenation and justification are typically related properties. > Finally we think that doing language-sensitive hyphenation is hard > because most web content does not have the appropriate "lang" > attributes. We'd like to suggest a property that permits > language-sensitive hyphenation, namely "hyphenation-locale" (or > "hyphenate-locale"), that an author can use to inform the UA about > what locale should be used for hyphenation: > > hyphenation-locale: auto | string > where the string is a locale identifier. > > If not auto, the value would override the language derived from any > present "lang" attributes. I don't see the need for an "override" here, what you're describing is the equivalent of setting the 'lang' attribute, no? An override would be something like "the text is English but I want to use German hyphenation" but I'm not sure that makes much sense as a valid use case. Cheers, John Daggett
Received on Thursday, 5 August 2010 06:58:19 UTC