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

Re: can an img be a link within figure?

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 06 Jul 2007 11:31:20 +1000
Message-ID: <468D9B68.5040909@lachy.id.au>
To: Thomas Broyer <t.broyer@gmail.com>
CC: public-html@w3.org

Thomas Broyer wrote:
> 2007/7/5, Ben Boyle:
>> <figure>
>> <a href="some link"><img src="some image" ...></a>
>> <legend>optional legend</legend>
>> </figure>
> I propose allowing <a> as a child of <figure> in the case it has only
> one child which is an <img> (with no "significant text" around it).

It would be better to change the content model to allow for any strictly 
inline-level content, as long as there is at least one embedded content 
element as a descendant.

Lachlan Hunt
Received on Friday, 6 July 2007 01:31:35 UTC

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