mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
style: Rename CaretColor to ColorOrAuto for reusing.
Bug: 1460456 Reviewed-by: heycam MozReview-Commit-ID: LD6PlNI60GC
This commit is contained in:
parent
4e6b100c7e
commit
1b236bf620
7 changed files with 19 additions and 45 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
//! Computed values for UI properties
|
||||
|
||||
use values::{Auto, Either};
|
||||
use values::computed::Number;
|
||||
use values::computed::color::Color;
|
||||
use values::computed::url::ComputedImageUrl;
|
||||
|
@ -11,8 +12,8 @@ use values::generics::ui as generics;
|
|||
|
||||
pub use values::specified::ui::MozForceBrokenImageIcon;
|
||||
|
||||
/// A computed value for the `caret-color` property.
|
||||
pub type CaretColor = generics::CaretColor<Color>;
|
||||
/// auto | <color>
|
||||
pub type ColorOrAuto = Either<Color, Auto>;
|
||||
|
||||
/// A computed value for the `cursor` property.
|
||||
pub type Cursor = generics::Cursor<CursorImage>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue