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

Re: DOM 2 Views

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 12 Apr 2010 12:52:03 -0700
Message-ID: <g2x63df84f1004121252q40bc1229rc98da89e17d27a12@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: www-dom@w3.org, WebApps WG <public-webapps@w3.org>, Olli Pettay <Olli.Pettay@helsinki.fi>, Olli@pettay.fi
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
Received on Monday, 12 April 2010 19:53:05 GMT

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