commit | b4aaa1da24bbd70c05694837a110a45147fa5c16 | [log] [tgz] |
---|---|---|
author | ymalik <ymalik@chromium.org> | Wed Nov 04 20:37:51 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 04 20:38:49 2015 |
tree | ec3a1703f94669559fcd65685dfbc17ac7c28fd4 | |
parent | 44402d152cd0bb788db3136ab08c3c76ec348cd1 [diff] |
Use inert-visual-viewport flag correctly. With the inert-visual-viewport flag set, window.scrollBy and window.scrollTo should only scroll the layout viewport. Found a logic error where we don't check this flag before calculating current offset. This CL also updates the visual viewport to only fire scroll event when the inert-visual-viewport flag is off. BUG=489206 Review URL: https://codereview.chromium.org/1419143007 Cr-Commit-Position: refs/heads/master@{#357887}