- From: Nicholas Shanks <contact@nickshanks.com>
- Date: Wed, 12 May 2004 09:15:12 +0100
- To: www-style@w3.org
On 12 May 2004, at 02:38, L. David Baron wrote:
> On Wednesday 2004-05-12 02:04 +0100, Nicholas Shanks wrote:
>>
>> The definition of the 'capitalize' value for text-transform is a tad
>> ambiguous.
>> http://www.w3.org/TR/2003/WD-CSS21-20030915/text.html#propdef-text-
>> transform
>
> You're looking at an old draft. This issue has already been raised,
> and
> the text you quote:
>
>> capitalize
>> Puts the first character of each word in uppercase.
>
> has been replaced in the current draft,
> http://www.w3.org/TR/2004/CR-CSS21-20040225/text.html#caps-prop , by:
>
> # capitalize
> # Puts the first character of each word in uppercase; other
> characters
> # are unaffected.
Sorry!
That's what I get for spending 40 straight hours writing stylesheets :/
The new text is much better, thanks :-)
On 12 May 2004, at 02:11, fantasai wrote:
> Given
> <span style="text-transform: capitalize;">This page is coded in
> HTML.</span>
> I think we would want
> This Page Is Coded In HTML.
Well I would have put:
span {text-transform: capitalize;}
abbr.initialism {text-transform: uppercase; speak: spell-out;}
<span>This page is coded in <abbr class="initialism">HTML</abbr>.</span>
since I mark up all abbrs as being in either the 'initialism' or
'truncation' class - so i never thought about that.
- Nick.
Received on Wednesday, 12 May 2004 04:15:44 UTC