[Webkit-unassigned] [Bug 18675] New: blur/focus events on body aren't fired when the focus moves between tabs in the same window
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 21 23:53:17 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18675
Summary: blur/focus events on body aren't fired when the focus
moves between tabs in the same window
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kenn.ejima at gmail.com
Here's the screecast:
http://screencast.com/t/UtSsSCtdX
As you see, if you activate another window, onBlur event gets called, but if
you activate another tab in the same window, onBlur event isn't called.
Firefox works perfectly in that sense. You can confirm it in the screencast:
http://screencast.com/t/xTkKUZhI1Xn
The following HTML is the test code used here.
<html>
<head>
<title>test</title>
<script type="text/javascript">
function onBodyFocus() {
document.title = 'onBodyFocus';
}
function onBodyBlur() {
document.title = 'onBodyBlur';
}
</script>
</head>
<body onBlur="onBodyBlur()" onFocus="onBodyFocus()">
</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