aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/validitystate.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2017-06-17 15:33:34 +0200
committerPyfisch <pyfisch@gmail.com>2017-06-19 21:43:35 +0200
commit284cb8aae8ed0c01c12aa866e8e7b15b07fcb816 (patch)
tree714c6ab8cc7960b0bcc578b665f859ed6eab17fa /components/script/dom/validitystate.rs
parenteffd6f2f877e767352b45fc35c8066a56c1612b7 (diff)
downloadservo-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