Re: [css3-lists] Where can the counter() function be used?

Le 06/07/2012 08:45, Tab Atkins Jr. a écrit :
>> So the question is: where can counter() be
>> used? http://www.w3.org/TR/css3-lists/  shows it being used in the
>> content: property, but is that the only place? Should the spec say
>> what it's applicability is?
> It should be usable anywhere - it just returns a string based on the
> value of a counter on that element.  2.1 limited it to 'content',
> but there are more string-valued properties now and in the future
> where it may potentially be useful.

In that case css3-lists should say that counter() can be used anywhere a 
<string> can. (Editorial: including but not limited to the 'content' 
property.)

-- 
Simon Sapin

Received on Friday, 6 July 2012 06:54:20 UTC