[Webkit-unassigned] [Bug 16374] New: onclick event is fired for input=button
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 9 19:58:21 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16374
Summary: onclick event is fired for input=button
Product: WebKit
Version: 523.x (Safari 3)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pat at patneill.com
When the button is highlighted, IE 6 and FireFox 2.0.0.11 (Windows
and Mac) both fire the onclick event when the Enter/Return key is
pressed. Safari 3 (neither Windows or Mac) doesn't.
I have a simple page
<html>
<head>
<script type="text/javascript">
function say_hi()
{
alert('Hi.');
}
</script>
</head>
<body>
<input type="button" value="Say Hi" onclick="say_hi();">
</body>
</html>
When the button is highlighted, IE 6 and FireFox 2.0.0.11 (Windows
and Mac) both fire the onclick event when the Enter/Return key is
pressed. Safari 3 (neither Windows or Mac) doesn't. Is there some
special way of getting that to work in Safari without resorting to
trapping the key in an onkeypress event?
--
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