W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [shadow-dom] Counters and list item counting

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 19 Feb 2013 11:43:24 -0800
Message-ID: <CAAWBYDDMA70WyudutjQ40vJSqLjDW=zx9XutZm2e+SU1jtJA0A@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps <public-webapps@w3.org>
On Tue, Feb 19, 2013 at 11:38 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/19/13 2:20 PM, Elliott Sprehn wrote:
>> Currently in Webkit list item counting is done on the render tree, but
>> we are looking at making it use the DOM instead so that ordered lists
>> work properly in regions.
>
> Why wouldn't they work properly even if done on the render tree?
>
> Note that if you do list item counting on the DOM, how are you planning to
> implement http://www.w3.org/TR/CSS21/generate.html#undisplayed-counters ?

There's some layer-breaching intrinsic to this.  You do have to
examine your styles to see if you generate a box.

I wouldn't want it to rely on the box tree, though, as that means
things like 'order' would affect list item numbering, not to mention
the effects that Elliot brings up.

~TJ
Received on Tuesday, 19 February 2013 19:44:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT