Closed Bug 335096 Opened 18 years ago Closed 18 years ago

open first new tab doesn't fire onresize in the window which loses focus

Categories

(Firefox :: Tabbed Browser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 280777

People

(Reporter: axel, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8a6) Gecko/20050111

While having set hide tabbar on single tab to true opening the second tab
resizes the innerHeigth of the first then tabbed window but there is no onresize
event fired. Manually resizing the window fires to the first window on tab
switchback only if the resizing makes the window bigger?!
Under 45244 it was reported that the unfocused window doesn't receive the onresize
event at all - this is only true for me if resizeing makes the window smaller -
if it becomes bigger the event is fired on switch back to the first tab.
Same on firefox

Reproducible: Always

Steps to Reproduce:
1.Set hide tabbar on single tab
2.load page which reacts to onresize
3.open new tab

Actual Results:  
the onresize event is not fired to the first window
so relayout is not possible

Expected Results:  
The onresize event should be send to the first tab at least on switch back to it
This is a dupe. If you could perhaps provide a testcase (minimal page making use of onresize) for the bug of which this is a dupe, it would be appreciated.

*** This bug has been marked as a duplicate of 280777 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.