Open Bug 712225 Opened 9 years ago Updated 1 year ago
When element is in fullscreen mode, window
.inner Height is bigger than window .outer Height
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
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.
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.
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
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.