diff options
author | Pu Xingyu <pu.stshine@gmail.com> | 2016-11-23 20:37:22 +0800 |
---|---|---|
committer | Pu Xingyu <pu.stshine@gmail.com> | 2016-11-24 00:44:09 +0800 |
commit | 74fa801b03df32e0284bc6a326914e49ecea7e9c (patch) | |
tree | fc80d781fc9abba16c38d2771900632935889b1b /components/script/dom/client.rs | |
parent | a2babd6db8bd8fdfa30f5fbb66b734e679960285 (diff) | |
download | servo-74fa801b03df32e0284bc6a326914e49ecea7e9c.tar.gz servo-74fa801b03df32e0284bc6a326914e49ecea7e9c.zip |
script: Fix the scroll to top behavior
When finding the indicated fragment, do not use the document element to indicate
the top of the Document, and when scrolling to the frament and we do not find a
element, scrolling the top if the fragment is empty or equal to "top".
Diffstat (limited to 'components/script/dom/client.rs')
0 files changed, 0 insertions, 0 deletions