mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Clean up some <time> properties
This commit is contained in:
parent
38a6a3bff6
commit
b42aaf28df
2 changed files with 29 additions and 53 deletions
|
@ -539,7 +539,7 @@ impl BorderStyle {
|
|||
}
|
||||
|
||||
/// A time in seconds according to CSS-VALUES § 6.2.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, PartialOrd)]
|
||||
#[derive(Clone, Copy, Debug, HasViewportPercentage, PartialEq, PartialOrd)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
pub struct Time {
|
||||
seconds: CSSFloat,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue