diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-03-27 06:57:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-27 06:57:32 -0700 |
commit | 9f5b17202fb87bf84230dd7db0a767c330be8c7b (patch) | |
tree | db3733530171680e88fa8c095eb5e0142de6e7fb /components/script/dom/window.rs | |
parent | b6bc49225e31b7c1e3f9cc3be660bb37afe33a95 (diff) | |
parent | feac76701f21d3515e51375ab7c33d482a02e90e (diff) | |
download | servo-9f5b17202fb87bf84230dd7db0a767c330be8c7b.tar.gz servo-9f5b17202fb87bf84230dd7db0a767c330be8c7b.zip |
Auto merge of #16146 - mrobinson:containing-block-scrolling, r=glennw
Fix scroll root of absolutely positioned elements
Absolutely positioned elements should be given the scroll root of their
containing block and not necessarily the scroll root of their parent.
This fixes several CSS tests, though others are still failing pending a
similar fix for inherited clipping rectangles.
Fixes #13530.
<!-- Please describe your changes on the following line: -->
---
<!-- 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: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- 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/16146)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/window.rs')
0 files changed, 0 insertions, 0 deletions