diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-01-10 04:48:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 04:48:31 -0800 |
commit | dabb79c7878fce31b8b979dd5fcfdfb8713a9d80 (patch) | |
tree | 0ad536fc842868eb80081dde7513c151fe037ae2 /components/script_traits/script_msg.rs | |
parent | f54dd0112bd9e51b21e9a5ee38bb2cfc0326e071 (diff) | |
parent | 29876d2703336fc74a3857854839badc1bb58ceb (diff) | |
download | servo-dabb79c7878fce31b8b979dd5fcfdfb8713a9d80.tar.gz servo-dabb79c7878fce31b8b979dd5fcfdfb8713a9d80.zip |
Auto merge of #14603 - mrobinson:collect-scoll-roots, r=emilio
Rework the way scroll roots are collected
<!-- 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: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Collect scroll roots during the collect_stacking_context phase instead
of during display list construction. This will be useful in order to
collect containing block scroll roots as well as to give scroll roots
sequential ids in the future. This change also pulls stacking context
children out of the StackingContext struct itself, which should reduce
very slightly the memory used by the finished display list. This also
simplifies the DisplayListBuilder because it no longer has to maintain
a stack of ScrollRootIds and StackingContextIds and can instead just
rely on the program stack.
<!-- 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/14603)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script_traits/script_msg.rs')
0 files changed, 0 insertions, 0 deletions