Closed Bug 269321 Opened 20 years ago Closed 20 years ago

Running resizeTo twice with screen.availWidth stretches the toolbars too far

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 269320

People

(Reporter: mozilla.org, Assigned: bugzilla)

Details

User-Agent:       Opera/7.54 (X11; Linux i686; U)  [en]
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0

When using Javascript resizeTo function in conjunction with screen.availHeight 
and screen.availWidth, performing the resize twice will stretch the toolbars on 
top of the page too far. They become obscured by the edge of the window.

I tested on Mozilla v1.7.3 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) 
Gecko/20040922) and the same behavior occured.

Reproducible: Always
Steps to Reproduce:
1. Run self.resizeTo(screen.availWidth,screen.availHeight) twice.

Actual Results:  
The toolbar on top stretched too far

Expected Results:  
Not stretched it so far.

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