<figure><object> content model (detailed review of Semantics)

(This is part of my detailed review of the Semantics and structure of HTML  
elements section.)

The spec says about <object>:

    Content model:
       When used as the child of a figure element, or, when used as a
       figure fallback object: Zero or more param elements, followed by
       either zero or more block-level elements or a single object element,
       which is then considered to be a figure fallback object.
       Otherwise: Zero or more param elements, followed by inline-level
       content.

Why isn't inline-level content allowed when it is child of a figure (or  
when used as a figure fallback object)?

Compare the following snippets:

    <figure><object data=...>foo</object><legend>...</legend></figure>

    <figure><img src=... alt=foo><legend>...</legend></figure>

I consider those to be equivalent when the fallback is used, but currently  
the first is not allowed.

-- 
Simon Pieters
Opera Software

Received on Monday, 30 July 2007 10:38:18 UTC