diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-11-09 18:17:14 -0500 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-11-09 20:32:56 -0500 |
commit | 73314ab10ce27e2f0860520dadeee2ce6eb88f3c (patch) | |
tree | d6e98f87d527ec06a988f73b705efc4f4a7f540d /components/util/str.rs | |
parent | f39faaf99471f5419710e1a3d434e5d5fab0d221 (diff) | |
download | servo-73314ab10ce27e2f0860520dadeee2ce6eb88f3c.tar.gz servo-73314ab10ce27e2f0860520dadeee2ce6eb88f3c.zip |
Add Dimension member to AttrValue
Fixes #8417
Diffstat (limited to 'components/util/str.rs')
-rw-r--r-- | components/util/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/str.rs b/components/util/str.rs index e5be0d122f7..80e5fb04d6c 100644 --- a/components/util/str.rs +++ b/components/util/str.rs @@ -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), |