Re: can an img be a link within figure?

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