diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-08 15:10:02 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-08 15:10:02 +0530 |
commit | a0d26445c0df6361e1e8655581a09f0e0faf0818 (patch) | |
tree | d6ca36aff763977be4519e7b8f1b4cda529a3350 /components/layout/display_list_builder.rs | |
parent | ddc3b7942eea8328e9eb22d864d34fce572d5535 (diff) | |
parent | fdb791bdd5f40d6d25c9350b39ac400b72747826 (diff) | |
download | servo-a0d26445c0df6361e1e8655581a09f0e0faf0818.tar.gz servo-a0d26445c0df6361e1e8655581a09f0e0faf0818.zip |
Auto merge of #9171 - pcwalton:linear-gradients-background-clip, r=mbrubeck
Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work.
See the commit messages for details.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r-- | components/layout/display_list_builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs index 7cc1d3f6311..99f26266189 100644 --- a/components/layout/display_list_builder.rs +++ b/components/layout/display_list_builder.rs @@ -335,7 +335,7 @@ impl FragmentDisplayListBuilding for Fragment { Some(computed::Image::LinearGradient(ref gradient)) => { self.build_display_list_for_background_linear_gradient(display_list, level, - absolute_bounds, + &bounds, &clip, gradient, style) @@ -345,7 +345,7 @@ impl FragmentDisplayListBuilding for Fragment { display_list, layout_context, level, - absolute_bounds, + &bounds, &clip, image_url) } |