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:47:19 -0800
Message-ID: <CABNRm627DXGdukkme3_cC-mYDH60EAthFp0UMoggEej1+DjgaQ@mail.gmail.com>
On Tue, Nov 8, 2011 at 1: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?


That seems expensive.

What should it do if the after-value doesn't match the current
> value when the transaction is reverted?
>

Hm... so the only way this could happen is if script assigned a value to
the value IDL attribute, so it's probably safe to say we should abort (i.e.
no restoration of the value)

- Ryosuke
Received on Tuesday, 8 November 2011 08:47:19 UTC

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