mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement parsing/serialization for caret-color
This commit is contained in:
parent
d8a8e3e42e
commit
a2074f2653
5 changed files with 57 additions and 2 deletions
|
@ -363,3 +363,6 @@ impl ClipRectOrAuto {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <color> | auto
|
||||
pub type ColorOrAuto = Either<CSSColor, Auto>;
|
||||
|
|
|
@ -998,3 +998,6 @@ impl Parse for ClipRect {
|
|||
|
||||
/// rect(...) | auto
|
||||
pub type ClipRectOrAuto = Either<ClipRect, Auto>;
|
||||
|
||||
/// <color> | auto
|
||||
pub type ColorOrAuto = Either<CSSColor, Auto>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue