mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
parent
ec408e9a57
commit
c78f1b62de
3 changed files with 23 additions and 42 deletions
|
@ -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)) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue