Clean up some <time> properties

This commit is contained in:
Anthony Ramine 2017-05-30 11:59:39 +02:00
parent 38a6a3bff6
commit b42aaf28df
2 changed files with 29 additions and 53 deletions

View file

@ -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,