- From: Daniel Weck <daniel.weck@gmail.com>
- Date: Mon, 2 May 2011 16:34:16 +0100
- To: Christoph Päper <christoph.paeper@crissov.de>
- Cc: www-style list <www-style@w3.org>
On Sun, May 1, 2011 at 11:53 PM, Christoph Päper
<christoph.paeper@crissov.de> wrote:
> 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; }
Doesn't this generate a text node before the <li> element ? (the
marker should be the first child of the list item, right ?)
Cheers, Daniel
Received on Monday, 2 May 2011 15:34:44 UTC