W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css-fonts-4] Author-friendly unicode-range values?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 5 Sep 2013 16:02:35 -0700
Message-ID: <CAAWBYDC2u3DLxnAFQJMCeMq2pfc0=mARpzxyr+2pDN3sjExD+w@mail.gmail.com>
To: Lea Verou <lea@verou.me>
Cc: Simon Sapin <simon.sapin@exyr.org>, www-style list <www-style@w3.org>
On Thu, Sep 5, 2013 at 3:57 PM, Lea Verou <lea@verou.me> wrote:
> On Sep 4, 2013, at 21:19, Simon Sapin <simon.sapin@exyr.org> wrote:
>> Maybe allow (unquoted) identifiers as well?
>
> You mean things like unicode-range: a-z; ?

Well, "unicode-range: a z;", given his suggested grammar.  (Again,
don't try and invent microsyntaxes using dashes.  They parse weird.)

> I’m not sure what’s the point. Saving a few characters? It’s not used frequently enough that this would yield significant savings.

Eh, I use the same thing for @counter-style.  It reads nicely.  But
granted, it's not quite as important here, where you're less likely to
get 26 strings in a row.

> Furthermore, allowing idents makes it more difficult to add predetermined character classes in the future, e.g. unicode-range: basic-latin, greek;

Not if they're defined to only be single-character.  Then
multi-character keywords would still be available for the language to
use.

~TJ
Received on Thursday, 5 September 2013 23:03:27 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC