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

[whatwg] Automatic transaction should support changing the value of input/textarea

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Mon, 7 Nov 2011 21:13:07 -0800
Message-ID: <CABNRm63podLFZy1FuEEhPyhL9=YYw3yGow5D87X0ZBnFrOwDBg@mail.gmail.com>

It appears that automatic transaction should treat changing the value of
input and textarea as a "DOM change" because I can definitely see use cases
for scripts to modify the values of input/textarea in automatic
transactions and expect it be restored upon unapply/reapply.

Unfortunately, the current proposal doesn't support this because
input/textarea's value is only reflected in the shadow DOM in some UA
implementations and IDL attribute. Should we special case the value IDL
attribute of HTMLInputElement and HTMLTextAreaElement in UndoManager spec?

Ryosuke Niwa
Software Engineer
Google Inc.
Received on Monday, 7 November 2011 21:13:07 UTC

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