W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: [css3-text] text-transform:capitalize

From: Asmus Freytag <asmusf@ix.netcom.com>
Date: Tue, 22 Feb 2011 12:10:44 -0800
Message-ID: <4D641844.70705@ix.netcom.com>
To: Ambrose LI <ambrose.li@gmail.com>
CC: Christoph Päper <christoph.paeper@crissov.de>, W3C style mailing list <www-style@w3.org>, www-international@w3.org
On 2/22/2011 11:42 AM, Ambrose LI wrote:
> 2011/2/22 Christoph Päper<christoph.paeper@crissov.de>:
>> Lowercasing the rest is helpful for
>>   <abbr>AIDS</abbr>
>> or, better yet,
>>   acronym {text-transform: capitalize;}
>> but harmful for
>>   <h1>Scrooge McDuck richest duck ever</h1>
> I don't think even lowercasing the rest is helpful for the "AIDS"
> case. If I write AIDS, it means that according to my stylistic
> preferences this particular acronym should be in all uppercase, and my
> preferences don't suddenly change if I put it into a title. We are not
> even counting acronyms that *must* have correct mixed case, such as
> "kB", "dB", "DDoS", "GmbH" and the like.
> Personally, I think the "title case" transformation is useless. It is
> almost useless for French, probably useless for other non-English
> languages, and even if we consider just English it is too
> content-specific and there's really no sure way to get a result that's
> right all the time.

I agree. There are many languages that simply don't use titlecase the 
way this is understood for English, so in those languages, titlecase 
should somehow become a no-op for these languages.

Even in English you have all those rules about particular (small) words 
that are not to be titlecased. These words would still be sentence cased 
at the beginning of sentences (and beginning of the title) but not in 
the middle.

That makes the problem almost as complex as hyphenation - so if some UA 
had a great titlecasing engine with near perfect heuristics and good 
dictionary of exceptions, such a UA might be able to do a half-decent 
job, but you wouldn't be able to predict the outcome.

Received on Tuesday, 22 February 2011 20:12:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC