W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] caption for lists and others Re: XSLT: HTML 5 --> HTML

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 09 Feb 2007 14:07:42 +0100
Message-ID: <op.tnhf241964w2qv@id-c0020.oslo.opera.com>
On Fri, 09 Feb 2007 14:03:39 +0100, Karl Dubost <karl at w3.org> wrote:
> The caption element has been created for tables, but except if browsers  
> have a special parsing for it. I wonder what it would give associated  
> with other things like objects, lists, etc.
> It's very common to see index of figures, index of tables, etc.
> <ul>
>      <caption>Here my caption</caption>
>      ?
> </ul>

<legend> was resued as opposed to <caption> in <figure> because <caption>  
has special parsing rules (inside tables). The same would apply here.

> Though Ian seems to say that meta is put back in the HEAD element.

You basically have to do that for backwards compatibility.

Anne van Kesteren
Received on Friday, 9 February 2007 05:07:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:52 UTC