servo/components/style/values
bors-servo 1783e41f34
Auto merge of #20191 - jfkthame:font-shorthand-resets-variation-settings, r=emilio
style: Make 'font' shorthand reset 'font-variation-settings' property

As required by the spec: https://drafts.csswg.org/css-fonts-4/#font-prop

See https://bugzilla.mozilla.org/show_bug.cgi?id=1435983

Basically, make font-variation-settings work in the same way as font-feature-settings
already does.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

- [ ] There are tests for these changes OR
- [X] These changes do not require tests because font-variation-settings isn't supported in servo; it is implemented here for gecko/stylo, and will be tested by mozilla-central mochitests.

<!-- 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/20191)
<!-- Reviewable:end -->
2018-03-04 11:50:56 -05:00
..
animated Never store a squared root in SquaredDistance 2018-03-04 02:10:44 +01:00
computed Unconditionally derive ToComputedValue as Clone for non-generics 2018-03-03 18:41:50 +01:00
generics Replace ColorOrAuto by CaretColor 2018-02-28 10:25:59 +01:00
specified style: Make 'font' shorthand reset the 'font-variation-settings' property. 2018-03-04 12:26:32 +00:00
distance.rs Never store a squared root in SquaredDistance 2018-03-04 02:10:44 +01:00
mod.rs Change AnimatedValue for NonNegativeNumber to CSSFloat 2018-02-13 16:12:30 +01:00