- From: Belov, Charles <Charles.Belov@sfmta.com>
- Date: Thu, 9 Sep 2010 13:08:49 -0700
- To: "www-style list" <www-style@w3.org>
- Cc: "fantasai" <fantasai.lists@inkedblade.net>, "Tab Atkins Jr." <jackalmage@gmail.com>
fantasai wrote on Wednesday, September 08, 2010 4:52 PM
> On 09/08/2010 02:18 PM, Tab Atkins Jr. wrote:
> >
> > Nearly all of these list-types use a small set of simple
> behaviors to
> > define themselves. This behavior can be extracted and
> given a little
> > bit of syntax, and then used to define the list-types
> directly in UA
> > style-sheets.
> > ...
> > A basic declaration would look like this:
> >
> > @list decimal {
> > type: numeric;
> > glyphs: 0 1 2 3 4 5 6 7 8 9;
> > suffix: ".";
> > }
> >
>
> - I'm not sure your 'glyphs' will tokenize well. We can handle
> unquoted idents no problem, but digits are not idents. Also
> any ASCII punctuation would have to be escaped, which could
> be confusing as well. That said, quote marks around each
> character would be annoying. I think Håkon avoided this
> problem by quoting the whole thing.
ASCII spaces would need to be escaped as well.
Hope this helps,
Charles Belov
SFMTA Webmaster
Received on Thursday, 9 September 2010 20:16:31 UTC