Auto merge of #16144 - emilio:number-calc, r=heycam

style: Make numbers keep track of whether they were specified as calc().

Fixes #15960

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16144)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-03-27 06:13:39 -07:00 committed by GitHub
commit b6bc49225e
28 changed files with 778 additions and 319 deletions

View file

@ -496,8 +496,8 @@ impl LayoutElementHelpers for LayoutJS<Element> {
shared_lock,
PropertyDeclaration::BorderSpacing(
Box::new(border_spacing::SpecifiedValue {
horizontal: width_value.clone(),
vertical: width_value,
horizontal: width_value,
vertical: None,
}))));
}