mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
stylo: Implement -moz-prefixed radial gradients
This commit is contained in:
parent
3e42684d3c
commit
d589645ee9
5 changed files with 119 additions and 56 deletions
|
@ -1339,7 +1339,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
gradient: gradient,
|
||||
})
|
||||
}
|
||||
GradientKind::Radial(ref shape, ref center) => {
|
||||
GradientKind::Radial(ref shape, ref center, _angle) => {
|
||||
let gradient = self.convert_radial_gradient(&bounds,
|
||||
&gradient.items[..],
|
||||
shape,
|
||||
|
@ -1484,7 +1484,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
}),
|
||||
}));
|
||||
}
|
||||
GradientKind::Radial(ref shape, ref center) => {
|
||||
GradientKind::Radial(ref shape, ref center, _angle) => {
|
||||
let grad = self.convert_radial_gradient(&bounds,
|
||||
&gradient.items[..],
|
||||
shape,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue