Bug 18815
Summary: | Focus-blur should fire on elements in the page when the window is focused/blurred | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ovafai> |
Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
Ojan Vafai
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ojan Vafai
Doh. Apparently I forgot to attach a testcase back in April.
*** This bug has been marked as a duplicate of 23763 ***