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: Tue, 8 Nov 2011 08:39:58 -0800
Message-ID: <CABNRm60bzkzvO9_WrXYHudCku=tboy3ahksi4B7p_dN3oyLn1w@mail.gmail.com>
On Tue, Nov 8, 2011 at 6:33 AM, Aryeh Gregor <ayg at aryeh.name> wrote:

> On Tue, Nov 8, 2011 at 4:48 AM, Jonas Sicking <jonas at sicking.cc> wrote:
> > Yup, that seems like the right solution. But we should specify exactly
> > what the UA should store. I.e. should it store the whole before/after
> > values? What should it do if the after-value doesn't match the current
> > value when the transaction is reverted?
>
> Changes to CharacterData all internally go through the "replace data"
> algorithm in DOM4:
>

The value of input and textarea elements isn't CharacterData. The default
value of textarea maybe stored as CharacterData but not the value.

- Ryosuke
Received on Tuesday, 8 November 2011 08:39:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:09 UTC