<?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>64733</bug_id>
          
          <creation_ts>2011-07-18 10:53:13 -0700</creation_ts>
          <short_desc>Forms with display:none on the submit button do not get submitted on enter</short_desc>
          <delta_ts>2016-12-05 06:52:56 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>39021</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Rachel Blum">groby</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>arv</cc>
    
    <cc>darin</cc>
    
    <cc>dglazkov</cc>
    
    <cc>kaustubh.ra</cc>
    
    <cc>ojan</cc>
    
    <cc>rniwa</cc>
    
    <cc>robertknight</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>438572</commentid>
    <comment_count>0</comment_count>
    <who name="Rachel Blum">groby</who>
    <bug_when>2011-07-18 10:53:13 -0700</bug_when>
    <thetext>1. Create a form with a hidden (display:none;) submit button
2. Press return on a form field to submit the form
3. Form does not submit 


See http://jsfiddle.net/B59rV/2/ for a repro case.

Verified against nightly r91186</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>438711</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-07-18 14:15:56 -0700</bug_when>
    <thetext>Duplicate of bug 45224? The history of that bug is super confusing though - it was filed in Bugzilla without any details, but the related chromium bug kept changing beneath it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>439255</commentid>
    <comment_count>2</comment_count>
    <who name="Rachel Blum">groby</who>
    <bug_when>2011-07-19 10:47:51 -0700</bug_when>
    <thetext>Looks similar to bug 45224, yes, but it&apos;s definitely working in other browsers.

All tests on OSX 10.6.8

FF 5.0: PASS 
Opera 11.50(b1074): PASS

Webkit nightly (r91186): FAIL
Safari5.0.5(6533.21.1): FAIL 
Chrome 12.0.742.122: FAIL

The related bug in Chromium is http://crbug.com/89586 

reduced testcase: http://jsfiddle.net/groby/47ALP/3/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462088</commentid>
    <comment_count>3</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-05 03:03:08 -0700</bug_when>
    <thetext>Just wanted to know is this required as per the specs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462112</commentid>
    <comment_count>4</comment_count>
      <attachid>106322</attachid>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-05 04:51:02 -0700</bug_when>
    <thetext>Created attachment 106322
Patch

Ryosuke, can u review this patch ? There was extra check for renderer() on submit button which can be ignored in display:none case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462217</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-09-05 12:11:35 -0700</bug_when>
    <thetext>Kaustubh, could you please follow the history of the renderer check in svn to see why it was added? The check certainly looks like it&apos;s intentional, not &quot;extra&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462241</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-05 13:19:42 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Kaustubh, could you please follow the history of the renderer check in svn to see why it was added? The check certainly looks like it&apos;s intentional, not &quot;extra&quot;.

Two changesets touched that line:
http://trac.webkit.org/changeset/59173
http://trac.webkit.org/changeset/5367

And the latter is the one that introduced renderer check.  As far as I can tell the check was introduced because the the code started calling element-&gt;renderer()-&gt;absolutePosition(x,y); and static_cast&lt;QButton *&gt;(static_cast&lt;RenderWidget *&gt;(element-&gt;renderer())-&gt;widget())-&gt;simulateClick();

But given that the test passes, dispatchSimulatedClick doesn&apos;t appear to be dependent on renderer at this point.  So I&apos;d say this fix is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462243</commentid>
    <comment_count>7</comment_count>
      <attachid>106322</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-05 13:24:44 -0700</bug_when>
    <thetext>Comment on attachment 106322
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=106322&amp;action=review

r- due to various nits.

&gt; Source/WebCore/ChangeLog:4
&gt; +        on enter.

Nit: it seems like &quot;on enter&quot; can hit on the previous line.

&gt; Source/WebCore/ChangeLog:9
&gt; +        Removed check for render() on submit button. Even if submit button has

Nit: s/render/renderer/

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:3
&gt; +    &lt;script&gt;

Nit: I don&apos;t think we normally indent script element or the actual script like this.

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:18
&gt; +&lt;body onload=&quot;test()&quot;&gt;

Do we really need to wait until the page is loaded?  Can&apos;t we just put script element below the form element and call submit?

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:19
&gt; +    &lt;form onsubmit=&quot;log(&apos;Test Passed&apos;); return false;&quot;&gt;

Nit: We normally just print &quot;PASS&quot; instead of &quot;Test Passed&quot;.

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:21
&gt; +        &lt;input id=&quot;txtbox1&quot;/&gt;

Nit: Please don&apos;t use abbreviations such as txt.

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:22
&gt; +        &lt;input id=&quot;txtbox2&quot;/&gt;

Nit: Why do we need to have two input elements?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462373</commentid>
    <comment_count>8</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-05 23:18:28 -0700</bug_when>
    <thetext>Hi Alexy, 
Adding to Ryosuke&apos;s comments, this check for renderer() is only to check if the submit button is displayed or not. The earlier check if (formElement-&gt;isSuccessfulSubmitButton()) does check if the submit button is there or not. There might be cases where user just want to show the form with submit action but dont want to show typical submit button. In that case the he can add a button with display:none which will destroy its renderer. And he wont be able to submit form. Removing this check will support as per the bug requirement.

Also from the specs http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#implicit-submission
on the last line it says - &quot;If the form has no submit button, then the implicit submission mechanism must just submit the form element from the form element itself.&quot;

(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; Kaustubh, could you please follow the history of the renderer check in svn to see why it was added? The check certainly looks like it&apos;s intentional, not &quot;extra&quot;.
&gt; 
&gt; Two changesets touched that line:
&gt; http://trac.webkit.org/changeset/59173
&gt; http://trac.webkit.org/changeset/5367
&gt; 
&gt; And the latter is the one that introduced renderer check.  As far as I can tell the check was introduced because the the code started calling element-&gt;renderer()-&gt;absolutePosition(x,y); and static_cast&lt;QButton *&gt;(static_cast&lt;RenderWidget *&gt;(element-&gt;renderer())-&gt;widget())-&gt;simulateClick();
&gt; 
&gt; But given that the test passes, dispatchSimulatedClick doesn&apos;t appear to be dependent on renderer at this point.  So I&apos;d say this fix is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462384</commentid>
    <comment_count>9</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-05 23:51:12 -0700</bug_when>
    <thetext>&gt; &gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:22
&gt; &gt; +        &lt;input id=&quot;txtbox2&quot;/&gt;
&gt; 
&gt; Nit: Why do we need to have two input elements?

The reason being the issue is not reproducible for only one input box element inside form. I m trying to figure out why so? Will update soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462390</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-09-06 00:09:45 -0700</bug_when>
    <thetext>&gt; And the latter is the one that introduced renderer check.  As far as I can tell the check was introduced because the the code started calling element-&gt;renderer()-&gt;absolutePosition(x,y); and static_cast&lt;QButton *&gt;(static_cast&lt;RenderWidget *&gt;(element-&gt;renderer())-&gt;widget())-&gt;simulateClick();

Thanks, that makes sense.

The key to going forward with this is to check IE. Per Dimitri, this is expected behavior since it matches IE. I see that http://crbug.com/89586 claims identical behavior in IE and Firefox, but did we confirm that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462403</commentid>
    <comment_count>11</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-06 00:46:38 -0700</bug_when>
    <thetext>For Single input box, there is check added in http://trac.webkit.org/changeset/58520. And which makes single input box forms to be submitted on enter. (Use case would be &quot;Search&quot; field )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462448</commentid>
    <comment_count>12</comment_count>
      <attachid>106402</attachid>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-06 03:28:18 -0700</bug_when>
    <thetext>Created attachment 106402
Updated Patch

Updated patch with Ryosuke&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462546</commentid>
    <comment_count>13</comment_count>
      <attachid>106402</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 08:35:25 -0700</bug_when>
    <thetext>Comment on attachment 106402
Updated Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=106402&amp;action=review

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:1
&gt; +&lt;html&gt;

Nit: is there a reason we don&apos;t have a DOCTYPE here? As far as I can tell, the bug reproduces on both quirks and strict modes.

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:4
&gt; +    &lt;form onsubmit=&quot;log(&apos;PASS&apos;); return false;&quot;&gt;
&gt; +        This tests that hitting the enter key on a input box element with hidden submit button submits the form.&lt;br&gt;

Nit: I don&apos;t think there&apos;s need for indenting elements like this.

The reason I advocate for not-indenting text/elements is that indentation takes space. Since the &quot;svn up&quot; time is constantly complained about, we should try to minimize the file size as much.

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:11
&gt; +    var textbox2 = document.getElementById(&apos;textbox2&apos;);

Nit: I don&apos;t think there&apos;s need for indenting scripts.

&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:18
&gt; +    function log(msg) {
&gt; +    var console = document.getElementById(&apos;console&apos;);

If you just outdent function log(msg) { and }, then the function definition will be properly indented as in:
function log(msg) {
    var console = document.getElementById(&apos;console&apos;);
    console.innerHTML = console.innerHTML + msg + &quot;&lt;br&gt;&quot;;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462547</commentid>
    <comment_count>14</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 08:36:22 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; &gt; &gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:22
&gt; &gt; &gt; +        &lt;input id=&quot;txtbox2&quot;/&gt;
&gt; &gt; 
&gt; &gt; Nit: Why do we need to have two input elements?
&gt; 
&gt; The reason being the issue is not reproducible for only one input box element inside form. I m trying to figure out why so? Will update soon.

THAT is surely odd.  Did you figure out why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462549</commentid>
    <comment_count>15</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 08:37:01 -0700</bug_when>
    <thetext>(In reply to comment #10) 
&gt; The key to going forward with this is to check IE. Per Dimitri, this is expected behavior since it matches IE. I see that http://crbug.com/89586 claims identical behavior in IE and Firefox, but did we confirm that?

New behavior matches Firefox 3.6 at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462573</commentid>
    <comment_count>16</comment_count>
      <attachid>106402</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-09-06 09:02:51 -0700</bug_when>
    <thetext>Comment on attachment 106402
Updated Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=106402&amp;action=review

&gt; Source/WebCore/html/HTMLFormElement.cpp:190
&gt;          if (formElement-&gt;isSuccessfulSubmitButton()) {
&gt; -            if (formElement-&gt;renderer()) {
&gt; -                formElement-&gt;dispatchSimulatedClick(event);
&gt; -                return;
&gt; -            }
&gt; +            formElement-&gt;dispatchSimulatedClick(event);
&gt; +            return;
&gt;          } else if (formElement-&gt;canTriggerImplicitSubmission())

In the WebKit project our coding style is to not do else after return. So this patch should remove the else and put the if following it on a new line.

&gt; LayoutTests/ChangeLog:11
&gt; +        * fast/forms/hidden-submit-button-form-action-expected.txt: Added.

&quot;hidden&quot; is not a good name for &quot;display: none&quot; since CSS also has &quot;visibility: hidden&quot;

So that’s not a good name for this test.

&gt;&gt; LayoutTests/fast/forms/hidden-submit-button-form-action.html:4
&gt;&gt; +        This tests that hitting the enter key on a input box element with hidden submit button submits the form.&lt;br&gt;
&gt; 
&gt; Nit: I don&apos;t think there&apos;s need for indenting elements like this.
&gt; 
&gt; The reason I advocate for not-indenting text/elements is that indentation takes space. Since the &quot;svn up&quot; time is constantly complained about, we should try to minimize the file size as much.

I don’t want to start an argument about something irrelevant, but I don’t think we should try to economize on bytes by not indenting. The extra characters from indenting are not a factor in &quot;svn up&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462622</commentid>
    <comment_count>17</comment_count>
      <attachid>106402</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-09-06 10:22:31 -0700</bug_when>
    <thetext>Comment on attachment 106402
Updated Patch

Talked to Darin in person, and canceling r+ for now - until IE behavior is checked. Please feel free to land with Darin&apos;s comments addressed if IE agrees with the new behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462637</commentid>
    <comment_count>18</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 10:40:15 -0700</bug_when>
    <thetext>The current behavior matches that of MSIE 9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462674</commentid>
    <comment_count>19</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-09-06 11:12:11 -0700</bug_when>
    <thetext>Given that the combined market share of IE and WebKit browsers is much higher than that of Gecko (Firefox), it&apos;s likely best for compatibility to WONTFIX this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462773</commentid>
    <comment_count>20</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-06 13:02:38 -0700</bug_when>
    <thetext>&gt; &gt; The reason being the issue is not reproducible for only one input box element inside form. I m trying to figure out why so? Will update soon.
&gt; 
&gt; THAT is surely odd.  Did you figure out why?

Ryosuke, there is a change in which it checks for the 
} else if (formElement-&gt;canTriggerImplicitSubmission()) 
    ++submissionTriggerCount; 
} 
if (fromImplicitSubmissionTrigger &amp;&amp; submissionTriggerCount == 1) 
 prepareSubmit(event); 

This is why when there is only one input box element, submissionTriggerCount become 1 and it triggers prepareSubmit(event) which cause the use case to work with only one input box. This is designed keeping &quot;Searchbox&quot; in mind, where u can have submit action on enter key press. Also I will take care of indentation as well just to keep code as simple as possible. 

From the specs mentioned in &quot;http://www.w3.org/TR/html5/association-of-controls-and-forms.html#implicit-submission&quot; I think the form submission should be possible even if there is no active submit button. The spec clearly mentions if there is a submit button in the form&apos;s tree order (may it be displayed or not is upto developer&apos;s choice) the default action on enter should be submitting the form. 
So, IMHO, i think this bug is valid and should be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462787</commentid>
    <comment_count>21</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 13:13:30 -0700</bug_when>
    <thetext>(In reply to comment #20)
&gt; Ryosuke, there is a change in which it checks for the 
&gt; } else if (formElement-&gt;canTriggerImplicitSubmission()) 
&gt;     ++submissionTriggerCount; 
&gt; } 
&gt; if (fromImplicitSubmissionTrigger &amp;&amp; submissionTriggerCount == 1) 
&gt;  prepareSubmit(event); 
&gt; 
&gt; This is why when there is only one input box element, submissionTriggerCount become 1 and it triggers prepareSubmit(event) which cause the use case to work with only one input box. This is designed keeping &quot;Searchbox&quot; in mind, where u can have submit action on enter key press. Also I will take care of indentation as well just to keep code as simple as possible. 

I see. Very interesting design.  It&apos;ll be nice to mention that comment in the change log.

&gt; From the specs mentioned in &quot;http://www.w3.org/TR/html5/association-of-controls-and-forms.html#implicit-submission&quot; I think the form submission should be possible even if there is no active submit button. The spec clearly mentions if there is a submit button in the form&apos;s tree order (may it be displayed or not is upto developer&apos;s choice) the default action on enter should be submitting the form. 

I agree that fixing this bug seems logical but I&apos;m also worried about the Web compatibility as Alexey pointed out.

+ojan, +arv since they tend to know about these compat. issues better than me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463021</commentid>
    <comment_count>22</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-09-06 17:47:16 -0700</bug_when>
    <thetext>I&apos;m inclined to agree with Alexey. Eventually we want all browsers to agree on a behavior though. We need more data:
1. Are there sites that we know break due to this bug? That would provide evidence for matching FF/Opera.
2. What is the IE8 behavior? IE9 is a totally different engine and much of the existing web is written towards IE6-8.

Assuming IE6-9 and WebKit agree, we should do the following:
1. File Mozilla/Opera bugs to change behavior.
2. Email whatwg suggesting that the spec be changed.

If IE6-8 have the FF/Opera behavior it&apos;s less clear to me what the best path forward is. Still a whatwg email is probably in order to make sure all browser vendors agree on a path forward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463029</commentid>
    <comment_count>23</comment_count>
      <attachid>106527</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 18:05:30 -0700</bug_when>
    <thetext>Created attachment 106527
test

I&apos;m attaching the test because I&apos;ve got tired of extracting it every time I test it on new browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463040</commentid>
    <comment_count>24</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-06 18:23:27 -0700</bug_when>
    <thetext>(In reply to comment #22)
&gt; 2. What is the IE8 behavior? IE9 is a totally different engine and much of the existing web is written towards IE6-8.

I&apos;ve checked behaviors of IE6, IE7, and IE8.  They all agree with IE9 on both quirks and strict modes.  So there&apos;s a significant compat. implications if we change our behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>465541</commentid>
    <comment_count>25</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-12 02:44:27 -0700</bug_when>
    <thetext>I have started a thread at whatwg.org about this. http://forums.whatwg.org/bb3/viewtopic.php?f=1&amp;t=4718</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472716</commentid>
    <comment_count>26</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-23 21:26:18 -0700</bug_when>
    <thetext>Whatwg.org discussion - http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-September/033281.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472773</commentid>
    <comment_count>27</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-24 09:57:48 -0700</bug_when>
    <thetext>Upon further investigation, I found that:

WebKit does implicit submission in the following conditions:
One text fields
Two text fields
One text field with one visible submit button
Two text fields with one visible submit button
Two text fields with one visibility:hidden submit button
One text field with one display:none submit button

However, it doesn&apos;t submit when we have:
Two text fields with one display:none submit button

Given that WebKit implicitly submits form even in the presence of a visible submit button or an invisible submit button (visibility: hidden, or display: none with exactly one text field), I don&apos;t see why we should avoid implicit submission only when there are multiple form controls and a display:none submit button.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472782</commentid>
    <comment_count>28</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-09-24 11:42:46 -0700</bug_when>
    <thetext>I’m curious: Which of those behaviors are different from IE?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472793</commentid>
    <comment_count>29</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-24 13:35:35 -0700</bug_when>
    <thetext>(In reply to comment #28)
&gt; I’m curious: Which of those behaviors are different from IE?

IE does implicit submission in the following conditions:
* One text field
* One text field with one visible submit button
* One text field with one display:none submit button
* Two text fields with one visible submit button

It does not do implicit submissio in the following conditions:

* Two text fields
* Two text fields with one visibility:hidden submit button
* Two text fields with one display:none submit button

Basically, IE only does implicit submission when there is exactly one text field (you can have checkbox, hidden, etc...) or there is a visible button (i.e. not diplay: none nor visibility: hidden).

I&apos;d say IE&apos;s behavior is much saner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472795</commentid>
    <comment_count>30</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-24 13:41:58 -0700</bug_when>
    <thetext>Firefox 5 does implicit submission in the following conditions:
* One text field
* One text field with one visible submit button
* One text field with one display:none submit button
* Two text fields with one visible submit button
* Two text fields with one visibility:hidden submit button
* Two text fields with one display:none submit button

It does not do implicit submissio in the following conditions:

* Two text fields

In summary, Firefox special cases one text field (can have checkbox, hidden, etc...) like MSIE and requires a submit button with more than two text fields regardless of presence of visibility: hidden or display: none.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472803</commentid>
    <comment_count>31</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-24 13:56:30 -0700</bug_when>
    <thetext>One correction. WebKit does not implicitly submit when there are two text fields without any submit buttons.

So WebKit matches IE quite well except:
* Two text fields with one visibility:hidden submit button

Basically IE treats visibility: hidden like display: none for the purpose of determining whether a submit button is visible or not. This seems reasonable given a user won&apos;t be able to see a submit button with visibility: hidden.

Alternatively we can change our behavior and match Firefox (and possibily Opeara).

Given the market share of Trident and WebKit combined, I&apos;m more inclined to prefer the former option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472857</commentid>
    <comment_count>32</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-09-24 22:55:22 -0700</bug_when>
    <thetext>(In reply to comment #31)
&gt; One correction. WebKit does not implicitly submit when there are two text fields without any submit buttons.
&gt; 
&gt; So WebKit matches IE quite well except:
&gt; * Two text fields with one visibility:hidden submit button
&gt; 
&gt; Basically IE treats visibility: hidden like display: none for the purpose of determining whether a submit button is visible or not. This seems reasonable given a user won&apos;t be able to see a submit button with visibility: hidden.
&gt; 
&gt; Alternatively we can change our behavior and match Firefox (and possibily Opeara).
&gt; 

Just to add more analysis
Opera - Does Implicit submission in following cases -
* One text field
* One text field with one visible submit button
* One text field with one display:none submit button
* Two text fields with one visible submit button
* Two text fields with one visibility:hidden submit button
* Two text fields with one display:none submit button

Only in following case it does not -
* Two text fields

&gt; Given the market share of Trident and WebKit combined, I&apos;m more inclined to prefer the former option.

http://www.w3schools.com/browsers/browsers_stats.asp
Considering Increasing share of Firefox (more than 40%) and decreasing share of IE (less than 25%) &amp; also for Mobiles &amp; Tablets there is Opera Mini which is increasing in use. IMHO we can match compliance with FF &amp; Opera &amp; also the specs which clearly allows to implicitly submit without respecting visibility/display of submit button.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472860</commentid>
    <comment_count>33</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-09-24 23:28:26 -0700</bug_when>
    <thetext>&gt; http://www.w3schools.com/browsers/browsers_stats.asp
&gt; Considering Increasing share of Firefox (more than 40%) and decreasing share of IE (less than 25%) &amp; also for Mobiles &amp; Tablets there is Opera Mini which is increasing in use. 

This site only has data about its own users. See &lt;http://www.netmarketshare.com/browser-market-share.aspx?qprid=1&amp;qpcustomb=0&gt; for more balanced data. IE and WebKit browsers have roughly 75% share, and growing.

Investigating Opera behavior in particular is not very interesting in compatibility studies. Besides low market share, Opera has many site specific hacks, which can mask compatibility risks from following its behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480845</commentid>
    <comment_count>34</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-10-09 23:46:41 -0700</bug_when>
    <thetext>Just reopening the bug to conclude. Should we mark this as WONTFIX or can this be fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518555</commentid>
    <comment_count>35</comment_count>
      <attachid>106402</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-09 14:57:45 -0800</bug_when>
    <thetext>Comment on attachment 106402
Updated Patch

What&apos;s the status of this fix?  It looks like it never got set r?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518562</commentid>
    <comment_count>36</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-09 15:07:44 -0800</bug_when>
    <thetext>Given that both IE and WebKit have been disabling implicit form submission for years when the button has display: none, I don&apos;t think we can change our behavior here.

Please reopen the bug if and only if you find an empirical evidence that this change improves the Web compatibility.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256293</commentid>
    <comment_count>37</comment_count>
    <who name="Robert Knight">robertknight</who>
    <bug_when>2016-12-05 06:52:56 -0800</bug_when>
    <thetext>This issue was fixed in Chrome in Feb 2014 citing web compatibility, although no affected sites are explicitly named - https://bugs.chromium.org/p/chromium/issues/detail?id=89586

Since this behavior now differs from both Firefox and Chrome, would you reconsider re-opening this?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>106322</attachid>
            <date>2011-09-05 04:51:02 -0700</date>
            <delta_ts>2011-09-06 03:28:18 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>3317</size>
            <attacher name="Kaustubh Atrawalkar">kaustubh.ra</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDk0NTI0KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTkgQEAKKzIwMTEtMDktMDUgIEthdXN0dWJo
IEF0cmF3YWxrYXIgIDxrYXVzdHViaEBtb3Rvcm9sYS5jb20+CisKKyAgICAgICAgRm9ybXMgd2l0
aCBkaXNwbGF5Om5vbmUgb24gdGhlIHN1Ym1pdCBidXR0b24gZG8gbm90IGdldCBzdWJtaXR0ZWQK
KyAgICAgICAgb24gZW50ZXIuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3df
YnVnLmNnaT9pZD02NDczMworCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgor
CisgICAgICAgIFJlbW92ZWQgY2hlY2sgZm9yIHJlbmRlcigpIG9uIHN1Ym1pdCBidXR0b24uIEV2
ZW4gaWYgc3VibWl0IGJ1dHRvbiBoYXMKKyAgICAgICAgZGlzcGxheTpub25lIGZvcm0gc2hvdWxk
IGJlIHN1Ym1pdHRlZC4KKworICAgICAgICBUZXN0OiBmYXN0L2Zvcm1zL2hpZGRlbi1zdWJtaXQt
YnV0dG9uLWZvcm0tYWN0aW9uLmh0bWwKKworICAgICAgICAqIGh0bWwvSFRNTEZvcm1FbGVtZW50
LmNwcDoKKyAgICAgICAgKFdlYkNvcmU6OkhUTUxGb3JtRWxlbWVudDo6c3VibWl0SW1wbGljaXRs
eSk6CisKIDIwMTEtMDktMDUgIEthdXN0dWJoIEF0cmF3YWxrYXIgIDxrYXVzdHViaEBtb3Rvcm9s
YS5jb20+CiAKICAg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ImNvbnNvbGUiPjwvZGl2PgorPC9ib2R5
PgorPC9odG1sPgo=
</data>
<flag name="review"
          id="102722"
          type_id="1"
          status="-"
          setter="rniwa"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>106402</attachid>
            <date>2011-09-06 03:28:18 -0700</date>
            <delta_ts>2011-12-09 14:57:45 -0800</delta_ts>
            <desc>Updated Patch</desc>
            <filename>patch3.txt</filename>
            <type>text/plain</type>
            <size>4031</size>
            <attacher name="Kaustubh Atrawalkar">kaustubh.ra</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDk0NTU4KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTggQEAKKzIwMTEtMDktMDYgIEthdXN0dWJo
IEF0cmF3YWxrYXIgIDxrYXVzdHViaEBtb3Rvcm9sYS5jb20+CisKKyAgICAgICAgRm9ybXMgd2l0
aCBkaXNwbGF5Om5vbmUgb24gdGhlIHN1Ym1pdCBidXR0b24gZG8gbm90IGdldCBzdWJtaXR0ZWQg
b24gZW50ZXIKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lk
PTY0NzMzCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAg
UmVtb3ZlZCBjaGVjayBmb3IgcmVuZGVyZXIoKSBvbiBzdWJtaXQgYnV0dG9uLiBFdmVuIGlmIHN1
Ym1pdCBidXR0b24gaGFzCisgICAgICAgIGRpc3BsYXk6bm9uZSBmb3JtIHNob3VsZCBiZSBzdWJ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gpOworICAgICAgICBl
dmVudFNlbmRlci5rZXlEb3duKCJcciIsIFtdKTsKKyAgICB9CisgICAgZnVuY3Rpb24gbG9nKG1z
ZykgeworICAgIHZhciBjb25zb2xlID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2NvbnNvbGUn
KTsKKyAgICBjb25zb2xlLmlubmVySFRNTCA9IGNvbnNvbGUuaW5uZXJIVE1MICsgbXNnICsgIjxi
cj4iOworICAgIH0KKzwvc2NyaXB0PgorPC9ib2R5PgorPC9odG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>106527</attachid>
            <date>2011-09-06 18:05:30 -0700</date>
            <delta_ts>2011-09-06 18:05:30 -0700</delta_ts>
            <desc>test</desc>
            <filename>form-submit.html</filename>
            <type>text/html</type>
            <size>700</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8Ym9keT4gDQogPGZvcm0gYWN0aW9uPSIvIiBvbnN1Ym1pdD0ibG9nKCdQQVNTJyk7
IHJldHVybiBmYWxzZTsiPiANCiBUaGlzIHRlc3RzIHRoYXQgaGl0dGluZyB0aGUgZW50ZXIga2V5
IG9uIGEgaW5wdXQgYm94IGVsZW1lbnQgd2l0aCBoaWRkZW4gc3VibWl0IGJ1dHRvbiBzdWJtaXRz
IHRoZSBmb3JtLjxicj4gDQogPGlucHV0IGlkPSJ0ZXh0Ym94MSIvPiANCiA8aW5wdXQgaWQ9InRl
eHRib3gyIi8+IA0KIDxpbnB1dCB0eXBlPSJzdWJtaXQiIHN0eWxlPSJkaXNwbGF5OiBub25lOyIg
PiANCiA8L2Zvcm0+IA0KIDxkaXYgaWQ9ImNvbnNvbGUiPjwvZGl2PiANCjxzY3JpcHQ+IA0KIHZh
ciB0ZXh0Ym94MiA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd0ZXh0Ym94MicpOyANCiB0ZXh0
Ym94Mi5mb2N1cygpOyANCiBpZiAod2luZG93LmxheW91dFRlc3RDb250cm9sbGVyKSB7IA0KIGxh
eW91dFRlc3RDb250cm9sbGVyLmR1bXBBc1RleHQoKTsgDQogZXZlbnRTZW5kZXIua2V5RG93bigi
XHIiLCBbXSk7IA0KIH0gDQogZnVuY3Rpb24gbG9nKG1zZykgeyANCiB2YXIgY29uc29sZSA9IGRv
Y3VtZW50LmdldEVsZW1lbnRCeUlkKCdjb25zb2xlJyk7IA0KIGNvbnNvbGUuaW5uZXJIVE1MID0g
Y29uc29sZS5pbm5lckhUTUwgKyBtc2cgKyAiPGJyPiI7IA0KIH0gDQo8L3NjcmlwdD4gDQo8L2Jv
ZHk+IA0KPC9odG1sPiANCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>