Closed
Bug 249276
Opened 20 years ago
Closed 20 years ago
screen.width doesn't change when resolution is changed
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: matt, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 I was writting a JavaScript that reported the user's screen width using the screen.width commnad when I found out that if the browser is open and you change the computer screen resolution Firefox will report the orignal screen resolution at the time it was open. If you close it and open it back up it will then report the correct resolution. Reproducible: Always Steps to Reproduce: 1. Open Firefox 2. Run a JavaScript that alerts screen.width 3. Change Screen Resolution with Firefox still open 4. Run Javascript again Actual Results: The alert box will report the screen resolution that the computer was running when firefox was first opened. Expected Results: It should have reported the current resolution.
Updated•20 years ago
|
Summary: screen.width not reporting correct size. → screen.width doesn't change when resolution is changed
*** This bug has been marked as a duplicate of 62395 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•