Add Dimension member to AttrValue

Fixes #8417
This commit is contained in:
Corey Farwell 2015-11-09 18:17:14 -05:00
parent f39faaf994
commit 73314ab10c
3 changed files with 37 additions and 3 deletions

View file

@ -173,7 +173,7 @@ pub fn parse_unsigned_integer<T: Iterator<Item=char>>(input: T) -> Option<u32> {
})
}
#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, PartialEq)]
pub enum LengthOrPercentageOrAuto {
Auto,
Percentage(f32),