servo/components/layout
bors-servo 81dfa6a96b Auto merge of #13417 - mrobinson:simplify-stacking-context-collection, r=glennw
Simplify stacking context collection

<!-- 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 _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Simplify the way that stacking contexts are collected. Instead of
passing the StackingContextId down the tree, pass the parent
StackingContext itself. This will allow future patches to get more
information about the parent stacking context (such as location).

Also remove the return value of collect_stacking_contexts, which was
unused.

<!-- 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/13417)
<!-- Reviewable:end -->
2016-09-29 09:01:33 -05:00
..
animation.rs Make RestyleDamage::compute take no optional argument, delegate the handling to the caller. 2016-08-10 18:26:24 -07:00
block.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
Cargo.toml Update cssparser 2016-09-07 14:13:56 +08:00
construct.rs Style input-text pseudo with user-agent CSS 2016-09-21 21:21:32 -04:00
context.rs Move image fetching methods to SharedLayoutContext. 2016-08-23 16:13:23 +02:00
data.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
display_list_builder.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
flex.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Auto merge of #13417 - mrobinson:simplify-stacking-context-collection, r=glennw 2016-09-29 09:01:33 -05:00
flow_list.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
flow_ref.rs Correct the signature of flow_ref::deref_mut. 2016-06-06 15:14:23 +02:00
fragment.rs Add support for background-repeat: space and round 2016-09-22 13:20:08 +02:00
generated_content.rs Reorder use statements 2016-09-09 04:55:19 +02:00
incremental.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
inline.rs Auto merge of #13417 - mrobinson:simplify-stacking-context-collection, r=glennw 2016-09-29 09:01:33 -05:00
layout_debug.rs Create separate layout trace file for each reflow 2016-09-09 17:38:19 +08:00
lib.rs #13262 Add a unit test verifying that SpecificFragmentInfo size 2016-09-25 10:35:39 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
model.rs Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
multicol.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Reorder use statements 2016-09-09 04:55:19 +02:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Pass &mut Flow to query functions. 2016-08-25 09:40:20 +02:00
sequential.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table_caption.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table_cell.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table_colgroup.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table_row.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table_rowgroup.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
table_wrapper.rs Simplify stacking context collection 2016-09-27 10:48:44 +02:00
text.rs Reorder use statements 2016-09-09 04:55:19 +02:00
traversal.rs Reorder use statements 2016-09-09 04:55:19 +02:00
webrender_helpers.rs Add support for background-repeat: space and round 2016-09-22 13:20:08 +02:00
wrapper.rs Reorder use statements 2016-09-09 04:55:19 +02:00