style: Remove mozmm CSS unit.

Bug: 1416564
Reviewed-by: heycam
MozReview-Commit-ID: AU4CUq09tw4
This commit is contained in:
Emilio Cobos Álvarez 2017-11-12 15:56:12 +01:00
parent c261ff38c7
commit eac0d104a3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 2 additions and 94 deletions

View file

@ -77,8 +77,6 @@ pub struct CalcLengthOrPercentage {
pub ch: Option<CSSFloat>,
pub rem: Option<CSSFloat>,
pub percentage: Option<computed::Percentage>,
#[cfg(feature = "gecko")]
pub mozmm: Option<CSSFloat>,
}
impl ToCss for CalcLengthOrPercentage {
@ -142,14 +140,7 @@ impl ToCss for CalcLengthOrPercentage {
serialize!(ch);
serialize_abs!(Cm);
serialize!(em, ex);
serialize_abs!(In);
#[cfg(feature = "gecko")]
{
serialize!(mozmm);
}
serialize_abs!(Mm, Pc, Pt, Px, Q);
serialize_abs!(In, Mm, Pc, Pt, Px, Q);
serialize!(rem, vh, vmax, vmin, vw);
dest.write_str(")")
@ -398,16 +389,6 @@ impl CalcNode {
}
}
NoCalcLength::ServoCharacterWidth(..) => unreachable!(),
#[cfg(feature = "gecko")]
NoCalcLength::Physical(physical) => {
use values::specified::length::PhysicalLength;
match physical {
PhysicalLength::Mozmm(mozmm) => {
ret.mozmm = Some(ret.mozmm.unwrap_or(0.) + mozmm * factor);
}
}
}
}
}
CalcNode::Sub(ref a, ref b) => {