servo/components
bors-servo dabb79c787 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 -->
2017-01-10 04:48:31 -08:00
..
atoms Fire 'input' event after 'keypress' in input and textarea elements 2016-12-27 15:57:34 +05:30
bluetooth Use tinyfiledialogs from crates.io 2017-01-05 16:59:44 -05:00
bluetooth_traits Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
canvas Auto merge of #14917 - fkautz:pr_out_renaming_default_features_to_default_features_as_per_cargo_s_manifest_format, r=emilio 2017-01-09 07:35:28 -08:00
canvas_traits Auto merge of #14917 - fkautz:pr_out_renaming_default_features_to_default_features_as_per_cargo_s_manifest_format, r=emilio 2017-01-09 07:35:28 -08:00
compositing Auto merge of #14818 - glennw:zb, r=pcwalton 2017-01-09 11:56:40 -08:00
config WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
constellation Auto merge of #14917 - fkautz:pr_out_renaming_default_features_to_default_features_as_per_cargo_s_manifest_format, r=emilio 2017-01-09 07:35:28 -08:00
debugger Removed util. 2016-12-14 18:04:37 -06:00
devtools Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
devtools_traits Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
geometry Removed util. 2016-12-14 18:04:37 -06:00
gfx Rework the way scroll roots are collected 2017-01-10 13:33:08 +01:00
gfx_traits Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
jstraceable_derive Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
layout Rework the way scroll roots are collected 2017-01-10 13:33:08 +01:00
layout_thread Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio 2017-01-09 11:51:37 -08:00
layout_traits Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
msg Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
net Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
net_traits Auto merge of #14868 - bd339:iss14068, r=jdm 2017-01-09 18:36:38 -08:00
plugins Update to rustc 1.16.0-nightly (4ecc85beb 2016-12-28) 2017-01-02 10:51:02 +01:00
profile WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
profile_traits WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
rand An in-memory RNG that shares its file descriptor. 2017-01-05 13:51:53 +00:00
range Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
remutex Removed util. 2016-12-14 18:04:37 -06:00
script Auto merge of #14928 - nox:insert, r=SimonSapin 2017-01-10 03:51:47 -08:00
script_layout_interface Bug 1325734 - Remove Servo Layout's dependency on the initial-ness of the style. r=emilio 2017-01-09 11:51:36 -08:00
script_traits WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
servo Auto merge of #14818 - glennw:zb, r=pcwalton 2017-01-09 11:56:40 -08:00
style Auto merge of #14879 - hiikezoe:animation-properties, r=heycam 2017-01-10 02:57:23 -08:00
style_traits Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
url CSSOM bits for @supports: CSSConditionRule and CSSSupportsRule, with conditionText attribute 2017-01-07 23:17:52 -08:00
webdriver_server Update url, num_cpus, heapsize, webdriver. 2017-01-06 14:12:42 -08:00
webvr WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
webvr_traits WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00