Re: DOM 2 Views

On 4/12/10 10:52 PM, Jonas Sicking wrote:
> On Mon, Apr 12, 2010 at 4:14 AM, Anne van Kesteren<>  wrote:
>> On Mon, 12 Apr 2010 12:43:19 +0200, Olli Pettay<>
>> wrote:
>>> in 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.


Received on Monday, 12 April 2010 23:01:14 UTC