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

Re: ACTION-103 Follow up on the about: scheme Registration

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 19 Sep 2009 01:28:48 +0200
Message-ID: <4AB417B0.8020300@lachy.id.au>
To: Krzysztof Maczyński <1981km@gmail.com>
Cc: public-html@w3.org
Krzysztof Maczyński wrote:
>> "about:blank" MUST return a resource of zero length, containing no
>> data, with the media type "text/html"
> This seems to be an invalid document for that MIME type. Either
> something should be put in (and something that's a Rec by the time it
> becomes an RFC) or the type changed to text/plain;charset=UTF-8. I
> believe the latter to be preferable.

It has to be done this way for compatibility, as scripts depend on 
browsers treating about:blank as an HTML document in quirks mode.

e.g. sites that use this:

   <iframe src="about:blank"></iframe>

And then add content to the document with scripts.

Lachlan Hunt - Opera Software
Received on Friday, 18 September 2009 23:29:29 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:57 UTC