mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Use rust types for gradient stops.
This doesn't clean up all that much, yet, but it's a step in the right direction. Differential Revision: https://phabricator.services.mozilla.com/D29168
This commit is contained in:
parent
e40500622e
commit
8123007717
4 changed files with 52 additions and 63 deletions
|
@ -55,7 +55,7 @@ pub enum LineDirection {
|
|||
pub type EndingShape = generic::EndingShape<Length, LengthPercentage>;
|
||||
|
||||
/// A computed gradient item.
|
||||
pub type GradientItem = generic::GradientItem<Color, LengthPercentage>;
|
||||
pub type GradientItem = generic::GenericGradientItem<Color, LengthPercentage>;
|
||||
|
||||
/// A computed color stop.
|
||||
pub type ColorStop = generic::ColorStop<Color, LengthPercentage>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue