Re: can an img be a link within figure?

On Jul 6, 2007, at 04:31, Lachlan Hunt wrote:

> 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).

Makes sense, except for the "significant text" part. (Inter-element  
white space is allowed anyway. "Significant text" is a different  
concept and not used in a context like this.)

> 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.


Henri Sivonen

Received on Friday, 6 July 2007 07:51:32 UTC