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

Re: text-transform:capitalize

From: Ernest Cline <ernestcline@mindspring.com>
Date: Fri, 04 Apr 2003 00:59:00 -0500
To: www-style@w3.org
Message-ID: <3E8CD8D4.21034.1F5F04F@localhost>

On 3 Apr 2003 at 17:28, Yung-Fong wrote:


> http://www.w3.org/TR/REC-CSS2/text.html#caps-prop
> 
> said
> 
> capitalize
> Puts the first character of each word in uppercase. uppercase
> Puts all characters of each word in uppercase. lowercase
> Puts all characters of each word in lowercase.
> 
> 
> shouldn't the capitalize be
> "Puts the first character of each word in uppercase (or titlecase if 
> applicable) and put all the rest into lowercase."

In my opinion, no it shouldn't. If it did, then it would take a string 
like, "changes to CSS" and transform it to "Changes To Css" which would 
not be the desired behavior in my opinion.
Received on Friday, 4 April 2003 00:58:41 GMT

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