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

Ryosuke Niwa rniwa at webkit.org
Tue Nov 8 08:39:58 PST 2011


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



More information about the whatwg mailing list