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

On Sat, 21 Apr 2012 04:56:22 +0200, fantasai  
<fantasai.lists@inkedblade.net> wrote:

> Otherwise I'm leaning towards the IE9 behavior, too. :) Filed as
>    https://www.w3.org/Style/CSS/Tracker/issues/240

+1

>> (b) that the circled letters, being categorized as Symbols rather than  
>> Letters, should _not_ be affected by ‘capitalize’ (i.e. the expected  
>> result is B2b).
>
> I think if we're case-shifting such symbols as all, we should case-shift  
> them
> and treat them as first-letters for capitalize. But you bring up a good  
> point.
> Maybe we shouldn't be case-shifting Symbols.

I think they should not be capitalized. Text isn't normally written out
of circled letters. In some contexts, authors may do it anyway, but we
can't really guess. It seems to be safer to not do case shifting here,
but to provide a way for people with special uses to do it their way.

Because of that, we should craft the rules so that this happens only
due to them not being letters.

In "ⓐⓑⓒ (ⓓⓔⓕ) —ⓖⓗⓘ", having "ⓐⓑⓒ"  "ⓓⓔⓕ" and "ⓖⓗⓘ" be words
would allow authors to define things like this if they wanted to:

@text-transform circled-capitalize
{
   transformation: "ⓐ-ⓩ", "Ⓐ-Ⓩ";
   scope: initial;
}

  - Florian

Received on Monday, 23 April 2012 09:49:57 UTC