W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

Re: What is the status of window object and such?

From: Chris Moschini <cmoschini@myrealbox.com>
Date: Wed, 23 Jul 2003 14:48:17 -0400
To: bradp@microsoft.com
CC: www-dom@w3.org, zvelaja@visualfriendly.com, mkielar@go2.pl
Message-ID: <1058986097.b9e58400cmoschini@myrealbox.com>

> From: "Brad Pettit" <bradp@microsoft.com>
> The AbstractView object is accessible through the
> document, and the document is accessible through an
> AbstractView.
> http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/views.html

1) Agreed, though this text in the definition obscures what exactly a View is:

A document may have one or more "views" associated with it, e.g., a computed view on a document after applying a CSS stylesheet

Try to mend this with:

There is at most one viewport per canvas, but user agents may render to more than one canvas (i.e., provide different views of the same document).
- http://www.w3.org/TR/REC-CSS2/visuren.html

What then is a "View?" Does this mean there is in fact a Document, a connected set of Canvases, and for each Canvas an AbstractView and DocumentView? If so - where is the definition of Canvas?

2) This is stating the obvious but AbstractView has no definition besides its relationship to DocumentView (meaning basically, it is a sibling to Document). If AbstractView in fact represents the window object, shouldn't there be a "View" (presumably the implementation of "Abstract"View) and some properties underneath it, such as height and width?

-Chris "SoopahMan" Moschini
Received on Wednesday, 23 July 2003 14:48:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC