Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


In iOS Mobile Safari with debug console bar on: window.getSize().y != window.innerHeight #1079

RiZKiT opened this Issue · 0 comments

1 participant


Normally window.getSize().y seems to give the same results as window.innerHeight, in Firefox, IE, Chrome and Mobile Safari.

But if you activate the debug console in iOS Mobile Safari, the windows height is calculated wrong by 48 pixel (I expect it's the size of the debug console bar). And thats wrong, because the debug console is only visible at the top of the page.
Looks like a Mobile Safari Bug!?

It's easily reproducable, when you show both values in an alert().

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.