servo/components/layout
bors-servo 9f5b17202f Auto merge of #16146 - mrobinson:containing-block-scrolling, r=glennw
Fix scroll root of absolutely positioned elements

Absolutely positioned elements should be given the scroll root of their
containing block and not necessarily the scroll root of their parent.
This fixes several CSS tests, though others are still failing pending a
similar fix for inherited clipping rectangles.

Fixes #13530.

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/16146)
<!-- Reviewable:end -->
2017-03-27 06:57:32 -07:00
..
animation.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
block.rs Stop splitting scroll roots 2017-03-21 16:42:31 -07:00
Cargo.toml Update parking_lot_core and smallvec 2017-03-22 14:55:49 -07:00
construct.rs Replace RwLock<StyleRule> with Locked<StyleRule> 2017-03-19 22:30:37 +01:00
context.rs Replace RwLock<StyleRule> with Locked<StyleRule> 2017-03-19 22:30:37 +01:00
data.rs Bug 1325734 - Remove Servo Layout's dependency on the initial-ness of the style. r=emilio 2017-01-09 11:51:36 -08:00
display_list_builder.rs Fix scroll root of absolutely positioned elements 2017-03-27 08:43:07 +02:00
flex.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
floats.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
flow.rs Update WR (reference frames for fixed position elements). 2017-03-03 10:33:52 +10:00
flow_list.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
flow_ref.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
fragment.rs Switch z-index to use predefined integer type 2017-03-17 23:08:03 +11:00
generated_content.rs Replace RwLock<StyleRule> with Locked<StyleRule> 2017-03-19 22:30:37 +01:00
incremental.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
inline.rs layout: Merge inline nodes based on node address, not node style. 2017-03-11 11:31:12 +01:00
layout_debug.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
lib.rs Trigger reflow on document.elementsFromPoint 2017-03-02 10:44:38 +01:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
model.rs Activate flexbox layout tracing 2016-12-28 15:31:45 +08:00
multicol.rs Switch column-count to use predefined integer type 2017-03-17 23:08:05 +11:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs s/nodes_from_point/nodes_from_point_response and change test from reftest to regular test checking only the fixed crash 2017-03-02 16:59:04 +01:00
sequential.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_caption.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_cell.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_colgroup.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_row.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
table_rowgroup.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
table_wrapper.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
text.rs Convert text-orientation to a Gecko-only property 2017-01-27 21:12:38 -08:00
traversal.rs Replace RwLock<StyleRule> with Locked<StyleRule> 2017-03-19 22:30:37 +01:00
webrender_helpers.rs style: Properly track whether <angle> or <time> values came from calc() expressions. 2017-03-27 12:42:22 +02:00
wrapper.rs Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio 2017-01-09 11:51:37 -08:00