[Webkit-unassigned] [Bug 17978] New: Contextmenu event blocks mouseover and mouseout events.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 20 20:26:21 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=17978
Summary: Contextmenu event blocks mouseover and mouseout events.
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: megus at mac.com
When a contextmenu event is triggered, other elements on the page stops
receiving/acting on mouseover and mouseout events. If eg. a custom designed
popup menu is used were highlighting of menu options and opening of submenus
are triggered by mouseover events the menu fails due to this bug.
This testcase worked as expected in Safari 3.0.
Text case:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test Case</title>
<style type="text/css">
div {
padding: 10px;
margin: 10px;
border: 1px #000 solid;
background: #ffe;
font: normal 11px verdana;
}
</style>
</head>
<body onclick="">
<div
onclick="this.appendChild(document.createTextNode('click, '))"
onmouseover="this.appendChild(document.createTextNode('mouseover, '))"
onmouseout="this.appendChild(document.createTextNode('mouseout,
'))">
This div handles click, mouseover and mouseout
events.<br /><br />
However, in Safari 3.1, after a contextmenu event has
been triggered the div stops acting on mouseover and mouseout events until a
click event is triggered. In Safari 3.0 the events would continue to
register.<br /><br />
If this div was a popup menu displayed by a contextmenu
click with options highlighted and submenus displayed due to mouseover events
they would fail due to this bug.
<br /><br />Received events:
</div>
<div oncontextmenu="return false">Right click this div to trigger a
contextmenu event.</div>
</body>
--
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