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: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 3 May 2011 08:23:29 -0700
Message-ID: <BANLkTikHqAttjxP6aVMMN-3hjcCeUAehnQ@mail.gmail.com>
To: Christoph Päper <christoph.paeper@crissov.de>
Cc: www-style list <www-style@w3.org>
On Tue, May 3, 2011 at 4:54 AM, Christoph Päper
<christoph.paeper@crissov.de> wrote:
> Tab Atkins Jr.:
>>
>> Why would you use that extra level of indirection?
>
> Some markup language may require it that way, not HTML, though.

Is there a markup language out there that requires one to markup the
list marker as an attribute on the list item?

If so, there's still a simpler way:

li[value]::marker { content: attr(value); }

~TJ
Received on Tuesday, 3 May 2011 15:24:16 GMT

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