Re: ISSUE-4: Versioning, namespace URIs and MIME types

Boris Zbarsky writes:

> Robert J Burns wrote:
> 
> > if a DOM/Script author simply lets the UA handle things for them,
> > then the scripting is not complicated at all. The browser will
> > determine the proper handling of the element (and 'img' element or
> > any other element).
> 
> So what you're saying is that the right way to handle <img> with
> script for document authors is to create documents that they know are
> non-conformant in all languages involved (and which might not even be
> serializable if the language happens to be HTML5, not XHTML5 or
> XHTML2), and then to assume that UA error handling will "do the right
> thing"?

I thought that Rob was actually pointing out that browsers can
distinguish <img> in a valid XHTML 5 document from <img> in a valid
XHTML 2 document by whether there is an alt attribute or child text --
and therefore that authors could write either, and browsers could just
work out what's what and behave accordingly.

> That seems like a highly undesirable situation to me, honestly.

Yeah.

Smylers

Received on Wednesday, 18 February 2009 17:23:18 UTC