W3C home > Mailing lists > Public > www-style@w3.org > April 2003

RE: text-transform:capitalize

From: Ernest Cline <ernestcline@mindspring.com>
Date: Wed, 02 Apr 2003 05:56:28 -0500
To: <www-style@w3.org>
Message-ID: <3E8A7B8C.26784.548B1E@localhost>

On 1 Apr 2003 at 15:55, Michel wrote:

> Although it is a nice clarification, I don't think the spec
> currently precludes the usage of titlecase for the 'capitalize'
> value. The text refers explicitly and normatively to the
> Unicode-casing data which includes titlecase. But I agree it could
> be clarified in the text. 

The definition given in the current WD is:

capitalize
    Puts the first letter of each word in uppercase.

With a change to titlecase instead, I think the wording should be:

capitalize
    Puts the first letter of each word in titlecase, if it is not in
    uppercase.

The exception is so that something like DZIMA doesn't become DzIMA when 
the capitalize transform is applied to it. Since an extra step 
(checking to see if the letter is uppercase) is specified by this 
definition, I think it could be considered as something more than a 
clarification.
Received on Wednesday, 2 April 2003 05:56:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT