aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/str.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-11-09 18:17:14 -0500
committerCorey Farwell <coreyf@rwell.org>2015-11-09 20:32:56 -0500
commit73314ab10ce27e2f0860520dadeee2ce6eb88f3c (patch)
treed6e98f87d527ec06a988f73b705efc4f4a7f540d /components/util/str.rs
parentf39faaf99471f5419710e1a3d434e5d5fab0d221 (diff)
downloadservo-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.rs2
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),