aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list_builder.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-01-08 15:10:02 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-01-08 15:10:02 +0530
commita0d26445c0df6361e1e8655581a09f0e0faf0818 (patch)
treed6ca36aff763977be4519e7b8f1b4cda529a3350 /components/layout/display_list_builder.rs
parentddc3b7942eea8328e9eb22d864d34fce572d5535 (diff)
parentfdb791bdd5f40d6d25c9350b39ac400b72747826 (diff)
downloadservo-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.rs4
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)
}