Archive For The “Viewports” Category

Viewports visualisation app

By |

Instead of the work I was supposed to do I spent about a day and a half on the alpha version of a viewports visualisation app that, oh irony of ironies, only works on desktop browsers because of the necessary space. It’s already been very useful to me, since figuring out how the viewports actually…

Chrome change breaks the visual viewport

By |

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…

Go Top