Open Bug 419061 Opened 16 years ago Updated 2 years ago

Focus event for page not always called (not called when focus is already in chrome)

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase
See testcase, the focus event is normally called when the focus is already in the window, but when the focus is in the url bar or the search bar for example, the focus event isn't called.
IE7 always calls the focus event for the page (and shifts focus to the page), which makes more sense to me.

I guess this is sort of opposite of what bug 125282 wants.
And pressing enter, or the 'Go'-button in the url bar does move the focus to the page.
"What action set focus to the page" depends on each product. I think that we should list up the actions which don't work as expected. And we should change the each actions.

E.g., when the reload button pressed. I think that reload button should set focus to the page because it is an operation for the active tab, so, there is no reason that focus should stay in chrome.
I mean that if you think that this is a bug of Core, this should be marked as INVA.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: