Chrome change breaks the visual viewport
Posted by: QuirksBlog,
on 11 Feb 2016 |
View original | Bookmarked: 0 time(s)
Last week I found out that as of Chrome 48 window.innerWidth/Height no longer exposes the dimensions of the visual viewport. Instead, it now exposes the dimensions of the layout viewport, and is thus a copy of document.documentElement.clientWidth/Height.I’m not happy with this change. So it’s time for me to don my ceremonial robes as Guardian of the Viewports and ask the Chrome team to revert this change and restore the visual viewport to its rightful place.There are three reasons why I think Chrome...