- From: Thomas Broyer <t.broyer@gmail.com>
- Date: Wed, 18 Jul 2007 00:41:59 +0200
- To: public-html@w3.org
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