- From: Ryosuke Niwa <rniwa@webkit.org>
- Date: Sun, 27 Nov 2011 22:22:22 -0800
On Sun, Nov 27, 2011 at 10:13 PM, Jonas Sicking <jonas at sicking.cc> wrote: > Another option is to say that if the textarea value is any other value > than the "after" value when a automatic transaction is undone, it > doesn't do anything. Yeah, I've thought about this as well. However, the UA has to store the original data anyway because we can have scenarios like: 1. input.value is set to "foo" 2. Script runs input.value = "hi" inside an automatic transaction 3. Another script modifies it to "foo bar" 4. Yet another script modifies it to "hi" At this point, input.value is "hi" and matches the "after" value in step 2. However, natively undoing the transaction won't get us anywhere. Or did I misunderstand something? - Ryosuke
Received on Sunday, 27 November 2011 22:22:22 UTC