Bug 18815 - Focus-blur should fire on elements in the page when the window is focused/blurred
Summary: Focus-blur should fire on elements in the page when the window is focused/blu...
Status: RESOLVED DUPLICATE of bug 23763
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 12:31 PDT by Ojan Vafai
Modified: 2009-02-05 12:18 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2008-04-30 12:31:43 PDT
The focused element on the page should blur when the window blurs and should focus when the window focuses. I'm attaching a simple test case with editable elements.

Steps to reproduce:
1. Load the page
2. Click into any of the editable elements on the page
3. Click on different window/tab
4. Click back on the window of the page (e.g. on the titlebar of the window)

You should see that blur/focus fired on the element selected in step 2. Safari doesn't fire the focus/blur events here. Firefox and IE both do.
Comment 1 Ojan Vafai 2009-02-05 12:18:47 PST
Doh. Apparently I forgot to attach a testcase back in April.

*** This bug has been marked as a duplicate of 23763 ***