[whatwg] image captions

Le Wed, 28 Jun 2006 21:31:38 +0300, Clayton Scott  
<clayton.scott at gmail.com> a ?crit:

> No expanding of the <caption> element with a |for| attribute or nested
> inside any block element?
>
> <img id='photograph' src='...'>
> <caption for='photograph'>Photo of Foo herders courtesy of  
> Jimmy</caption>
>
> <caption for='myFavList'>My List of Favourite Things</caption>
> <ol id='myFavList'>
>   <li></li>
> </ol>
>
> <ol id='myFavList'>
>   <caption>My List of Favourite Things</caption>
>   <li></li>
> </ol>
>
>
>
> Clayton

Now that's a good idea too.

If the image caption "problem" is going to be solved it should be done  
based on your suggestion (extending the caption element with a |for|  
attribute), or by adding the |caption| attribute to the <img> element.  
Both provide same functionality, both are backwards compatible.

IMHO, very good!


-- 
http://www.robodesign.ro
ROBO Design - We bring you the future

Received on Wednesday, 28 June 2006 12:31:01 UTC