Re: 3.11 Lists Review Comments (ol/@start, li/@value)

2007/7/18, Robert Burns:
>
> It would be ideal if CSS counters could pick up on the HTML attribute
> values to generate numbered list markers.

It will be possible with CSS3:
    ol li[value] { counter-reset: list-item attr(value, integer); }

See:
http://www.w3.org/TR/css3-values/#attribute (you can use the attr()
function everywhere)
http://www.w3.org/TR/css3-content/#normal1 (uses a counter named
list-item for lists)

-- 
Thomas Broyer

Received on Tuesday, 17 July 2007 22:42:17 UTC