<?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>21716</bug_id>
          
          <creation_ts>2008-10-17 14:24:26 -0700</creation_ts>
          <short_desc>webkit clears the input fields on pressing &apos;Enter&apos; key</short_desc>
          <delta_ts>2008-10-18 01:58:03 -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>Forms</component>
          <version>525.x (Safari 3.1)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9756</dup_id>
          
          <bug_file_loc>http://oit.wvu.edu/training/classmat/js/javascript/examples/windows/popup4.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jasneet</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95775</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2008-10-17 14:24:26 -0700</bug_when>
    <thetext>I Steps:
Go to http://oit.wvu.edu/training/classmat/js/javascript/examples/windows/popup4.html
Enter name and color and press the &apos;Enter&apos; key

II Issue:
on pressing enter key the input entered in textfield disappears

III Conclusion:
When you hit &apos;Enter&apos;, webkit loads a new URL which consists of the base url plus the two elements of the form and their values. FF and IE do not load a new URL.

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested: 37604</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95776</commentid>
    <comment_count>1</comment_count>
      <attachid>24462</attachid>
    <who name="jasneet">jasneet</who>
    <bug_when>2008-10-17 14:26:05 -0700</bug_when>
    <thetext>Created attachment 24462
reduced testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95856</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-10-18 01:58:03 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 9756 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24462</attachid>
            <date>2008-10-17 14:26:05 -0700</date>
            <delta_ts>2008-10-17 14:26:05 -0700</delta_ts>
            <desc>reduced testcase</desc>
            <filename>two_form_element.html</filename>
            <type>text/html</type>
            <size>180</size>
            <attacher name="jasneet">jasneet</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8Ym9keT4NCiAgPGZvcm0+DQogICAgWW91ciBOYW1lOjxpbnB1dCBuYW1lPSJOYW1l
IiBzaXplPSIyMCIgdHlwZT0idGV4dCI+DQogICAgWW91ciBGYXZvcml0ZSBDb2xvcjo8aW5wdXQg
bmFtZT0iQ29sb3IiIHNpemU9IjIwIiB0eXBlPSJ0ZXh0Ij4NCiAgPC9mb3JtPg0KPC9ib2R5Pg0K
PC9odG1sPg0K
</data>

          </attachment>
      

    </bug>

</bugzilla>