This commit is contained in:
Manish Goregaokar 2016-08-02 11:16:50 +05:30
parent eb82cc25ef
commit 1e7973263f
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98
4 changed files with 17 additions and 18 deletions

View file

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