Closed
Bug 180310
Opened 22 years ago
Closed 22 years ago
Browser 'screen.width' does not dynamically update when changed externally.
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: tazphilsmith, Assigned: asa)
Details
(Whiteboard: DUPEME)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 On Win2K SP2/3, using either NS 7.0 or Mozilla 1.3a, it is necessary to close the browser and restart it to pick up changes to screen resolution. IE 5 & 6 pick up the changes. To recreate, load the following HTML code, then go to display properties and change the resolution, and either reload the page or click on the button to see the previous rather than current screen resolution. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <head> <title> Dynamic resolution change bug </title> <script> function get_res() { alert( "screen.width=" + screen.width + "\nscreen.height=" + screen.height ); } </script> </head> <body onload="get_res()"> <h1>Now change the screen resolution in Control Panel display properties.</h1> <input type="button" onclick="get_res()" value="Recheck screen resolution"> </body> </html> Reproducible: Always Steps to Reproduce: 1.with resolution = 800x600, load the page above 2.go to control panel, display properties, settings, change to 1024x768 3.reload page Actual Results: reports 800x600 resolution (probably read when browser initialized) Expected Results: report current 1024x768 resolution. Works correctly on IE 5/6
Updated•22 years ago
|
Whiteboard: DUPEME
related: bug 101103 *** This bug has been marked as a duplicate of 62395 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•