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

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.

A./

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