servo/components/layout
bors-servo 14d5e4cc55 Auto merge of #17712 - mrobinson:overflow-scroll-clip, r=emilio
Fix the size and position of overflow:scroll clip

The clip for overflow:scroll clip was not including the space for
padding, which could lead to some content being clipped when it
shouldn't. This changes fixes that issue.

A test is skipped because this fix also stops hiding a failure due to
mispositioned text.

Fixes #16576.

<!-- 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
- [x] These changes fix #16576 (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/17712)
<!-- Reviewable:end -->
2017-07-13 11:52:06 -07:00
..
animation.rs style: Avoid some cfg checks in context.rs 2017-05-29 23:24:06 +02:00
block.rs Make computed types hold Percentage instead of bare CSSFloat 2017-06-15 16:59:03 +02:00
Cargo.toml Revert "Auto merge of #17701 - bholley:reuse_allocations, r=emilio" 2017-07-13 09:58:08 +02:00
construct.rs layout: Stop doing unsafe transmutes between refcell references. 2017-05-25 10:31:40 +02:00
context.rs Implemented paint worklet properties. 2017-07-11 17:28:56 -05:00
data.rs layout: Stop doing unsafe transmutes between refcell references. 2017-05-25 10:31:40 +02:00
display_list_builder.rs Auto merge of #17712 - mrobinson:overflow-scroll-clip, r=emilio 2017-07-13 11:52:06 -07:00
flex.rs Rename LengthOrPercentageOrAutoOrContent to FlexBasis 2017-06-17 13:46:35 +02:00
floats.rs Untry 2017-06-18 13:21:51 +02:00
flow.rs Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
flow_list.rs Untry 2017-06-18 13:21:51 +02:00
flow_ref.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
fragment.rs layout: Clean up inline_metrics_of_block a little. 2017-07-05 11:13:09 -07:00
generated_content.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
incremental.rs Force reflow in the sequential fallback of block format context 2017-04-23 08:32:25 +08:00
inline.rs layout: Stop in-order on children of InlineFlow 2017-07-13 23:50:01 +08:00
layout_debug.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
lib.rs Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
model.rs Make computed types hold Percentage instead of bare CSSFloat 2017-06-15 16:59:03 +02:00
multicol.rs Make BaseFlow::stacking_relative_position a vector. 2017-06-14 16:01:01 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Reduce allocations during parallel layout 2017-06-06 12:34:36 -07:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
sequential.rs Make BaseFlow::stacking_relative_position a vector. 2017-06-14 16:01:01 +02:00
table.rs Make computed types hold Percentage instead of bare CSSFloat 2017-06-15 16:59:03 +02:00
table_caption.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
table_cell.rs Add separate computed Color value. 2017-06-08 12:59:26 +10:00
table_colgroup.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
table_row.rs Make computed types hold Percentage instead of bare CSSFloat 2017-06-15 16:59:03 +02:00
table_rowgroup.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
table_wrapper.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
text.rs Use BorderSideWidth for outline-width 2017-06-02 10:53:27 +02:00
traversal.rs Rip out the generic abstractions around ThreadLocalStyleContext. 2017-07-05 16:37:17 -07:00
webrender_helpers.rs Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
wrapper.rs style: Inline RestyleData. 2017-06-16 03:36:18 +02:00