On 2/21/12 7:35 PM, Ian Hickson wrote:
On Sun, 25 Sep 2011, Boris Zbarsky wrote:

Not doing that last is actually a requirement for web compat, last I
looked at this.

Do you have any links to pages that break if a form with more than one
text field supports implicit submission?

Not offhand. Again, it's been a while since I looked into this, but at the time this was being implemented in Gecko we carefully made the two-input-no-submit case not submit. I thought that was for good reason, but reskimming the bugs now I can't find the reason. It's been over 10 years, so the details are a bit hazy in my mind. :(

For those who want to mess with the spec for this behavior,
https://bugzilla.mozilla.org/show_bug.cgi?id=99920 and
https://bugzilla.mozilla.org/show_bug.cgi?id=109463 and
https://bugzilla.mozilla.org/show_bug.cgi?id=147850 are necessary (but
probably not sufficient) reading.

I read those bugs, but can't see the reason why submitting a form with two
text fields and no buttons would break the Web. Can you elaborate?

https://bugzilla.mozilla.org/show_bug.cgi?id=22526 is the other bug that needs reading, but it doesn't help either. I didn't look at the various (and somewhat numerous) duplicates of the various bugs involved...

I suppose we could try submitting the "more than one text input, no submit button" case and see what happens...

-Boris

Reply via email to