commit | e964eeec3a088b3f4c29b68d41f99e43a321ac52 | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Tue Oct 02 19:24:58 2012 -0700 |
committer | Andy Huang <ath@google.com> | Tue Oct 02 19:59:47 2012 -0700 |
tree | db0d032013c8f6cf8e2bdf8b5d85aa31caafadc3 | |
parent | 0a648c9b8f9d02f89e8711e97215b0e30f2cf0b6 [diff] |
save/restore conversation view scroll position Save scroll position as a fraction of total height to handle scaled and width-change cases. Restore scroll position fraction in JavaScript as soon as the document geometry is known. (This was how it was done in Gmail1, and I can't find a better non-JS way to detect this signal.) Does not restore scale upon rotate/re-render. Bug: 7246054 Bug: 7022509 Change-Id: Ibf811b31ba6d7d79d34c236f6ffe2229d626528f