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

Re: Further update to Window Object 1.0, I think it's ready for first Working Draft

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 01 Apr 2006 00:54:27 -0800
Message-ID: <442E3FC3.1030404@sicking.cc>
To: Maciej Stachowiak <mjs@apple.com>
Cc: Ian Hickson <ian@hixie.ch>, Web APIs WG <public-webapi@w3.org>

Maciej Stachowiak wrote:
> 
> 
> On Mar 28, 2006, at 2:27 AM, Jonas Sicking wrote:
> 
>> Maciej Stachowiak wrote:
>>> Can you think of a particular UI innovation, however crazy, that  
>>> would benefit from a single browsing context presenting multiple  
>>> documents from its sequence at once?
>>
>> I believe we do something similar in Thunderbird when you attach a one 
>> or more HTML documents to a mail, we will display all the attachments 
>> togther with the main mail in a single view.
> 
> We do that in Mac OS X Mail too, but each attachment is effectively a 
> subframe, and so gets its own Window object. Does Thunderbird give all 
> the attachments a single Window object? (Does it even matter, since 
> scripting is presumably off for all email?)

I do actually think that we stick multiple attachments in the same 
window. However we might be doing that by merging the DOMs of the 
attachments though, so there is probably only one Document per Window.

> When we speak of sequence here we mean the session history of that 
> Window, in other words, would you want to display more than one document 
> from the session history at once, fully scriptable and interactive, and 
> using the same Window object? I don't think that can possibly work, 
> because window.document can't work right in both of them.

Ah, then I'm following you. I do think we can assume that there is a 
one-to-one relationship between documents and windows. Or rather, that 
documents have at the most one window and windows have exactly one document.

I can think of features where you'd want to present multiple documents 
in the same session history at once. For example a visual history 
navigation feature might show you all the documents in your history at 
once. However if these are to be interactive they would need to be given 
separate windows and separate global objects.

/ Jonas
Received on Saturday, 1 April 2006 08:52:51 GMT

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