W3C home > Mailing lists > Public > public-html@w3.org > July 2007

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

From: Thomas Broyer <t.broyer@gmail.com>
Date: Wed, 18 Jul 2007 00:41:59 +0200
Message-ID: <a9699fd20707171541v400652fem2aef0f828c92e9c@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:47 UTC