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

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

From: Sander Tekelenburg <st@isoc.nl>
Date: Wed, 18 Jul 2007 20:01:21 +0200
Message-Id: <p0624065dc2c403d5525e@[192.168.0.102]>
To: public-html@w3.org

At 09:13 +0200 UTC, on 2007-07-18, Thomas Broyer wrote:

> 2007/7/18, Sander Tekelenburg:
>>
>> At 19:42 -0500 UTC, on 2007-07-17, Robert Burns wrote:
>>
>> > On Jul 17, 2007, at 7:29 PM, Sander Tekelenburg wrote:
>>
>> [...]
>>
>> >> AFAIK only iCab and Opera support CSS counters.
>> >
>> > I believe I've seen recent Gecko handling it properly
>>
>> Well, it doesn't work for me in Firefox 2.0.0.4.
>
> Gecko (Firefox 2.0.0.5) supports CSS counters:
>
><http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A%3Cstyle%3E%0Aol%20%7B%20counter-reset%3A%20items%202%3B%20%7D%0Aol%20li%20%7B%20counter-increment%3A%20items%202%3B%20display%3A%20block%3B%20%7D%0Aol%20li%3Abefore%20%7B%20content%3A%20counter%28items%29%20%27.%20%27%3B%20%7D%0A%3C/style%3E%0A%3Col%3E%3Cli%3Efoo%3Cli%3Ebar%3Cli%3Ebaz%3C/ol%3E>

Ah, you're right. In my test I was using them for table rows, but made a
syntax error (not having a proper CSS validator sucks). Anyway, confirmed:

<http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A%3Cstyle%3E%0Atable%20%7Bcounter-reset%3A%20item%200%7D%0Atd%20%7Bborder%3A%20thin%20black%20solid%7D%0Atd%3Afirst-child%20%7Bcounter-increment%3A%20item%201%7D%0Atd%3Afirst-child%3Abefore%20%7Bcontent%3A%20counter%28item%29%20%22.%22%3B%20float%3Aleft%3B%20margin-right%3A%201ex%7D%0A%3C/style%3E%0A%3Ctable%3E%0A%3Ctr%3E%3Ctd%3Efoo%3Ctd%3Ebar%3Ctd%3Ebaz%3C/tr%3E%0A%3Ctr%3E%3Ctd%3Efoo%3Ctd%3Ebar%3Ctd%3Ebaz%3C/tr%3E%0A%3Ctr%3E%3Ctd%3Efoo%3Ctd%3Ebar%3Ctd%3Ebaz%3C/tr%3E%0A%3C/table%3E>


-- 
Sander Tekelenburg
The Web Repair Initiative: <http://webrepair.org/>
Received on Wednesday, 18 July 2007 18:06:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT