W3C home > Mailing lists > Public > public-html@w3.org > February 2009

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

From: Smylers <Smylers@stripey.com>
Date: Wed, 18 Feb 2009 17:22:36 +0000
To: HTML WG <public-html@w3.org>
Message-ID: <20090218172236.GA24462@stripey.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:31 GMT