W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Embedding Elements Should be Structured Inline-Level

From: Michel Fortin <michel.fortin@michelf.com>
Date: Wed, 14 Mar 2007 08:59:33 -0400
Message-ID: <423BA76B-7891-4881-B474-FC45B5E7D783@michelf.com>
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
Received on Wednesday, 14 March 2007 05:59:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC