Safari window.innerWidth/Height changes

Hi; a slight problem with html5 in Safari on iOS9 Beta 5. I've got a div being webkit scaled to fit the available screen space, but doing this increases the window.innerWidth / window.innerHeight.

On an iPod we end up with an innerWidth of something like 2200 but the body width is still only 568px. The upshot is the contents of the div are scaled to fit, but the background cover image only takes a fraction of the space as the body is now a tiny section of the screen.


This stuff works fine on ios from v5 up to 8 and Android but this one browser seems to redefine the window.innerWidth :/ Halp.

Safari window.innerWidth/Height changes
 
 
Q