mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -71,8 +71,20 @@ impl<ImageUrl: ToCss, Number: ToCss> ToCss for CursorImage<ImageUrl, Number> {
|
|||
/// A generic value for `scrollbar-color` property.
|
||||
///
|
||||
/// https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color
|
||||
#[derive(Animate, Clone, ComputeSquaredDistance, Copy, Debug, MallocSizeOf, PartialEq,
|
||||
SpecifiedValueInfo, ToAnimatedValue, ToAnimatedZero, ToComputedValue, ToCss)]
|
||||
#[derive(
|
||||
Animate,
|
||||
Clone,
|
||||
ComputeSquaredDistance,
|
||||
Copy,
|
||||
Debug,
|
||||
MallocSizeOf,
|
||||
PartialEq,
|
||||
SpecifiedValueInfo,
|
||||
ToAnimatedValue,
|
||||
ToAnimatedZero,
|
||||
ToComputedValue,
|
||||
ToCss,
|
||||
)]
|
||||
pub enum ScrollbarColor<Color> {
|
||||
/// `auto`
|
||||
Auto,
|
||||
|
@ -82,7 +94,7 @@ pub enum ScrollbarColor<Color> {
|
|||
thumb: Color,
|
||||
/// Second `<color>`, for color of the scrollbar track.
|
||||
track: Color,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
impl<Color> Default for ScrollbarColor<Color> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue