HTML-ISSUE-158 (object-content-model): TITLE: HTML4's content-model for <object> should continue [HTML 5 spec]

HTML-ISSUE-158 (object-content-model): TITLE: HTML4's content-model for <object> should continue [HTML 5 spec]

http://www.w3.org/html/wg/tracker/issues/158

Raised by: Sam Ruby
On product: HTML 5 spec

In XHTML1 and HTML4, the <object> element creates a new context, where the parent element is ignored when the content of object is validated.

This permits such constructs such as 

   <p>Paragraph 1 
         <object><p>Seemingly nested paragraph</p></object>
          Still paragraph 1</p>

In fact, the solution text to ISSUE-107 resulted that the editor inserted exactly such an example into the specification.

http://dev.w3.org/html5/spec/the-iframe-element.html#the-param-element 

http://www.w3.org/html/wg/tracker/issues/107

The change proposal for ISSUE-128 also identifies a compatibility-need for using <object> to avoid that <p> is autoclosed by <figure> in some parsers.

http://www.w3.org/html/wg/wiki/ChangeProposals/FigureInP

Associated bug reports:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9657
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9428

(issue raised on behalf of Leif Halvard Silli)

Received on Saturday, 22 January 2011 12:16:27 UTC