W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: DOM 2 Views

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 13 Apr 2010 02:00:26 +0300
Message-ID: <4BC3A60A.1090904@helsinki.fi>
To: Jonas Sicking <jonas@sicking.cc>
CC: Anne van Kesteren <annevk@opera.com>, www-dom@w3.org, WebApps WG <public-webapps@w3.org>, Olli@pettay.fi
On 4/12/10 10:52 PM, Jonas Sicking wrote:
> On Mon, Apr 12, 2010 at 4:14 AM, Anne van Kesteren<annevk@opera.com>  wrote:
>> On Mon, 12 Apr 2010 12:43:19 +0200, Olli Pettay<Olli.Pettay@helsinki.fi>
>> wrote:
>>>
>>> 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
>>> HTMLDocument.
>>>
>>> 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.
>>
>> It removes the need to expose the interfaces on the global object. It
>> removes the suggested need to implement a views concept which we agreed
>> during the F2F was not something that was going to happen and does not work
>> very well with how the global and other objects have been extended in the
>> past decade.
>
> Yeah, I think the most important goal is to remove the idea that a
> Document could have several Views attached to it. One advantage of
> removing that idea is that we are free to expose layout related
> information directly on Node objects and Range objects.
>
> / Jonas
>


Nothing forces us to keep "support for several views" even if
we don't deprecate D2V.


-Olli
Received on Monday, 12 April 2010 23:01:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT