W3C home > Mailing lists > Public > www-style@w3.org > March 2014

Re: [css-counter-styles] position keywords in list-style

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 29 Mar 2014 15:54:24 -0700
Message-ID: <CAAWBYDALF8ULcsRoPi_Zp5sojxRCav6n3PkF28GZZp+nmsPi4A@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
On Sat, Mar 29, 2014 at 10:36 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> On 29/03/2014 04:29, Xidorn Quan wrote:
>> If there is more than one position keywords, namely 'inside' and
>> 'outside', appear in list-style, should we accept one of them as the
>> identifier for list-style-type or simply reject the whole property as a
>> syntax error?
> It should be rejected.
> The spec does not do so yet (that’s a bug to fix), but <counter-style-name>
> should be defined as a <custom-ident>, so that this restriction applies:
> http://dev.w3.org/csswg/css-values/#custom-idents
>> an identifier that could be interpreted as a pre-defined keyword in
>> any position or multiplication of the <custom-ident> component value
>> is excluded, and is invalid as a <custom-ident> matching to that
>> component value

Simon's right, and I've now amended Counter Styles to define
<counter-style-name> as a <custom-ident>.

Received on Saturday, 29 March 2014 22:55:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:20 UTC