W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Fixing undo on the Web - UndoManager and Transaction

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 31 Aug 2011 09:56:29 -0700
Message-ID: <CA+c2ei8ZLn=EXbmdAb8m8ouwpjraCjmdH=dO-ugawCoOpyOBmA@mail.gmail.com>
On Tue, Aug 30, 2011 at 10:49 PM, Anne van Kesteren <annevk at opera.com> wrote:
> On Tue, 30 Aug 2011 21:04:09 +0200, Ryosuke Niwa <rniwa at webkit.org> wrote:
>>
>> I've updated my document: https://rniwa.com/editing/undomanager.html
>>
>> I clarified which object it should return and also moved undoManager idl
>> attribute from Element/Document to Node as we have agreed.
>
> I missed this agreement. In DOM Core we try to avoid putting things on Node
> when it only needs to be available on a few node types. Does it make sense
> for this to be exposed on Comment, ProcessingInstruction, Text,
> DocumentType, etc. now?
>
> If it does indeed make sense the non-normative text also needs to be updated
> as it still talks about element and document.

Makes sense to me. Having .undoManager on Element and Document seems fine.

/ Jonas
Received on Wednesday, 31 August 2011 09:56:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC