mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Merge CSSColor into Color.
This commit is contained in:
parent
bf77f81ed6
commit
7568a19688
25 changed files with 181 additions and 264 deletions
|
@ -23,7 +23,7 @@ use super::generics::grid::TrackList as GenericTrackList;
|
|||
use super::specified;
|
||||
|
||||
pub use app_units::Au;
|
||||
pub use cssparser::Color as CSSColor;
|
||||
pub use cssparser::Color;
|
||||
pub use properties::animated_properties::TransitionProperty;
|
||||
pub use self::background::BackgroundSize;
|
||||
pub use self::border::{BorderImageSlice, BorderImageWidth, BorderImageSideWidth};
|
||||
|
@ -402,7 +402,7 @@ pub struct Shadow {
|
|||
pub offset_y: Au,
|
||||
pub blur_radius: Au,
|
||||
pub spread_radius: Au,
|
||||
pub color: CSSColor,
|
||||
pub color: Color,
|
||||
pub inset: bool,
|
||||
}
|
||||
|
||||
|
@ -584,4 +584,4 @@ impl ClipRectOrAuto {
|
|||
}
|
||||
|
||||
/// <color> | auto
|
||||
pub type ColorOrAuto = Either<CSSColor, Auto>;
|
||||
pub type ColorOrAuto = Either<Color, Auto>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue