diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-09 20:27:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 20:27:22 -0500 |
commit | b60006ae11485e432308cbecd310ff19119de5e3 (patch) | |
tree | 3b40676c7de6060155b4ec31a9e74892e5eff971 /components/style/stylesheet_set.rs | |
parent | fa56fec21b9abbf1589de2c939192b13aeefe8eb (diff) | |
parent | 1eee3c73eb24fa9359bfbfd519a60f3c492a4d42 (diff) | |
download | servo-b60006ae11485e432308cbecd310ff19119de5e3.tar.gz servo-b60006ae11485e432308cbecd310ff19119de5e3.zip |
Auto merge of #22156 - jdm:wr-scroll, r=pcwalton
Add a transparent hit-testing rectangle for scrollable block content.
This implements the strategy described at https://github.com/servo/webrender/issues/3261#issuecomment-435106998 and which Gecko uses as well. Adding a transparent rectangle below the content and above the background ensures that hit testing correctly associates the background area with the right scrolling node.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22073
- [x] These changes do not require tests because the affected codepath requires user input, and we don't support webdriver tests yet.
<!-- 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/22156)
<!-- Reviewable:end -->
Diffstat (limited to 'components/style/stylesheet_set.rs')
0 files changed, 0 insertions, 0 deletions