[Webkit-unassigned] [Bug 15581] New: Event handler ambiguity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 20 15:26:50 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15581

           Summary: Event handler ambiguity
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: staikos at kde.org


This code seems to behave differently in every browser I tested, and behavior
in WebKit has been changing between versions.  What should we be doing?

<html><head><title>pressed</title>
<script type=text/javascript>
function ev_onclick()
{
        document.write("Generated from script 1");
}

function ev_onsubmit()
{
        document.write("Generated from script 2");
}
</script>

<body>
<form onsubmit=ev_onsubmit() action="" method=post><input onclick=ev_onclick()
type=submit value="Submit Query">
</form><br>
</body></html>


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