W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2010

DOM 2 Views

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Mon, 12 Apr 2010 13:43:19 +0300
Message-ID: <4BC2F947.5030809@helsinki.fi>
To: www-dom@w3.org, WebApps WG <public-webapps@w3.org>
Hi all,

in http://www.w3.org/Bugs/Public/show_bug.cgi?id=9336 there is a
proposal to "Remove concept of views" and move the property of
AbstractView to HTML5's Window and the property of DocumentView to

Pretty much everyone implements AbstractView and DocumentView [1][2] in 
some way and since those interfaces are trivial I don't quite see the
reason for the proposed change.

DOM 2 Views has one practical advantage. It allows other
specifications to refer to AbstractView (which is in practice the
Window object). That way other specifications don't need to refer to
unstable HTML5's Window.
AbstractView is used this way for example in DOM 3 Events.

So, I wonder what is the reason for proposed change?
The bug report certainly doesn't explain that.

Although it may sound a bit strange to keep D2V alive just
because of AbstractView, I see it pretty practical way
to allow other specifications to refer to Window without actually
taking in all the HTML5 baggage.


[2] http://trac.webkit.org/browser/trunk/WebCore/dom/Document.idl#L103
Received on Monday, 12 April 2010 10:43:53 UTC

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