W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: [css3-lists] glyphs in single string

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 23 Nov 2011 15:43:20 -0800
Message-ID: <CAAWBYDBMjTz4h5XaOy2kTcSnnZhSLgDpgfYnmbNDrBG9ffqc8w@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
On Wed, Nov 23, 2011 at 3:31 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 11/23/2011 10:36 AM, Tab Atkins Jr. wrote:
>>
>> What if we used a function as the quotes instead?
>>
>> @counter-style lower-norwegian {
>>   type: alphabetic;
>>   glyphs: glyphs(a b c d e f g h i j k l m n o p q r s t u v w x y z æ ø
>> å);
>> }
>>
>> We'd tokenize the contents of the glyphs() function by spaces, and
>> only require that the various brace characters ()[]{} be escaped
>> within it.
>
> Why have the functional notation at all? Just put the glyphs in
> the property directly.
>
> @counter-style lower-norwegian {
>   type: alphabetic;
>   glyphs: a b c d e f g h i j k l m n o p q r s t u v w x y z æ ø å;
> }

Then you can't distinguish an <image> from a glyph that just happens
to look remarkably like url(foo).

~TJ
Received on Wednesday, 23 November 2011 23:44:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT