aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/client.rs
diff options
context:
space:
mode:
authorPu Xingyu <pu.stshine@gmail.com>2016-11-23 20:37:22 +0800
committerPu Xingyu <pu.stshine@gmail.com>2016-11-24 00:44:09 +0800
commit74fa801b03df32e0284bc6a326914e49ecea7e9c (patch)
treefc80d781fc9abba16c38d2771900632935889b1b /components/script/dom/client.rs
parenta2babd6db8bd8fdfa30f5fbb66b734e679960285 (diff)
downloadservo-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