Open
Bug 753536
Opened 13 years ago
Updated 3 years ago
Focusing page after focusing the Location Bar doesn't refocus any frames you previously had focused
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: mozilla, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
|
1.15 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0
Build ID: 20120423122928
Steps to reproduce:
Focused in an iframe, like using a wysiwyg editor, and then click into the navigation bar, and then click back into the page but not on the editor.
Example: http://jsfiddle.net/p4dmountney/cr4YB/
Actual results:
Firefox only fired a focus on the clicked window
Expected results:
Firefox should have fired focus on the iframe first, and then on the page. This is what it does if you click between tabs, or click between windows. This is also what Chrome, Safari, and IE do.
| Reporter | ||
Comment 1•13 years ago
|
||
Here are the repro steps from the fiddle, The setup just adds a focus listener to the iframe window and page window, the handler logs the event target.
Repro Steps;
1. Open Console
2. Click into the iframe element
3. Notice the console logs of focus on the iframe
4. Click into the FF Navigation Bar
5. Click in the body but not on the iframe
6. Notice the console logs of focus on the iframe's parent
Compare with results from the following
1. Open Console
2. Click into the iframe element
3. Notice the console logs of focus on the iframe
4. Click onto another window
5. Click in the body but not on the iframe
6. Notice the console logs of focus on both the iframe and the iframe's parent
| Reporter | ||
Comment 2•13 years ago
|
||
| Reporter | ||
Comment 3•13 years ago
|
||
Attachment #622512 -
Attachment is obsolete: true
Updated•12 years ago
|
Attachment #622513 -
Attachment mime type: text/plain → text/html
Comment 4•12 years ago
|
||
Related? bug 131784, bug 551902
Component: Untriaged → DOM: Events
Product: Firefox → Core
Comment 5•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•