From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0rc3) Gecko/20020523 BuildID: 2002052306 screen resolution is 800x600 When opening or resizing a window with less than 150px innerheight, window.innerHeight property always reports 150px. Outer dimensions (outerHeight, outerWidth) are OK. (besides innerWidth can't shrink to less than 104px) attaching reduced test case Reproducible: Always Steps to Reproduce: 1. open an empty window with "innerHeight=100,innerWidth=100" window.innerHeight is 150px (wrong) 2. resize it to (100,100) window.innerHeight reports 150px too 3. resize to (200,200) window.innerHeight is 172 (correct) Actual Results: see attached test case Expected Results: window dimensions from 100px to 150px are allowed and this property should give actual measurement.
I get wndw is undefined on the testcase. Line 7
Created attachment 85247 [details] improved test case improved reduced test case (obsoletes #85224) waiting for wndw opening and loading.
Sorry, i am an idiot. I had "open unrequested windows" unchecked.
Is there a way to check for this preference ?
Not w/o trying to open a window, but if you try to open a window and window.open() returns null, then you'll know that opening windows is not allowed in the client.
I see this on Windows as well....
Created attachment 85421 [details] varying window sizes This test is more self-explanatory. (obsoletes #85247) Change height and/or width manually to get inner/outer values. OnResize event is buggy too below 150px height. Click on 'get sizes' to refresh outerHeight.
Mass-reassigning bugs to email@example.com
Why has this bug not been fixed?
*** Bug 282468 has been marked as a duplicate of this bug. ***
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050216 Firefox/1.0+ Can anyone verify that this work on trunk?
WFM with Mozilla 1.8b build 2005021614 on WinNT4.
Marking as such, please reopen if you can reproduce with a nightly build.