Closed
Bug 445905
Opened 17 years ago
Closed 17 years ago
window.innerWidth / document.documentElement.clientWidth never return less than 688
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 391358
People
(Reporter: jeffs, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
getting viewport width works fine, until <= 688 wide; never reports smaller than 688. example page at http://ariadne.iz.net/~jeffs/test/viewportWidthTest.html just for demo of this problem. Pages that gracefully change themselves to accomodate large and small displays no longer work due to this (see http://chw.rit.edu/ for example that used to work in FF 2.x).
Reproducible: Always
Steps to Reproduce:
1. go to http://ariadne.iz.net/~jeffs/test/viewportWidthTest.html
2. resize screen
3. never reports less than 688 wide
Actual Results:
never thinks it is narrower than 688
Expected Results:
should return current viewport width, even when narrower than 688
worked in FF 2.x now breaks pages that gracefully enhance based on display size
Comment 1•17 years ago
|
||
Without any add-ons I can get it to 431 on MacOSX and to zero on Linux.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•