NEW 92577
Place form reset action in the undo/redo stack
https://bugs.webkit.org/show_bug.cgi?id=92577
Summary Place form reset action in the undo/redo stack
Adrián Chaves Fernández
Reported 2012-07-28 06:58:34 PDT
While you can undo editing fields, to recover the previous values, once you click a reset button (button[type=reset] or input[type=reset]), you loose any change. This might lead to massive data loss if the reset button is activated by accident. It would be great if the reset action were stored in the undo/redo stack.
Attachments
Kent Tamura
Comment 1 2012-07-30 16:37:05 PDT
It sounds nice. We have a feature to save/restore form control state. See WebCore/html/FormController.{cpp.h}. It might be reusable for the undo/redo stack.
Note You need to log in before you can comment on or make changes to this bug.