Closed
Bug 454592
Opened 16 years ago
Closed 2 years ago
innerWidth cannot be set under a certain minimum for certain themes
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: mantasam, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 I have a Flash application that fills the entire browser window. Some javascript reduces in a certain event the browser window to 275 pixels wide (using window.innerWidth = 275). With the default theme, this works perfectly. However, with the Noia 2.0 Extreme theme, there is a problem. The window resizes correctly, but the innerWidth is not correctly set. The innerWidth seems to be set to a value that corresponds to the minimum chrome size, in my case 375. As a consequence, the Flash app is sized to 395 but only part is shown, without browser scrollbars. This problem does not occur if run in a window that was popped up with parameters "toolbar=No,location=No,status=No,resizable=Yes,fullscreen=Yes", probably because there the chrome is narrower. It seems that the theme is able to impose a minimum width for its chrome but the browser only applies it half-heartedly: the window.innerWidth property is set to this minimum, but the window can be smaller. A solution for this problem would be to fix the calculation of innerWidth. Reproducible: Always Steps to Reproduce: 1. Create an HTML file with the following contents: <button onclick="alert(window.innerWidth);">Width</button> 2. Install the default theme. 3. Open this HTML file in Firefox and reduce the window width to about 200px. 4. Push the Width button 5. Install Noia 2.0 extreme theme 6. Repeat steps 3 and 4 Actual Results: With the default theme, the alert will show the correct innerWidth of about 200 pixels. With the Noia 2.0 Extreme, the alert will show an innerWidth of about 395, while the window is really 200 and there are no scrollbars Expected Results: In both cases the innerWidth should be about 200. This bug breaks positioning and sizing of browser windows and internal content.
Comment 1•16 years ago
|
||
I can reproduce the problem on Windows Vista. Works: 2007112321 Fails: 2007112322 Regression window: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2007-11-23+20%3A00&maxdate=2007-11-23+23%3A00 Seems to be caused by Bug 398020
There is no Noia theme available for latest FF. Even this was discontinued https://addons.mozilla.org/en-us/firefox/addon/noia-fox/ Is there some way we can reproduce this today?
Comment 3•2 years ago
|
||
Marking this as Resolved > Incomplete since the reporter didn't reply anymore, the Noia theme is no longer available and it might not be relevant anymore. Feel free to re-open if the issue is still reproducible on your end in the latest FF versions.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•