Viewports research, part umpteen
Posted by: QuirksBlog,
on 02 Nov 2016 |
View original | Bookmarked: 0 time(s)
Three weeks ago I redid my mobile viewports tests for the umpteenth time, and today I give you my overview. There is some progress to report, but also a lot of changes.Highlights: screen.width/height now gives the dimensions of the ideal layout viewport in nearly all mobile browsers. getBoundingClientRect() is relative to the visual viewport in most browsers, but relative to the layout viewport in Chromium 50+ and Edge. Touch/Click.clientX/Y has the same problem: it is relative to the visual viewport...