[Webkit-unassigned] [Bug 25497] New: onclick handler of submit button is not triggered when pressing enter key in input field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 30 16:32:02 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25497

           Summary: onclick handler of submit button is not triggered when
                    pressing enter key in input field
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mdu at chromium.org


Steps:

1. create a form with a submit button in it like this:
<button type="submit" onclick="alert('submit')"></button>
and with at least 2 input fields in it

2. Input some text in any of the input fields and then press enter key

Issue:

Form gets submitted, but the onclick is ignored (unlike in other browsers)

Other Browsers:

IE7: OK
FF3: OK

Nightly tested: 42793

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=11113


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list