W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: [css3-lists] Proposal: list item marker from the content of the li element

From: Markus Ernst <derernst@gmx.ch>
Date: Wed, 31 Mar 2010 19:16:03 +0200
Cc: www-style@w3.org
Message-ID: <20100331171603.10520@gmx.net>
To: "Anne van Kesteren" <annevk@opera.com>, jackalmage@gmail.com
-------- Original-Nachricht --------
> Datum: Wed, 31 Mar 2010 07:51:27 -0700
> Von: "Anne van Kesteren" <annevk@opera.com>

> I think if we get something like this to work
>    li[marker]::marker { content:attr(marker) }

If I understand this correctly this would require a markup such as:

<li marker="§1">...</li>

I doubt that this solves the legal text use case. I don't know how this is looked at from a technical point of view, but as an author I would not consider an attribute value being part of the text contents. I could have the idea to work around it somehow like:

li[marker]::marker { 
li span.marker {

<li marker="§1"><span class="marker">§1 </span>...</li>
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
Received on Wednesday, 31 March 2010 17:16:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:44 UTC