W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: ISSUE-66: should Documents that aren\'t being presented be required to have a null defaultView?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 05 Apr 2006 19:34:18 -0500
Message-ID: <4434620A.2080206@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: Maciej Stachowiak <mjs@apple.com>, Jonas Sicking <jonas@sicking.cc>, Web APIs WG <public-webapi@w3.org>

Ian Hickson wrote:
>> 3) Forbid any non-presented Document to implement DocumentWindow (seems too
>> restrictive).
> 
> I am strongly in favour of 3. If we don't do 3, we're going to have to 
> require a whole heck more than 1 -- we're going to have to special case 
> every single API that requires a rendering context.

What happens when a document goes from "presented" to "non-presented" or vice versa?

And note that even if we disallow such transitions doing what you propose would 
require that all document creations know whether the document is going to be 
presented.....  This could be a pretty heavy burden in some cases.

-Boris
Received on Thursday, 6 April 2006 00:34:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT