diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-23 21:51:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 21:51:20 -0800 |
commit | 61a225bab0d82dd9a4e3b1cec910e78a02cf875a (patch) | |
tree | 931772182c38b116b4898cc05464fb6b193c5884 /components/script/dom/bluetoothuuid.rs | |
parent | c8e39dcdf6fbdc36bed42d3f0d46ad78133d83cf (diff) | |
parent | 74fa801b03df32e0284bc6a326914e49ecea7e9c (diff) | |
download | servo-61a225bab0d82dd9a4e3b1cec910e78a02cf875a.tar.gz servo-61a225bab0d82dd9a4e3b1cec910e78a02cf875a.zip |
Auto merge of #14341 - stshine:where-is-the-top, r=mrobinson,emilio
script: Fix the scroll to top behavior
<!-- Please describe your changes on the following line: -->
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".
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14341)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bluetoothuuid.rs')
0 files changed, 0 insertions, 0 deletions