[whatwg] Embedding Elements Should be Structured Inline-Level

Michel Fortin michel.fortin at michelf.com
Wed Mar 14 05:59:33 PDT 2007

Le 2007-03-14 à 1:23, Lachlan Hunt a écrit :

> Hi,
>   The spec currently defines most embedding elements (img, iframe,  
> embed, object, video and canvas) as strictly inline level and thus  
> only allows them to be used in contexts where strictly inline level  
> content may be used.
> I think these elements should be defined as structured inline-level  
> elements.  When used in block level contexts, they should represent  
> paragraphs.

You're right that it's often a little silly to have an image alone in  
its own paragraph. But maybe we could use <figure> for these cases:


Ok, this is not conformant with the current spec since it's missing a  
legend, but in my opinion it should be allowed.

Michel Fortin
michel.fortin at michelf.com

More information about the whatwg mailing list