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.


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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:42 UTC