W3C home > Mailing lists > Public > www-style@w3.org > May 2011

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

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Mon, 2 May 2011 00:53:53 +0200
Message-Id: <25C66BB4-25A3-4DCD-B5CA-7C3F7FCA9AF0@crissov.de>
To: www-style list <www-style@w3.org>
Tab Atkins Jr.:
> <ol>
>   <li><span class=marker>A.</span> foo
>   <li><span class=marker>B.</span> bar
> </ol>
> 
> .marker { display: marker; }
> ol { list-style-type: inline; }

Should this or something like it work, too?

  <ol>
    <li value="A."> foo
    <li value="B."> bar
  </ol>

  li[value]::before {content: attr(value); display: marker; }
  ol { list-style-type: inline; }
Received on Sunday, 1 May 2011 22:54:21 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT