ISSUE-65 - Public View

Should Window spec add parentWindow property to documents?

State:
CLOSED
Product:
Window
Raised by:
Maciej Stachowiak
Opened on:
2006-04-04
Description:
Window Object 1.0 calls for documents to implement the DocumentWindow interface, which inherits 
from AbstractView, and therefore gives a way to get the Window (but as an AbstractView) via the 
defaultView property. However, IE doesn't implement this; instead it has a parentWindow property 
which gets you the document's window object (*not* the parent document's window object).

Current implementation state is as follows:

             parentWindow    defaultView
IE                  Yes                  No
Firefox          No                   Yes
Safari            No                  Wrong
Opera           Yes                   Yes

Options would be:

1) forget about defaultView, just have parentWindow
2) don't add parentWindow
3) keep both

I favor #3.

Note: Some of these links may be accessible only to W3C Members.

Related emails:
  1. ISSUE-65: Should Window spec add parentWindow property to documents? (from dean+cgi@w3.org on 2006-04-04)
  2. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from ian@hixie.ch on 2006-04-04)
  3. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from jonas@sicking.cc on 2006-04-05)
  4. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from mjs@apple.com on 2006-04-05)
  5. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from jonas@sicking.cc on 2006-04-05)
  6. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from annevk@opera.com on 2006-04-05)
  7. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from jonas@sicking.cc on 2006-04-05)
  8. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from mjs@apple.com on 2006-04-05)
  9. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from ian@hixie.ch on 2006-04-05)
  10. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from annevk@opera.com on 2006-04-06)
  11. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from jonas@sicking.cc on 2006-04-06)
  12. Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from ian@hixie.ch on 2006-04-06)
  13. RESOLUTION? Re: ISSUE-65: Should Window spec add parentWindow property to documents? (from mjs@apple.com on 2006-04-06)
  14. Minutes, face to face meeting (from chaals@opera.com on 2006-05-15)

Related notes:

No additional notes.