mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix tidy
This commit is contained in:
parent
eb82cc25ef
commit
1e7973263f
4 changed files with 17 additions and 18 deletions
|
@ -7,13 +7,12 @@
|
|||
//!
|
||||
//! [position]: https://drafts.csswg.org/css-backgrounds-3/#position
|
||||
|
||||
use std::fmt;
|
||||
use cssparser::{Parser, ToCss, Token};
|
||||
use std::fmt;
|
||||
use values::HasViewportPercentage;
|
||||
use values::specified::{LengthOrPercentage, Percentage};
|
||||
use values::computed::{Context, ToComputedValue};
|
||||
|
||||
use values::computed::position as computed_position;
|
||||
use values::computed::{Context, ToComputedValue};
|
||||
use values::specified::{LengthOrPercentage, Percentage};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
|
@ -152,4 +151,4 @@ impl PositionComponent {
|
|||
PositionComponent::Bottom => LengthOrPercentage::Percentage(Percentage(1.0)),
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue