Re: [css3-lists] [css3-speech] Interaction between list-style-type and speak properties

On Feb 7, 2011, at 3:35 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> Yeah, you'll be able to say something like:
> 
> @counter-style dice {
>  type: alphabetic;
>  range: 1 infinity;
>  glyphs: url(die1), url(die2), url(die3), url(die4), url(die5), url(die6);
> }
> ol {
>  list-style-type: dice;
> }
> 
> ...and get all your <ol>s displayed with dice-based graphics, so (7)
> would be two dice showing a 6 and 1, etc.

Shouldn't that be '@counter-style $dice' and 'list-style-type: $dice' (or something similar), in order to avoid collisions with other (possible future) list-style-types?

Received on Tuesday, 8 February 2011 01:18:57 UTC