Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a hidden element as a reference for zoom computation
Rather than rely on the change in body position to compute the mobile zoom compensation introduce a hidden, absolutely position element whose offset can be measured. The body element can be offset due to vertical margin collapse even when the element itself is positioned at the origin. When this happens the body offset measurements become unreliable.
- Loading branch information