<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>92577</bug_id>
          
          <creation_ts>2012-07-28 06:58:34 -0700</creation_ts>
          <short_desc>Place form reset action in the undo/redo stack</short_desc>
          <delta_ts>2016-04-11 01:28:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrián Chaves Fernández">adriyetichaves</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>enrica</cc>
    
    <cc>jonlee</cc>
    
    <cc>rniwa</cc>
    
    <cc>sukolsak</cc>
    
    <cc>tkent</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>681413</commentid>
    <comment_count>0</comment_count>
    <who name="Adrián Chaves Fernández">adriyetichaves</who>
    <bug_when>2012-07-28 06:58:34 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>682515</commentid>
    <comment_count>1</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-07-30 16:37:05 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>