mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
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 -->
This commit is contained in:
commit
a0d26445c0
3 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue