servo/components/layout
bors-servo d81ff5704e
Auto merge of #22839 - jdm:overflow-hit-test-fix, r=pcwalton
Ensure transparent hit test region is sized and positioned correctly.

This addresses some edge cases that were missed by #22156. Specifically, in some cases the transparent region was being placed in the display list in front of the scrollable content, rather than behind it, and the size of the region did not account for parent stacking context.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22073 and fix #22216.
- [x] There are tests for these changes

<!-- 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/22839)
<!-- Reviewable:end -->
2019-02-06 18:14:20 -05:00
..
display_list Auto merge of #22839 - jdm:overflow-hit-test-fix, r=pcwalton 2019-02-06 18:14:20 -05:00
tests Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
animation.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
block.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
Cargo.toml Fix servo build and rustfmt recent changes. 2019-01-20 16:31:01 +01:00
construct.rs Remove ObjectElement 2019-01-14 16:10:27 +01:00
context.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
data.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
flex.rs Remove FlexFlowDisplayListBuilding 2019-01-14 16:10:26 +01:00
floats.rs Rustfmt recent changes. 2019-01-08 12:01:28 +01:00
flow.rs style: Fix servo build. 2019-01-08 12:01:11 +01:00
flow_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
flow_ref.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
fragment.rs Rustfmt recent changes. 2019-01-08 12:01:28 +01:00
generated_content.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
incremental.rs Remove LayoutDamageComputation 2019-01-14 16:10:26 +01:00
inline.rs Remove InlineFlowDisplayListBuilding 2019-01-14 16:10:25 +01:00
layout_debug.rs Fix deprecation warnings 2019-01-28 11:32:40 +01:00
lib.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
linked_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
list_item.rs Remove ListItemFlowDisplayListBuilding 2019-01-14 16:10:26 +01:00
model.rs Rustfmt recent changes. 2019-01-08 12:01:28 +01:00
multicol.rs Rustfmt recent changes. 2019-01-08 12:01:28 +01:00
opaque_node.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
parallel.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
persistent_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
query.rs Make a bunch of layout queries morally safer 2019-01-09 14:12:54 +01:00
sequential.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
table.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
table_caption.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
table_cell.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
table_colgroup.rs style: Fix servo build. 2019-01-08 12:01:11 +01:00
table_row.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
table_rowgroup.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
table_wrapper.rs Remove BlockFlowDisplayListBuilding 2019-01-14 10:37:41 +01:00
text.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
traversal.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
wrapper.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00