style: Remove LengthPercentage::was_calc.

There should not be any behavior change between specifying a percentage using %
or calc(%) per the resolution of https://github.com/w3c/csswg-drafts/issues/3482.

Differential Revision: https://phabricator.services.mozilla.com/D43747
This commit is contained in:
Emilio Cobos Álvarez 2019-09-12 08:14:44 +00:00
parent ec408e9a57
commit c78f1b62de
3 changed files with 23 additions and 42 deletions

View file

@ -301,7 +301,6 @@ impl<S: Side> ToComputedValue for PositionComponent<S> {
l,
Some(p),
length.clamping_mode,
/* was_calc = */ true,
)
},
PositionComponent::Side(_, Some(ref length)) |