When element is in fullscreen mode, window.innerHeight is bigger than window.outerHeight
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: diogogmt, Unassigned, NeedInfo)
References
Details
Attachments
(1 file)
887 bytes,
text/html
|
Details |
Steps to reproduce: 1. Set element into fullscreen mode by calling element.mozRequestFullScreen() 2. Check window.innerHeight and window.outerHeight Expected results: window.innerHeight should have the same value as window.outerHeight since the element is in fullscreen mode, or innerHeight should be less than outerHeight, but not bigger. Actual Results: window.innerHeight is bigger than window.outerHeight by 6px *Notes: -> Here is a screen shot of the inner/outerHeight prior requesting fullscreen on the element: http://diogogmt.files.wordpress.com/2011/12/ff_windowheightinnerouter.png -> Here is a screen shot of the inner/outerHeight when the element is in fullscreen mode: http://diogogmt.files.wordpress.com/2011/12/ff_windowheightinnerouter_fullscreen.png
Comment 1•13 years ago
|
||
Diogo -> Thanks for the report. Can you please provide a public URL or reduced test case that exhibits this issue. Note any changes that have to be made from a fresh profile.
Reporter | ||
Comment 2•12 years ago
|
||
I'm using this example to get the difference between the inner and outer height: http://diogogmt.github.com/mozilla-central/windowInnerOuterHeight.html Apparently this bug is being caused by Bug 633602, since I only get the difference between the heights when applying the mouselock patch.
Comment 3•12 years ago
|
||
Diogo, on OS X I see: Unlocked/Not-FullScreen: ------------------------ window.outerWidth: 1215 window.outerHeight: 1115 window.innerWidth: 1215 window.innerHeight: 1028 Locked/FullScreen: ------------------ window.outerWidth: 2560 window.outerHeight: 1440 window.innerWidth: 2560 window.innerHeight: 1440
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 4•3 years ago
|
||
This is still happening on android, somehow.
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 6•3 years ago
|
||
Moving all open Core::Widget: Android bugs to GeckoView::General (then the triage owner of GeckoView will decide which ones are valuable and which ones should be closed).
Comment 7•2 years ago
|
||
Not applicable to GeckoView
Updated•2 years ago
|
Comment 9•2 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #8)
Why not? I reproduced comment 5 on Fenix.
sorry we thought if it was a problem it would have been reported somewhere else :) but I guess this bug was the place. Emilio do you have a sense what could be going on here?
Updated•2 years ago
|
Comment 10•2 years ago
|
||
It might be floating round issue such as bug 1657380.
Comment 11•2 years ago
|
||
I can reproduce this on Windows 10 + Surface Pro 4 when display's scale setting is 275%.
Comment 12•2 years ago
|
||
This doesn't depends on Android since I can reproduce this on Windows. I guess that this is same issue as bug 1657380 (mAppUnitsPerDevPixelAtUnitFullZoom
isn't float
), so I move this to "DOM: Core & HTML" again.
Updated•2 years ago
|
Description
•