diff options
author | Pyfisch <pyfisch@gmail.com> | 2017-06-17 15:33:34 +0200 |
---|---|---|
committer | Pyfisch <pyfisch@gmail.com> | 2017-06-19 21:43:35 +0200 |
commit | 284cb8aae8ed0c01c12aa866e8e7b15b07fcb816 (patch) | |
tree | 714c6ab8cc7960b0bcc578b665f859ed6eab17fa /components/script/dom/validitystate.rs | |
parent | effd6f2f877e767352b45fc35c8066a56c1612b7 (diff) | |
download | servo-284cb8aae8ed0c01c12aa866e8e7b15b07fcb816.tar.gz servo-284cb8aae8ed0c01c12aa866e8e7b15b07fcb816.zip |
Fix several bugs related to scrolling
* scrollLeft/scrollTop returned values of parent or even document root
Only the scroll of the node itself is returned. Otherwise 0.0.
* Scrolling via script had set viewport.
This resulted in other nodes appearing scrolled.
Now scroll_offsets are updated with correct node id.
These bugs caused other odd behavior like both body and
document.documentElement being scrolled or the view for scrolled
elements jumping.
Diffstat (limited to 'components/script/dom/validitystate.rs')
0 files changed, 0 insertions, 0 deletions