W3C home > Mailing lists > Public > public-html-comments@w3.org > January 2008

Re: Table of contents tag for html 5?

From: Daniel Benamy <dbenamy@optonline.net>
Date: Wed, 23 Jan 2008 08:48:22 -0500
Message-ID: <1ca741370801230548l691d3b9tbb1430a70cdf9394@mail.gmail.com>
To: "James Graham" <jg307@cam.ac.uk>
Cc: public-html-comments@w3.org

On Jan 23, 2008 5:56 AM, James Graham <jg307@cam.ac.uk> wrote:
> Daniel Benamy wrote:
>
> > There could also be attributes which control how the table of contents
> > is generated, such as whether the entries are numbered or not or which
> > headings are included (all, only those after the <toc>, only those
> > before, only headings greater than n, etc.)
>
> The main problem with this is that it would break incremental rendering; the toc
> couldn't be rendered completely until the entire document has been fetched, so
> the UA would have to re-layout the page to insert the toc, creating an
> unpleasant user experience.
>
> In general, this feature seems like something that would be better handled on
> the server side, with the publishing system converting <toc/> to the fully
> expanded HTML (which could then be adjusted as needed on a per-site basis).

I see. Thanks for the reply.

Dan
Received on Wednesday, 23 January 2008 13:48:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:13:58 GMT