servo/components/layout
bors-servo 7a80192a82 Auto merge of #17395 - pyfisch:issue17387, r=emilio
Make background gradient cover padding

CSS-gradients should not only cover the content of an
element but also the padding (but not the border).

<!-- Please describe your changes on the following line: -->

Thanks to @atouchet for catching this.

<!-- 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 #17387 (github issue number if applicable).

<!-- Either: -->
- [x] These changes do not require tests because gradients are hard to test automatically but you can use [this gist](https://gist.github.com/pyfisch/fa263c8dfc57e5812fe8a4869ad61513) as a manual test.

<!-- 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/17395)
<!-- Reviewable:end -->
2017-06-21 06:50:09 -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 Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02:00
construct.rs layout: Stop doing unsafe transmutes between refcell references. 2017-05-25 10:31:40 +02:00
context.rs Implemented the plumbing for paint worklets. 2017-06-07 13:49:30 -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 #17395 - pyfisch:issue17387, r=emilio 2017-06-21 06:50:09 -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 Untry 2017-06-18 13:21:51 +02: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 Use generics for the filter property 2017-06-20 13:48:53 +02: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 Make BaseFlow::stacking_relative_position a vector. 2017-06-14 16:01:01 +02:00
layout_debug.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
lib.rs Remove explicit dependencies on serde_derive 2017-06-16 13:58:21 +02: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 Make BaseFlow::stacking_relative_position a vector. 2017-06-14 16:01:01 +02: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 Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
webrender_helpers.rs Update WR (z-buffer fix, border-image fill support). 2017-06-21 06:21:08 +10:00
wrapper.rs style: Inline RestyleData. 2017-06-16 03:36:18 +02:00