[Webkit-unassigned] [Bug 8960] New: onclick handler set from popup doesn't work

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed May 17 12:57:51 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8960

           Summary: onclick handler set from popup doesn't work
           Product: WebKit
           Version: 312.x
          Platform: S60 Hardware
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: krishnamurty.podipireddy at nokia.com


Below test source has a link "Link-1". When focusing on this link should pop up
an alert dialog with a message "onFocus works!".

In Safari as well as in the S60 Web Browser, this foucus event does not work.

Steps to reproduce:
1. Open Safari or S60 Web Browser
2. Copy the test source and load the file
3. Focus on the the link "Link-1"

Expected result:
An alert dialog with a message "onFocus works!" should be displayed.

Actual result:
An alert dialog is not at all diplayed.

Test source:
<html>
<head>
        <title>link_onFocus1</title>

                <script type="text/ecmascript"> 
                         function fMain(){

                                 alert("onFocus works!");

                          }

                </script>               
</head>
<body>

        <p> 
        <form>  Focus the Link-1 below and verify that an alert message
                "onFocus works!" appears.<br/>
                <input type="text" value="none"/> <br/>

                <a href="#" onFocus="fMain()">Link-1</a>
           </form> 
        </p>

</body>
</html>


-- 
Configure bugmail: http://bugzilla.opendarwin.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