Closed
Bug 794057
Opened 13 years ago
Closed 12 years ago
window.outerWidth/Height is in device pixels rather than CSS pixels
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 803207
People
(Reporter: hsivonen, Unassigned)
References
()
Details
Steps to reproduce:
1) Load http://mpulp.mobi/labs/ppk/widthtest.html on Galaxy Nexus (I tried with Jellybean)
Actual results:
window.outerWidth is 720 even though window.innerWidth is 360.
Expected results:
Expected window.outerWidth to be 360.
In seems particularly bad to let this bug stick around, since authors might apply workarounds that break once this gets fixed.
| Reporter | ||
Comment 1•13 years ago
|
||
Sorry, wrong URL. Right URL: http://mpulp.mobi/labs/ppk/widthtest_vpdevice.html
| Reporter | ||
Comment 2•13 years ago
|
||
Hmm. This could be a feature, since Opera Mobile and Android stock behave like Actual results. Chrome behaves per my Expected results above.
Comment 3•12 years ago
|
||
This should be fixed; closing. Please reopen if you still see it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•