On Sunday 2010-06-27 04:59 +0200, Leif Halvard Silli wrote: > can you track down and put into the Differences document some data > about _when_ and _why_ HTML5 changed the content model of <object>? > > Example of the issue: > > <p> > <object type="image/gif" data="image"> > <p>Foo.</p> > </object> > </p> > > The above is legal in HTML4, but illegal in HTML5.I've already a bug to > get back the HTML4 content model: > http://www.w3.org/Bugs/Public/show_bug.cgi?id=9657 I think the HTML4 model was just a spec bug resulting from the use of DTDs to express the restrictions of the language. Why would you want <object> to let pages violate a whole bunch of the rules of the content model of the language? I could understand saying that you want to allow nested paragraphs in general. (It's not compatible with text/html-parsing, though.) But why would you want to allow nested paragraphs only when there is an object element between them? -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/Received on Sunday, 27 June 2010 03:53:02 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:10 GMT