Closed Bug 196922 Opened 22 years ago Closed 19 years ago

frame.focus() should not bring window to top

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 300453

People

(Reporter: jruderman, Assigned: saari)

References

()

Details

In Google Groups's framed-thread view, the large frame calls window.focus() to allow users to scroll using the keyboard. (Google does this because few browsers automatically focus the largest frame (bug 86931)). This causes the window to jump to the front when the frame loads, which isn't what Google is trying to do. Steps to reproduce: 1. Make sure "Allow scripts to... raise or lower windows" is checked (because of bug 118993). 2. Start loading http://groups.google.com/groups?threadm=200210092201.g99M1Vm16599%40smtp.oreilly.com 3. Quickly switch to another browser window. Result: the window loading the thread jumps to the front. Expected: focus within the window loading the thread should move to the frame (so after switching to the window, scrolling with the keyboard should work) but the window should not jump to the front.
Blocks: 118993
No longer blocks: 118993
*** This bug has been marked as a duplicate of 300453 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.