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

Re: 3.15 Tabular Data Review

From: James Graham <jg307@cam.ac.uk>
Date: Tue, 17 Jul 2007 23:31:50 +0100
Message-ID: <469D4356.3000200@cam.ac.uk>
To: Robert Burns <rob@robburns.com>
Cc: Simon Pieters <simonp@opera.com>, Debi Orton <oradnio@gmail.com>, public-html@w3.org

Robert Burns wrote:
> On Jul 16, 2007, at 7:21 AM, Simon Pieters wrote:
>> On Mon, 16 Jul 2007 08:40:59 +0200, Debi Orton <oradnio@gmail.com> wrote:
>>> 3.15.2 The caption Element
>>> "The <http://www.w3.org/html/wg/html5/#caption0>caption element 
>>> represents the title of the 
>>> <http://www.w3.org/html/wg/html5/#table>table that is its parent, if 
>>> it has a parent and that is a 
>>> <http://www.w3.org/html/wg/html5/#table>table element."
>>> What other legitimate usage is there for the caption element?  I know 
>>> of none, although this verbiage makes it appear as if there are 
>>> others.  Can we simplify it?
>> The paragraph doesn't imply that there are other useages for the 
>> caption element. It just defines what it means when it is used correctly.
> I wonder if this wording is a vestige of considering <caption> for 
> <figure> elements (apparently rejected for <legend> because of some 
> unspecified parsing issues). 

I thought this had been cleared up. Apparently I was mistaken.

Try parsing <figure><img><caption>foo</caption></figure> in common 
browsers [1] or in the html5 parsing algorithm [2]. <caption> tokens are 
ignored except inside tables, so the resulting DOM will look like:

       |#text: foo

For <legend> everything works as expected[3].


"Mixed up signals
Bullet train
People snuffed out in the brutal rain"
--Conner Oberst
Received on Tuesday, 17 July 2007 22:32:24 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:24 UTC