diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-07 18:49:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 18:49:53 -0600 |
commit | ef5ca14283f1f47654093b5c196ab813efb53ea8 (patch) | |
tree | d0f9dcfea9396ec05581c93188b934a7fe9c26b2 /python/tidy/servo_tidy/tidy.py | |
parent | d8ac5100e81ccbad4b5131688b96bedb9b5e279d (diff) | |
parent | dea0c7ca72d5e4356ef43fa5bdebf974184f8c71 (diff) | |
download | servo-ef5ca14283f1f47654093b5c196ab813efb53ea8.tar.gz servo-ef5ca14283f1f47654093b5c196ab813efb53ea8.zip |
Auto merge of #14084 - mrobinson:scroll_root_2, r=glennw
Don't promote all scrollable regions to stacking contexts
<!-- Please describe your changes on the following line: -->
Don't promote all scrollable regions to stacking contexts
Instead annotate all flows with their owning ScrollRoots. When
processing the display list items into a flattened display list, we add
PushScrollRoot and PopScrollRoot to signal when scrolling regions start
and end. It is possible for content from different scrolling regions to
intersect and when they do, the stack of scrolling regions is
duplicated. When these duplicated scrolling regions stacks reach
WebRender, it will scroll them in tandem.
The PushScrollRoot and PopScrollRoot items are currently represented as
StackingContexts in WebRender, but eventually these will be replaced
with special WebRender display items.
---
<!-- 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
- [x] These changes fix #13529 and #13298. (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] 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/14084)
<!-- Reviewable:end -->
Diffstat (limited to 'python/tidy/servo_tidy/tidy.py')
0 files changed, 0 insertions, 0 deletions