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

Re: Registering the about: URI scheme

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 26 Jan 2009 22:59:40 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0901262258060.952@hixie.dreamhostps.com>

On Mon, 26 Jan 2009, Boris Zbarsky wrote:
> In a browser, the result of loading about:blank must certainly be a 
> Document object which allows document.write() to be called on it.

That's somewhat separate from what the contents of about:blank are, given 
the current definitions in the spec.

> I'd bet money that not having a document.body would also break web 
> pages.

The empty string results in a document where document.body is non-null per 
the current parser spec.

The main difference I see is the mode (quirks vs no-quirks) that should be 
used by default. My assumption has been that we need a quirks-mode 
about:blank (also handled by the empty string).

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 26 January 2009 23:00:21 UTC

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